[PATCH 0/1] ld: -rpath/-rpath_link must search under sysroot

Andy Ross andy.ross@windriver.com
Thu Aug 23 03:12:00 GMT 2012


This bug (basically that -rpath ignores the sysroot when modifying the
search path) came up in the context of openembedded/Yocto, where it's
fairly routine to be building with a sysroot-enabled cross toolchain
on a host architecture that matches the target.  In those
circumstances, it's possible to pick up a host library by accident and
break the build with version skew.

Andy



More information about the Binutils mailing list