Hi, folks
I am trying to build LLVM 2.8 Release on a Linux/PowerPC machine.
Actually, the PowerPC is a PS3.
Here is my system information:
----------------------------------------------------------------------
$ 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
-----------------------------------------------------------------------
And here is the compiling error,
-----------------------------------------------------------------------
llvm[3]: Compiling PPCISelLowering.cpp for Release build
/tmp/chenwj/llvm-2.8/lib/Target/PowerPC/PPCISelLowering.cpp: In member
function 'llvm::SDValue
llvm::PPCTargetLowering::LowerFormalArguments_SVR4(llvm::SDValue,
llvm::CallingConv::ID, bool, const
llvm::SmallVectorImpl<llvm::ISD::InputArg>&, llvm::DebugLoc,
llvm::SelectionDAG&, llvm::SmallVectorImpl<llvm::SDValue>&)
const':
/tmp/chenwj/llvm-2.8/lib/Target/PowerPC/PPCISelLowering.cpp:1772: error:
unrecognizable insn:
(insn 2374 2373 1450 120
/tmp/chenwj/llvm-2.8/include/llvm/CodeGen/ValueTypes.h:233 (set (reg:SI
11 11)
(mem/u/c/i:SI (symbol_ref/u:SI ("*.LC233") [flags 0x82]) [8 S4
A32])) -1 (insn_list:REG_LABEL_OPERAND 1454 (nil)))
/tmp/chenwj/llvm-2.8/lib/Target/PowerPC/PPCISelLowering.cpp:1772:
internal compiler error: in extract_insn, at recog.c:1994
----------------------------------------------------------------------
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