RPATH fixes: libtool & binutils
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | libtool: update rpath normalization to use builtinmeta/ meta/ | +9 | 0 replies | |
| 2/2 | ld: -rpath must search under sysrootmeta/ meta/ | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] RPATH fixes: libtool & binutils
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