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).
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to