This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 0/1] ld: -rpath/-rpath_link must search under sysroot
- From: Andy Ross <andy dot ross at windriver dot com>
- To: binutils at sourceware dot org
- Date: Wed, 22 Aug 2012 14:40:01 -0700
- Subject: [PATCH 0/1] ld: -rpath/-rpath_link must search under sysroot
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