Bug#707718: clang-3.2: clang++ standard header mis-configuration (stddef.h)
Christophe Prud'homme
prudhomm at debian.org
Fri May 10 16:08:22 UTC 2013
Package: clang-3.2
Version: 1:3.2repack-2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
compiling c++ code
#include <cstddef>
int main()
{}
fails to compile with clang++.
clang++ -o t toto.cpp
In file included from toto.cpp:1:
/usr/bin/../lib/gcc/x86_64-linux-
gnu/4.8/../../../../include/c++/4.8/cstddef:41:10: fatal error: 'stddef.h' file
not found
#include <stddef.h>
^
1 error generated.
stddef.h is in /usr/lib/llvm-3.2/lib/clang/3.2/include/
compiling using the following command works
clang++ -I /usr/lib/llvm-3.2/lib/clang/3.2/include/ -o t toto.cpp
* What outcome did you expect instead?
the user should not have to add /usr/lib/llvm-3.2/lib/clang/3.2/include/ in the
header directories, no ?
*** End of the template - remove these lines ***
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.8-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages clang-3.2 depends on:
ii libc6 2.17-1
ii libclang-common-dev 1:3.2repack-2
ii libffi5 3.0.10-3
ii libgcc1 1:4.8.0-6
ii libllvm3.2 1:3.2repack-2
ii libstdc++6 4.8.0-6
ii libstdc++6-4.7-dev 4.7.3-3
Versions of packages clang-3.2 recommends:
ii llvm-3.2-dev 1:3.2repack-2
ii python 2.7.3-5
clang-3.2 suggests no packages.
-- no debconf information
More information about the Pkg-llvm-team
mailing list