[OE-core] [PATCH 0/2] RPATH fixes: libtool & binutils

Andy Ross andy.ross at windriver.com
Thu Aug 23 17:32:29 UTC 2012


Current RPATH work:

Patch 1 just updates the libtool work to use the built-in
normalization function instead of sed, as requested.

Patch 2 is to binutils ld, to fix the underlying host pollution issue:
the -rpath argument was not sysroot aware, so setting
"/usr/lib/../lib" as an RPATH would add the host /usr/lib to the link
time search path instead of the sysroot directory.

Note that the previous warning fix to insane.bbclass is still
producing unmasked warnings in a few cases (the rpm utilities are one
that I know), mostly in programs instead of libraries.  These will
need to be audited independently.  It's possible that they are liking
with -rpath directly and not using libtool, or that a needed
normalization in libtool is still missing.  But with the current
patches these warnings are benign now, they can't break the build.

Andy





More information about the Openembedded-core mailing list