From: Khem Raj Date: Wed, 14 May 2025 20:58:02 +0000 (-0700) Subject: systemtap: Remove unneeded -Wno-dangling-pointer X-Git-Tag: uninative-4.8~424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46a6fedf368c77a06d9a18d7c84a3f2e079c8f49;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git systemtap: Remove unneeded -Wno-dangling-pointer This was added by me in below commit [1] to overcome a RISCV build failure with gcc 13, the issue is gone with gcc-15 [1] https://git.yoctoproject.org/poky/commit/?id=4f09a93611134351381415d69228317d8a779014 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 7c9cbe0da04..21d50ffb049 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap_git.bb @@ -36,9 +36,6 @@ PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod" inherit autotools gettext pkgconfig systemd inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python3-probes', 'setuptools3-base', '', d)} -# | ../git/elaborate.cxx:2601:21: error: storing the address of local variable 'sym' in '*s.systemtap_session::symbol_resolver' [-Werror=dangling-pointer=] -CXXFLAGS += "-Wno-dangling-pointer" - # exporter comes with python3-probes PACKAGES =+ "${PN}-exporter" FILES:${PN}-exporter = "${sysconfdir}/stap-exporter/* \