]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
libcxx: remove no-atomics from PACKAGECONFIG
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 11 Feb 2026 07:00:26 +0000 (15:00 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Feb 2026 17:27:31 +0000 (17:27 +0000)
commitccc585f94c51ebaef863f116bcd2b41b2d958666
treef16a24872366cb99bce69501ca592fad8d021980
parent6092b9a321e4fa3561e31e3233cc66ea1c14a65c
libcxx: remove no-atomics from PACKAGECONFIG

In commit [1], upstream has dropped _LIBCXXABI_HAS_ATOMIC_BUILTINS,
clean up no-atomics from PACKAGECONFIG otherwise build for qemuarmv5
failed

$ echo "MACHINE = 'qemuarmv5'" >> conf/local.conf
$ bitbake libcxx
...
| tmp/work/armv5e-oe-linux-gnueabi/libcxx/21.1.8/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/
arm-oe-linux-gnueabi-ld: cannot find -latomic: No such file or directory
| arm-oe-linux-gnueabi-clang++: error: linker command failed with exit code 1 (use -v to see invocation)
...

[1] https://github.com/llvm/llvm-project/commit/f8b1cc36578608f2f840d7ea8b0aa9b28fdaa492

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/clang/libcxx_git.bb