cwalls251 / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn fails with : /lib/cpp fails sanity check #115

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running "make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn", inside 
"llvm-gcc-4.0-
iphone" fails

What is the expected output? What do you see instead?
That the command completed successfully

What version of the product are you using? On what operating system?
I am on Leopard

Please provide any additional information below.
This is the output.

Configuring in fixincludes
configure: loading cache ./config.cache
checking build system type... i686-apple-darwin9.1.0
checking host system type... i686-apple-darwin9.1.0
checking target system type... arm-apple-darwin
checking for gcc... gcc -isysroot -mmacosx-version-min=10.4
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -isysroot -mmacosx-version-min=10.4 accepts -g... yes
checking for gcc -isysroot -mmacosx-version-min=10.4 option to accept ANSI C... 
none 
needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make: *** [configure-fixincludes] Error 1

I follow the procedure for the leopard, everything went well until this last 
step.
I have installed XCode and everything, dont know what I am missing.

Original issue reported on code.google.com by hpcar...@gmail.com on 28 Jan 2008 at 3:04

GoogleCodeExporter commented 8 years ago
Well, I finally got it working. I found out my problem was that some stuff 
wasn't built. Check this post

http://code.google.com/p/iphone-dev/issues/detail?id=63

Also, for some reason, my llvm-svn directory wasn located where my LVMOBJDIR 
was, so that was another issue. 
Now I can compile using the XCode Tools.

Original comment by hpcar...@gmail.com on 28 Jan 2008 at 4:58

GoogleCodeExporter commented 8 years ago
Any chance you can provide more details on your fix ?? I have exactly the same 
error at this point, and have 
double checked (And rechecked).

All other stuff seem to build and install OK. I CAN'T see a configure script in 
the fixincludes directory which 
fixincludes/config.log implies is the issue, but can't seem to get it working.
Cheers 

Original comment by richardw...@gmail.com on 29 May 2008 at 10:22