[PATCH][RESEND] ld: -rpath must search under sysroot
Jörg Krause
joerg.krause@embedded.rocks
Sat Mar 11 07:37:00 GMT 2017
Hi Alan,
On Fri, 2017-03-10 at 21:53 +1030, Alan Modra wrote:
> On Fri, Mar 10, 2017 at 08:22:49AM +0100, Jörg Krause wrote:
> > From: Andy Ross <andy.ross@windriver.com>
> >
> > This is a resend of a revised patch from the binutils mailing list
> > [1].
>
> I wasn't very enthusiastic about this patch first time it was posted,
> but I'm willing to consider it again.
Thanks!
> If there is a relative rpath, should it have the sysroot prepended?
> See https://sourceware.org/bugzilla/show_bug.cgi?id=18992
No, it shouldn't.
> If not, then perhaps the place to make that change is in
> gld${EMULATION_NAME}_add_sysroot.
I am not sure I understand. What do you have in mind?
Jörg
More information about the Binutils
mailing list