Bug#671913: clang: cannot find standard header files
Miles Bader
miles at gnu.org
Tue May 8 05:10:34 UTC 2012
Package: clang
Version: 3.1~+rc1-1
Severity: important
$ cat hw.c
#include <stdio.h>
int main ()
{
printf ("hello world\n");
return 0;
}
$ env - PATH=/usr/bin:/bin gcc -o hw hw.c
$ ./hw
hello world
$ env - PATH=/usr/bin:/bin clang -o hw hw.c
In file included from hw.c:1:
/usr/include/stdio.h:34:11: fatal error: 'stddef.h' file not found
# include <stddef.h>
^
1 error generated.
$
Thanks,
-miles
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-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 depends on:
ii libc6 2.13-32
ii libclang-common-dev 3.0-6
ii libffi5 3.0.10-3
ii libgcc1 1:4.7.0-7
ii libllvm3.1 3.1~+rc1-3
ii libstdc++6 4.7.0-7
ii libstdc++6-4.6-dev 4.6.3-5
Versions of packages clang recommends:
ii llvm-3.1-dev 3.1~+rc1-3
ii python 2.7.2-10
clang suggests no packages.
-- no debconf information
More information about the Pkg-llvm-team
mailing list