summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-07-09 10:20:35 -0700
committerKhem Raj <raj.khem@gmail.com>2023-09-19 19:59:21 -0700
commit191de15452463848832fd137de5859dd969b0d29 (patch)
tree506df69e42618ff330cf2dc28cf1e233d188e8fd
parent0ad77f3d96bdb590be190f6507ca846b4c72ddc2 (diff)
downloadmeta-clang-191de15452463848832fd137de5859dd969b0d29.tar.gz
apt: Do not use libc++ runtime for now
With clang17, it does not work with libc++ headers, until its fixed use libstdc++ Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--conf/nonclangable.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index db2d081..2a19368 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -362,6 +362,10 @@ COMPILER_RT:pn-tsocks:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwin
362#clang-8: error: linker command failed with exit code 1 (use -v to see invocation) 362#clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
363COMPILER_RT:pn-libhugetlbfs:libc-glibc:toolchain-clang:arm = "--unwindlib=libgcc" 363COMPILER_RT:pn-libhugetlbfs:libc-glibc:toolchain-clang:arm = "--unwindlib=libgcc"
364 364
365# Does not compile with libc++ from clang 17+ anymore see
366# https://github.com/llvm/llvm-project/issues/63743
367LIBCPLUSPLUS:pn-apt:toolchain-clang = "-stdlib=libstdc++"
368
365# Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so 369# Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so
366# let same compiler ( gcc or clang) be native/cross compiler 370# let same compiler ( gcc or clang) be native/cross compiler
367# | gcc: error: unrecognized command line option ‘-Qunused-arguments’ 371# | gcc: error: unrecognized command line option ‘-Qunused-arguments’