gcode-mirror / iphone-dev

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

Unable to build llvm-gcc on Gentoo Linux #190

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow instructions on website for building the toolchain
2. Instead of a specific llvm version, use SVN Head... (I know...)
3. Try to complete the last step of the build by making the llvm-gcc package

What is the expected output? What do you see instead?
I expect a clean build...

I get....
c++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-pedantic -Wno-long-long -Wno-variadic-macros -DHAVE_CONFIG_H -Wno-unused
-DTARGET_NAME=\"arm-apple-darwin\" -DNDEBUG -DENABLE_LLVM
-I/home/prophecy/src/iPhoneChain/llvm-svn/include
-I/home/prophecy/src/iPhoneChain/llvm-svn/include
-D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-DLLVM_VERSION_INFO='"2.0-svn-iphone-dev-0.3-svn"'   -I. -I.
-I../../../llvm-gcc-4.0-iphone/gcc -I../../../llvm-gcc-4.0-iphone/gcc/.
-I../../../llvm-gcc-4.0-iphone/gcc/../include
-I../../../llvm-gcc-4.0-iphone/gcc/../libcpp/include
-I/home/prophecy/src/iPhoneChain/llvm-svn/include
-I/home/prophecy/src/iPhoneChain/llvm-svn/include
../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp -o llvm-backend.o
In file included from ../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp:23:
../../../llvm-gcc-4.0-iphone/gcc/llvm-internal.h:39:38: error:
llvm/Support/LLVMBuilder.h: No such file or directory
../../../llvm-gcc-4.0-iphone/gcc/llvm-internal.h:40:34: error:
llvm/Support/Streams.h: No such file or directory
../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp:32:46: error:
llvm/Analysis/LoadValueNumbering.h: No such file or directory
../../../llvm-gcc-4.0-iphone/gcc/llvm-backend.cpp:45:47: error:
llvm/Target/TargetMachineRegistry.h: No such file or directory

See the attached file for more information...

What version of the product are you using? On what operating system?
I am using head versions of llvm and iphone-dev
Gentoo Linux
Linux prophecylaptop 2.6.27-gentoo-r5 #2 SMP PREEMPT Thu Jan 15 14:06:07
CST 2009 i686 Intel(R) Pentium(R) M processor 2.00GHz GenuineIntel GNU/Linux
gcc (Gentoo 4.3.3-r2 p1.1, pie-10.1.5) 4.3.3

Please provide any additional information below.
Not sure which additional information to provide....
I know that the instructions state to use a specific version of the llvm
but that did not build, probably due to my newer gcc.  And I thought that
issue 70 might have been fixed since the page was last edited in 2008.

Original issue reported on code.google.com by Justa...@gmail.com on 20 Sep 2009 at 2:05

Attachments:

GoogleCodeExporter commented 9 years ago
Bzip2

Original comment by ngocson_...@yahoo.com on 22 Sep 2009 at 11:43

GoogleCodeExporter commented 9 years ago
I do not understand this reply?  Should I have bzipped something?

Original comment by Justa...@gmail.com on 23 Sep 2009 at 1:06

GoogleCodeExporter commented 9 years ago
I have this Problem too

Original comment by sfan5.sf...@gmail.com on 8 Jun 2012 at 7:31