diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-09-08 23:54:40 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-09-18 07:32:26 -0700 |
commit | f0f9bb250045f55c018f2e65d651c63369eaecd3 (patch) | |
tree | 3f9264671c37971d2c365c34cc2de81fd3c5b4a9 | |
parent | 185e954aad80a2363451f89f70a9535d9b2b9dce (diff) | |
download | meta-clang-f0f9bb250045f55c018f2e65d651c63369eaecd3.tar.gz |
recipes: Use gcc or clang/libstdc++ for some recipes
These recipes do not yet build with libc++-19, for now
use libstdc++, poco and netdata do not compile with clang-19
at all
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 74cfd53..33a737c 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -201,6 +201,11 @@ TOOLCHAIN:pn-gcc-for-nvcc-runtime:tegra = "gcc" | |||
201 | #| | ^ | 201 | #| | ^ |
202 | TOOLCHAIN:pn-optee-os:imx-nxp-bsp = "gcc" | 202 | TOOLCHAIN:pn-optee-os:imx-nxp-bsp = "gcc" |
203 | 203 | ||
204 | # Fails with clang-19+ | ||
205 | # Poco/PriorityDelegate.h:203:10: error: no member named '_pTarget' in 'PriorityDelegate<type-parameter-0-0, void, true>' | ||
206 | TOOLCHAIN:pn-poco = "gcc" | ||
207 | TOOLCHAIN:pn-netdata = "gcc" | ||
208 | |||
204 | CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " | 209 | CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " |
205 | 210 | ||
206 | # TOPDIR/build/tmp/work/core2-32-yoe-linux/gnu-efi/3.0.17-r0/gnu-efi-3.0.17//lib/ctors.S:11:41: error: expected the entry size | 211 | # TOPDIR/build/tmp/work/core2-32-yoe-linux/gnu-efi/3.0.17-r0/gnu-efi-3.0.17//lib/ctors.S:11:41: error: expected the entry size |
@@ -403,8 +408,15 @@ COMPILER_RT:pn-libhugetlbfs:libc-glibc:toolchain-clang:arm = "--unwindlib=libgcc | |||
403 | # https://github.com/llvm/llvm-project/issues/63743 | 408 | # https://github.com/llvm/llvm-project/issues/63743 |
404 | LIBCPLUSPLUS:pn-apt:toolchain-clang = "-stdlib=libstdc++" | 409 | LIBCPLUSPLUS:pn-apt:toolchain-clang = "-stdlib=libstdc++" |
405 | 410 | ||
406 | # https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals | 411 | # All following need to use libstdc++ with clang-19 |
412 | # see https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals | ||
407 | LIBCPLUSPLUS:pn-pbzip2:toolchain-clang = "-stdlib=libstdc++" | 413 | LIBCPLUSPLUS:pn-pbzip2:toolchain-clang = "-stdlib=libstdc++" |
414 | LIBCPLUSPLUS:pn-nlohmann-json:toolchain-clang = "-stdlib=libstdc++" | ||
415 | LIBCPLUSPLUS:pn-paho-mqtt-cpp:toolchain-clang = "-stdlib=libstdc++" | ||
416 | LIBCPLUSPLUS:pn-poco:toolchain-clang = "-stdlib=libstdc++" | ||
417 | LIBCPLUSPLUS:pn-netdata:toolchain-clang = "-stdlib=libstdc++" | ||
418 | LIBCPLUSPLUS:pn-cpp-netlib:toolchain-clang = "-stdlib=libstdc++" | ||
419 | LIBCPLUSPLUS:pn-cpprest:toolchain-clang = "-stdlib=libstdc++" | ||
408 | 420 | ||
409 | # Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so | 421 | # Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so |
410 | # let same compiler ( gcc or clang) be native/cross compiler | 422 | # let same compiler ( gcc or clang) be native/cross compiler |