poky/meta
Richard Purdie 8a69e57f53 elfutils: Do not suppress stringop-overflow warning on build hosts
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>
2025-10-27 17:20:42 +00:00
..
classes create-spdx-3.0: add SPDX_LICENSES to SPDX3_DEP_FILES 2025-10-27 11:37:43 +00:00
classes-global classes/mirrors: use geo-located kernel.org mirrors 2025-10-16 10:53:10 +01:00
classes-recipe systemd.bbclass: support template files with dots 2025-10-27 11:37:43 +00:00
conf fmt: add ptest support 2025-10-27 17:20:42 +00:00
files ptest-perl/run-ptest: set exit code 2025-10-27 17:20:42 +00:00
lib selftest/bblayers: Add a test to validate bitbake-setup registry schema 2025-10-27 17:20:42 +00:00
recipes-bsp u-boot: Make sure the build dir is unique for each UBOOT_CONFIG 2025-10-13 18:01:03 +01:00
recipes-connectivity kea: fix installation umask to 0022 of meson. 2025-10-27 11:37:43 +00:00
recipes-core initramfs-framework: drop redundant /var/lock directory creation 2025-10-27 11:37:43 +00:00
recipes-devtools elfutils: Do not suppress stringop-overflow warning on build hosts 2025-10-27 17:20:42 +00:00
recipes-extended libarchive: upgrade 3.8.1 -> 3.8.2 2025-10-27 17:20:42 +00:00
recipes-gnome gtk+3: Update 3.24.43 -> 3.24.51 2025-10-27 11:37:43 +00:00
recipes-graphics mesa: upgrade 25.2.4 -> 25.2.5 2025-10-27 11:37:43 +00:00
recipes-kernel lttng-modules: update to v2.14.2 2025-10-27 17:20:42 +00:00
recipes-multimedia x264: switch to PACKAGECONFIG 2025-10-13 18:01:04 +01:00
recipes-rt rt-tests: upgrade 2.8 -> 2.9 2025-07-21 23:00:18 +01:00
recipes-sato webkitgtk: upgrade 2.48.5 -> 2.50.0 2025-10-27 11:37:43 +00:00
recipes-support libcap: Pass OE defined BUILD_CC and BUILD_LDFLAGS 2025-10-27 11:37:43 +00:00
site
COPYING.MIT
recipes.txt