'__cxxabi_config.h' file not found with clang-wrapper #255487
Labels
0.kind: bug
Something is broken
6.topic: llvm/clang
Issues related to llvmPackages, clangStdenv and related
Describe the bug
Clang's wrapper does not set
${libcxxabi.dev}/c++/v1
as an include path. Compiling files with <cxxabi.h> fails since <cxxabi.h> requires <__cxxabi_config.h> which is present in the aforementioned pathMinimal Reproduction
Current ouput
clang++ alo.cc
Verbose
clang++ --verbose alo.cc
Notes
I created the environment using this minimal mkShell expression
Proposed fix
Adding
-isystem ${lib.getDev libcxx.cxxabi}/include/c++/v1
tolibcxx-cxxflags
The text was updated successfully, but these errors were encountered: