Bug#825504: clang-3.6: clang++-3.6 does not find libstdc++ headers on !linux

Andreas Beckmann anbe at debian.org
Fri May 27 10:19:45 UTC 2016


Package: clang-3.6
Version: 1:3.6.2-3
Severity: important

Hi,

clang++-3.6 does not work properly on kfreebsd-amd64, and I'd expect the
same happens on the other non-linux architectures, too:

$ echo '#include <iostream>' | clang++-3.6 -v -x c++ -E - >/dev/null
Debian clang version 3.6.2-3 (tags/RELEASE_362/final) (based on LLVM 3.6.2)
Target: x86_64-pc-kfreebsd-gnu
Thread model: posix
 "/usr/lib/llvm-3.6/bin/clang" -cc1 -triple x86_64-pc-kfreebsd-gnu -E -disable-free -disable-llvm-verifier -main-file-name - -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.25.1 -v -dwarf-column-info -resource-dir /usr/lib/llvm-3.6/bin/../lib/clang/3.6.2 -fdeprecated-macro -fdebug-compilation-dir /home/anbe/pocl -ferror-limit 19 -fmessage-length 214 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o - -x c++ -
clang -cc1 version 3.6.2 based upon LLVM 3.6.2 default target x86_64-pc-kfreebsd-gnu
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/llvm-3.6/bin/../lib/clang/3.6.2/include
 /usr/include
End of search list.
<stdin>:1:10: fatal error: 'iostream' file not found
#include <iostream>
         ^
1 error generated.


Andreas



More information about the Pkg-llvm-team mailing list