@@ -14,6 +14,7 @@ BPN = "libcxx"
PACKAGECONFIG ??= "compiler-rt exceptions ${@bb.utils.contains("TC_CXX_RUNTIME", "llvm", "unwind unwind-shared", "", d)}"
PACKAGECONFIG:append:armv5 = " no-atomics"
+PACKAGECONFIG:remove:armv5 = "compiler-rt"
PACKAGECONFIG:remove:class-native = "compiler-rt"
PACKAGECONFIG[unwind] = "-DLIBCXXABI_USE_LLVM_UNWINDER=ON -DLIBCXXABI_ENABLE_STATIC_UNWINDER=ON,-DLIBCXXABI_USE_LLVM_UNWINDER=OFF,,"
PACKAGECONFIG[exceptions] = "-DLIBCXXABI_ENABLE_EXCEPTIONS=ON -DLIBCXX_ENABLE_EXCEPTIONS=ON,-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF -DLIBCXX_ENABLE_EXCEPTIONS=OFF -DCMAKE_REQUIRED_FLAGS='-fno-exceptions',"
Due to commit [compiler-rt-sanitizers, compiler-rt: skip for armv5] applied, world build failed for qemuarmv5. $ echo 'MACHINE = "qemuarmv5"' >> conf/local.conf $ bitbake world -n ERROR: Nothing PROVIDES 'compiler-rt' (but meta/recipes-devtools/clang/libcxx_git.bb DEPENDS on or otherwise requires it) compiler-rt was skipped: incompatible with host arm-poky-linux-gnueabi (not in COMPATIBLE_HOST) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'libcxx', 'compiler-rt'] In libcxx, remove compiler-rt from PACKAGECONFIG for armv5 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- meta/recipes-devtools/clang/libcxx_git.bb | 1 + 1 file changed, 1 insertion(+)