On 27 February 2014 09:41, Rafael Espíndola <[email protected]> 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. _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
