]> code.ossystems Code Review - openembedded-core.git/commit
patchelf: Fix issues with the 'hole' in binaries approach
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Mar 2017 13:47:03 +0000 (13:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Mar 2017 20:04:58 +0000 (20:04 +0000)
commit39f5a05152aa0c3503735e18dd3b4c066b284107
treefc8de3688498fac4bfe6c032d2a45b05ba7beafe
parente9f839d5fe70a222cc7b8942f401ac86a10e6604
patchelf: Fix issues with the 'hole' in binaries approach

We're seeing two issues with patchelf, one where it inflates binaries to MBs in
size, the other where stripping the resulting binary fails:

$ strip fixincl
Not enough room for program headers, try linking with -N
[.note.ABI-tag]: Bad value

The patch header describes more about what the problem is and how the patch
fixes it.

[YOCTO #11123]
[YOCTO #11009]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/patchelf/patchelf/avoidholes.patch [new file with mode: 0644]
meta/recipes-devtools/patchelf/patchelf_0.9.bb