Features.h not being found now on trunk compiling under Debian Sid

Not sure what would have changed to break this but os_defines.h citing features.h is no longer being found in the system paths.

/usr/lib/gcc/x86_64-linux-gnu/4.7/…/…/…/…/include/c++/4.7/x86_64-linux-gnu/bits/os_defines.h:40:10: fatal error:
’features.h’ file not found
#include <features.h>
^

#include <stdlib.h>
^
1 error generated.
make[2]: *** [runtime/libprofile/CMakeFiles/profile_rt-shared.dir/BasicBlockTracing.c.o] Error 1
make[1]: *** [runtime/libprofile/CMakeFiles/profile_rt-shared.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/lib/Support/APInt.cpp:16:
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/include/llvm/ADT/APInt.h:18:
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/include/llvm/ADT/ArrayRef.h:13:
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/include/llvm/ADT/SmallVector.h:18:
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/include/llvm/Support/type_traits.h:20:
In file included from /home/mdriftmeyer/DeveloperProjects/LLVMProject/cmake-clang-llvm/include/llvm/Support/DataTypes.h:36:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.7/…/…/…/…/include/c++/4.7/cmath:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.7/…/…/…/…/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h:414:
/usr/lib/gcc/x86_64-linux-gnu/4.7/…/…/…/…/include/c++/4.7/x86_64-linux-gnu/bits/os_defines.h:40:10: fatal error:
‘features.h’ file not found
#include <features.h>
^
1 error generated.
make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
1 error generated.
make[2]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o] Error 1
make[1]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/all] Error 2
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
mdriftmeyer@horus:~/DeveloperProjects/LLVMProject/cmake-clang-llvm$

Has os_defines.h moved from /usr/include/c++/4.7/bits → /usr/include/c++/4.7/x86_64-linux-gnu/bits

or is something else the culprit?

  • Marc