summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-09-08 23:54:40 -0700
committerKhem Raj <raj.khem@gmail.com>2024-09-18 07:32:26 -0700
commitf0f9bb250045f55c018f2e65d651c63369eaecd3 (patch)
tree3f9264671c37971d2c365c34cc2de81fd3c5b4a9 /conf
parent185e954aad80a2363451f89f70a9535d9b2b9dce (diff)
downloadmeta-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>
Diffstat (limited to 'conf')
-rw-r--r--conf/nonclangable.conf14
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#| | ^
202TOOLCHAIN:pn-optee-os:imx-nxp-bsp = "gcc" 202TOOLCHAIN: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>'
206TOOLCHAIN:pn-poco = "gcc"
207TOOLCHAIN:pn-netdata = "gcc"
208
204CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " 209CFLAGS: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
404LIBCPLUSPLUS:pn-apt:toolchain-clang = "-stdlib=libstdc++" 409LIBCPLUSPLUS: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
407LIBCPLUSPLUS:pn-pbzip2:toolchain-clang = "-stdlib=libstdc++" 413LIBCPLUSPLUS:pn-pbzip2:toolchain-clang = "-stdlib=libstdc++"
414LIBCPLUSPLUS:pn-nlohmann-json:toolchain-clang = "-stdlib=libstdc++"
415LIBCPLUSPLUS:pn-paho-mqtt-cpp:toolchain-clang = "-stdlib=libstdc++"
416LIBCPLUSPLUS:pn-poco:toolchain-clang = "-stdlib=libstdc++"
417LIBCPLUSPLUS:pn-netdata:toolchain-clang = "-stdlib=libstdc++"
418LIBCPLUSPLUS:pn-cpp-netlib:toolchain-clang = "-stdlib=libstdc++"
419LIBCPLUSPLUS: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