summaryrefslogtreecommitdiffstats
path: root/documentation/toaster-manual/toaster-manual.xml
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-06-27 00:55:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-06-27 15:19:29 +0100
commit998bbbccb660a5ce31fab9d9fc1ed3b9673e09a8 (patch)
tree8a3f2bb269f91a26c5bffcd7934360965850ca78 /documentation/toaster-manual/toaster-manual.xml
parent5bd565589ead84b662494fa2321fed459571abe4 (diff)
downloadpoky-998bbbccb660a5ce31fab9d9fc1ed3b9673e09a8.tar.gz
utils.bbclass: Use objdump instead of readelf to compute SONAME
LLVM has changed the ELF header dump format [1], the code in oe_libinstall relied upon the format and processed the SONAME inside square brackets e.g. 0x000000000000000e (SONAME) Library soname: libreadline.so.8 with older readelf from ( llvm <19 or GNU binutils objdump ) we get 0x000000000000000e (SONAME) Library soname: [libreadline.so.8] The check in oe_libinstall will now trip over ELF files read by llvm-readelf from llvm19+ To make it portable which works across GNU binutils and LLVM tools switch to using objdump -p to dump the ELF file and modify the regexp accordingly, as an aside, the post processing expression is simplified too [1] https://github.com/llvm/llvm-project/pull/96562 (From OE-Core rev: 90097966996f5654610100c7b17d381e7dd0b020) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/toaster-manual/toaster-manual.xml')
0 files changed, 0 insertions, 0 deletions