Hello toolchain@,

When building a recent (r275944) LLDB on stable/11, I've encountered build failures in tools/lldb-mi (missing symbol llvm_regexec, need to link against LLVMSupport). This problem doesn't occur on (at least) OS X, so perhaps the LLVM build bots don't see it. It looks like the fix is pretty simple:

```diff
--- a/tools/lldb-mi/CMakeLists.txt
+++ b/tools/lldb-mi/CMakeLists.txt
@@ -89,6 +89,10 @@ if ( NOT CMAKE_SYSTEM_NAME MATCHES "Windows" )
   target_link_libraries(lldb-mi pthread)
 endif ()

+if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
+  set(LLVM_LINK_COMPONENTS support)
+endif ()
+
 llvm_config(lldb-mi ${LLVM_LINK_COMPONENTS})

 set_target_properties(lldb-mi PROPERTIES VERSION ${LLDB_VERSION})
```

Is this problem the result of some misunderstanding on my part, or is it a valid issue that I should take upstream (together with the above patch)?


Jon
--
Jonathan Anderson
[email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to