[lldb-dev] Additional minor FreeBSD fixes
emaste at freebsd.org
Tue Jun 4 07:09:50 PDT 2013
On 3 June 2013 19:24, Ed Maste <emaste at freebsd.org> wrote:
> These are the final two changes I needed to get liblldb built on FreeBSD.
And one change to get lldb to link. FreeBSD's libc doesn't have
backtrace() et al., but it's available in libexecinfo (in the FreeBSD
ports tree in devel/libexecinfo).
At this point (svn r183221 and the two changes in this thread) 37 out
of 253 tests pass. In almost all cases the failures are due to the
test Makefiles requiring GNU make, which is installed as 'gmake' on
FreeBSD. Perhaps I'll add a getMake() function to builder_base.py to
detect the make spelling to use.
--- CMakeLists.txt (revision 183221)
+++ CMakeLists.txt (working copy)
@@ -246,6 +246,10 @@
+if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ list(APPEND system_libs execinfo)
More information about the lldb-dev