diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-07-31 21:10:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-01 09:51:20 +0100 |
commit | d505ab5ea561bf5c501e7417a17d72bacfe3dadf (patch) | |
tree | d890d95dc58b3d962aef166b61e1c86e79825db1 /scripts/lib/scriptutils.py | |
parent | 57975742361c6ad36a51115145358db350ef650f (diff) | |
download | poky-d505ab5ea561bf5c501e7417a17d72bacfe3dadf.tar.gz |
patchelf: add 3 fixes to optimize and fix uninative
* uninative-3.10 and 4.0 doesn't work on e.g. ubuntu-18.04, because patchelf-uninative
makes the binaries unusable and e.g. mkfs.ext4 segfaults in loader, see:
https://github.com/NixOS/patchelf/issues/492
* mke2fs.real, mkfs.ext2.real, mkfs.ext3.real, mkfs.ext4.real are indentical
binary with multiple hardlinks and we end calling patchelf-uninative 4
times even when the interpreter is already set correctly from the build
The issue was reported upstream with mkfs.ext4.real as possible reproducer:
https://github.com/NixOS/patchelf/issues/492#issuecomment-1602862272
To fix uninative we need to first release new uninative tarball and
then upgrade it in master, mickledore, kirkstone, dunfell
* originally reported in:
https://lists.openembedded.org/g/openembedded-core/message/182862
with temporary work around (applicable locally without waiting for
new uninative release):
https://lists.openembedded.org/g/openembedded-core/message/183314
(From OE-Core rev: f0499b58d1dd149300a349dde8f6664679df13e6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions