From: Hemanth Kumar M D <[email protected]>

GCC 16 adds libatomic_asneeded.so which is referenced by the GCC spec
at link time. Add libatomic-dev to ptest RDEPENDS so it is available
on the target when ptests compile code, following the same pattern as
libgcc-dev.

Signed-off-by: Hemanth Kumar M D <[email protected]>
---
 meta/recipes-devtools/elfutils/elfutils_0.194.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/elfutils/elfutils_0.194.bb 
b/meta/recipes-devtools/elfutils/elfutils_0.194.bb
index f5dc986e1d..2173a94401 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.194.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.194.bb
@@ -46,7 +46,7 @@ PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
 PACKAGECONFIG[libdebuginfod] = 
"--enable-libdebuginfod,--disable-libdebuginfod,curl json-c"
 PACKAGECONFIG[debuginfod] = 
"--enable-debuginfod,--disable-debuginfod,libarchive sqlite3 libmicrohttpd"
 
-RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils 
iproute2-ss bsdtar gcc-symlinks binutils-symlinks libgcc-dev"
+RDEPENDS:${PN}-ptest += "libasm libelf bash make coreutils ${PN}-binutils 
iproute2-ss bsdtar gcc-symlinks binutils-symlinks libgcc-dev libatomic-dev"
 
 EXTRA_OECONF:append:class-target = " --disable-tests-rpath"
 
-- 
2.49.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#237285): 
https://lists.openembedded.org/g/openembedded-core/message/237285
Mute This Topic: https://lists.openembedded.org/mt/119387083/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to