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

Ed Maste emaste at freebsd.org
Thu Feb 27 07:01:27 PST 2014


On 27 February 2014 09:41, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
>> I found out what the problem is -- the -zorigin flag isn't being
>> passed to the linker, so the ORIGIN flag isn't set.  I guess either
>> the GNU runtime linker doesn't check, or a later version of GNU ld
>> sets the flag automatically; either way, FreeBSD needs -zorigin.  I
>> applied this patch:
>
> Interesting. Where is that coming from in the configure build? I don't
> see it anywhere in llvm or lldb.

It isn't being set in the configure build.  With the configure build
rtld first fails on the $ORIGIN due to the missing flag, but still
finds the library via the the "backup" absolute path.  It will still
need an equivalent change.




More information about the lldb-dev mailing list