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

Marc J. Driftmeyer mjd at reanimality.com
Thu Jun 21 15:55:42 PDT 2012


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 at 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

-- 
Marc J. Driftmeyer
Email :: mjd at reanimality.com <mailto:mjd at reanimality.com>
Web :: http://www.reanimality.com
Cell :: (509) 435-5212
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120621/1359cebb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjd.vcf
Type: text/x-vcard
Size: 317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120621/1359cebb/attachment.vcf>


More information about the llvm-dev mailing list