Open Quuxplusone opened 10 years ago
Bugzilla Link | PR18281 |
Status | NEW |
Importance | P normal |
Reported by | Steven Chen (stevchen@ca.ibm.com) |
Reported on | 2013-12-19 07:59:12 -0800 |
Last modified on | 2016-01-02 09:02:21 -0800 |
Version | trunk |
Hardware | All Linux |
CC | bertrand.dekoninck@gmail.com, llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
Same problem here with latest sources.
I've build clang on ppc (big endian, PowerMacG5) debian wheezy with gcc-4.7.
clang is installed in /usr/local. When I try to build some c file with " clang -
o programname main.c", i get :
"In file included from main.c:1:
In file included from /usr/include/stdio.h:28:
/usr/include/features.h:323:10: fatal error: 'bits/predefs.h' file not found
#include <bits/predefs.h>
^
1 error generated."
When I run "clang -cc1 -v", i get :
"clang -cc1 version 3.8.0 based upon LLVM 3.8.0svn default target powerpc64-
unknown-linux-gnu
#include "..." search starts here:
End of search list."
I gorgot to tell : the non found file is here on my machine :
/usr/include/powerpc-linux-gnu/bits/predefs.h