Skip to content

Commit

Permalink
apt: Do not use libc++ runtime for now
Browse files Browse the repository at this point in the history
With clang17, it does not work with libc++ headers, until its fixed use
libstdc++

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Jul 31, 2023
1 parent 383c88b commit 590f13f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,10 @@ COMPILER_RT:pn-tsocks:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwin
#clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
COMPILER_RT:pn-libhugetlbfs:libc-glibc:toolchain-clang:arm = "--unwindlib=libgcc"

# Does not compile with libc++ from clang 17+ anymore see
# https://github.com/llvm/llvm-project/issues/63743
LIBCPLUSPLUS:pn-apt:toolchain-clang = "-stdlib=libstdc++"

# Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so
# let same compiler ( gcc or clang) be native/cross compiler
# | gcc: error: unrecognized command line option ‘-Qunused-arguments’
Expand Down

0 comments on commit 590f13f

Please sign in to comment.