summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/elfutils_0.193.bb
Commit message (Collapse)AuthorAgeFilesLines
* elfutils: Do not suppress stringop-overflow warning on build hostsRichard Purdie2025-10-271-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | stringop-overflow is a gcc specific option and when we try to use non-gcc compiler as host compiler e.g. clang, this causes several configure tests to fail because clang reports this as an option it does not understand and bails out error: unknown warning option '-Werror=stringop-overflow'; did you mean '-Werror=shift-overflow'? [-Werror,-Wunknown-warning-option] One of the failing tests is the check for PIC support in compiler and results in errors during compilation like /usr/bin/ld: libelf_pic.a(elf_error.os): relocation R_X86_64_TPOFF32 against `global_error' can not be used when making a shared object; recompile with -fPIC and elfutils-native failing to build with clang as host compiler This patch was added to support version of fedora in 2022 and the error has since been addressed in glibc [1] This is effectively reverting bb76fe2baf00b0874d221445c9fba4481740024f [1] https://sourceware.org/bugzilla/show_bug.cgi?id=29141 (From OE-Core rev: 2c134301b55892ecf3c0ae9fa4912bc827579ece) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Remove run-backtrace-dwarf from musl ptest XFAILs listKhem Raj2025-08-251-1/+1
| | | | | | | | | | This is passing ok with gcc/libgcc on YP AB (From OE-Core rev: c1bb95055810b272237d5a143f7e01a270e74868) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Add run-backtrace-{native|data}.sh to known failuresKhem Raj2025-08-251-1/+1
| | | | | | | | | | | | | | | musl's thread startup/teardown sequences and frame-pointer handling differ from glibc. elfutils can fail to terminate unwinds properly in multithreaded musl apps which leads to truncated or bogus traces and then the test's "must contain main" assertion fails. Skip this test on musl systems (From OE-Core rev: 6f89b8386b70d35cb27bb90348857ddecda5ed3e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Mark failing ptests on musl as xfailsKhem Raj2025-08-141-0/+1
| | | | | | | | | | | | Elfutils tests do not all run cleanly on musl systems. Make the current set as baseline by making the failing tests as XFAILS. This helps to not regress further more. (From OE-Core rev: c962949c7d70a40f94fb41c342b7a282578069ed) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Add provisions for marking XFAILS in ptestsKhem Raj2025-08-141-0/+5
| | | | | | | | | | | | elfuitls testsuites do not pass on all kind of distro features e.g. with musl there are failures and with ld-is-lld less numer but it shows failures too. Make run-ptest treat these as known failures. (From OE-Core rev: 54f4588d49f5164aa8a404a1cb6a9984fd2b49cd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Upgrade 0.192 -> 0.193Soumya Sambu2025-06-111-0/+175
Refreshed patches: 0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch ptest.patch Changelog: Version 0.193 "Bugs erased, stacks traced" debuginfod: Add CORS (webapp access) support to webapi and --cors option. Add --listen-address option for binding the HTTP listen socket to a specific IPv4 or IPv6 address. debuginfod client now caches x-debuginfod-* HTTP headers alongside downloaded files. libdw: Add dwarf_language and dwarf_language_lower_bound functions. Improved support for DWARF6 language metadata as well as DWARF language constants for Nim, Dylan, Algol68, V and Mojo. dwarf_srclang is now forward-compatible with DWARF6 language constants. libdwfl_stacktrace: Experimental new library interface for unwinding stack samples into call chains, and tracking and caching Elf data for multiple processes, building on libdwfl. Initially supports perf_events stack sample data. libelf: elf_scnshndx has been rewritten to be more robust, particularily for ELF files with more than 64K sections. readelf: Improved handling of corrupt ELF data. --section-headers output now includes a "Key to Flags" explaining section flag meanings. (From OE-Core rev: ca990ae5a14fa0899dee4fccacf4cac8f212e4e8) Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>