From 6498ad48d9cea440ec197d19383f5b7e30324b1c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 22 May 2025 20:52:44 -0700 Subject: [PATCH] systemtap: Pin to build with GCC clang find a lot of warning | In file included from ../git/tapset-procfs.cxx:11: | ../git/session.h:169:47: error: 'used' attribute ignored on a non-definition declaration [-Werror,-Wignored-attributes] | 169 | static const char* morehelp __attribute__ ((used)); | | ^ (From OE-Core rev: 887c52532f9555f363b06692a777a66fc8137513) Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/recipes-kernel/systemtap/systemtap_git.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 21d50ffb04..254bac4d6f 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap_git.bb @@ -99,3 +99,7 @@ do_install:append () { } BBCLASSEXTEND = "nativesdk" + +# Emits lot of warning which are treated as errors +# They must be looked into before disabling +TOOLCHAIN = "gcc"