[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
陳韋任
chenwj at iis.sinica.edu.tw
Wed Dec 29 17:54:03 PST 2010
Hi, folks
I am trying to build LLVM-GCC 4.2 on a Linux/PowerPC machine.
Actually, the PowerPC is a PS3. The source was downloaded from
http://llvm.org/releases/2.8/llvm-gcc-4.2-2.8.source.tgz
Here is my system information and configuration options:
----------------------------------------------------------------------
$ uname -a
Linux ps3 2.6.32-rc2-00995-g96ebbe6-dirty #2 SMP Fri Oct 2 15:12:28 CST
2009 ppc64 Cell Broadband Engine, altivec supported GNU/Linux
$ gcc --version
gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2
$ ../configure --prefix=/tmp/chenwj --enable-langugaes=c,c++
-----------------------------------------------------------------------
And here is the compiling error,
-----------------------------------------------------------------------
In file included from /usr/include/features.h:354,
from /usr/include/stdio.h:28,
from ../../gcc/tsystem.h:90,
from ../../gcc/crtstuff.c:68:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or
directory
make[3]: *** [crtbegin.o] Error 1
make[3]: Leaving directory
`/tmp/chenwj/llvm-gcc-4.2-2.8.source/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/tmp/chenwj/llvm-gcc-4.2-2.8.source/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/tmp/chenwj/llvm-gcc-4.2-2.8.source/build'
make: *** [all] Error 2
-----------------------------------------------------------------------
Any suggestion appreciated.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Parallel Processing Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
More information about the llvm-dev
mailing list