[lldb-dev] Heads-up: FreeBSD LLDB CMake build broken by relative rpath change

Ed Maste emaste at freebsd.org
Wed Feb 26 11:45:51 PST 2014


LLVM r201936 restores the use of a relative rpath but this breaks LLDB
on FreeBSD.  For now I've disabled CMAKE_BUILD_WITH_INSTALL_RPATH
locally until the fix can be found, in the top-level LLVM
CMakeLists.txt:

if(NOT ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD )
  set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
endif()

It seems probable that either ld flags aren't being set correctly to
indicate that $ORIGIN is in use, or that there's an issue in FreeBSD's
handling of $ORIGIN (on at least FreeBSD 9.2).



More information about the lldb-dev mailing list