On 27 February 2014 10:13, Rafael Espíndola <[email protected]> wrote:
>> 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.
>
> Ah, OK.
>
> So, this is not lldb specific (the -DBUILD_SHARED_LIBS=ON build is
> probably broken on freebsd right now). It seems to be freebsd specific
> (i don't see zorigin anywhere in binutils). Maybe what we should do is
> apply the attached patch to llvm?

It's not FreeBSD-specific; here it is in the GNU ld manual:
https://sourceware.org/binutils/docs/ld/Options.html#Options

-z keyword
`origin'  Marks the object may contain $ORIGIN.

and it turns up in some Solaris references from the early 2000s as well.

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to