Bug#710322: clang-3.3: Support Headers not picked up cstddef and more
Marc J. Driftmeyer
mjd at reanimality.com
Wed May 29 22:33:55 UTC 2013
Package: clang-3.3
Version: 1:3.3~svn179851-1~exp1
Severity: normal
Dear Maintainer,
Since so many packages have been pushed from experimental into Sid with GCC-4.7 and part of GCC-4.8 I decided to see how building LLVM/Clang from trunk works. It fails with assembly issues I'll file later using GCC-4.7 as the CC.
Now, I decide to install the LLVM-3.3/Clang-3.3 toolchain in its entirety to see how well it builds and this is what I get:
Scanning dependencies of target LLVMSupport
[ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/lib/Support/APFloat.cpp:15:
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/include/llvm/ADT/APFloat.h:104:
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/include/llvm/ADT/APInt.h:19:
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/include/llvm/ADT/ArrayRef.h:14:
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/include/llvm/ADT/SmallVector.h:17:
/home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/include/llvm/Support/AlignOf.h:19:10: fatal error:
'cstddef' file not found
#include <cstddef>
^
1 error generated.
make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o] Error 1
make[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
make: *** [all] Error 2
----------------
What is it with this latest transition in GCC-4.7.4 and GCC-4.8 that seems to throw this error each and every time I test it? Am I missing a package that can resolve the relocation of these header file paths or does Debian need to contact LLLVM/Clang and make sure those paths are included when building the infrastructure?
Sincerely,
Marc J. Driftmeyer
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.8-2-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages clang-3.3 depends on:
ii libc6 2.17-3
ii libclang-common-dev 1:3.3~svn179851-1~exp1
ii libffi5 3.0.10-3
ii libgcc1 1:4.8.0-8
ii libllvm3.3 1:3.3~svn179851-1~exp1
ii libstdc++6 4.8.0-8
ii libstdc++6-4.7-dev 4.7.3-4
Versions of packages clang-3.3 recommends:
ii llvm-3.3-dev 1:3.3~svn179851-1~exp1
ii python 2.7.3-13
clang-3.3 suggests no packages.
-- no debconf information
More information about the Pkg-llvm-team
mailing list