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 27, 2023
1 parent af042b1 commit ab3c33d
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 @@ -342,6 +342,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 ab3c33d

Please sign in to comment.