[LLVMbugs] compilation failed with linux/PPC for llvm-tools

Cyrille Mescam cyrille.mescam at lip6.fr
Tue Jun 7 06:22:33 PDT 2005


Hi,

I try to compile the llvm-tools-1.5 for linux/PPC, the process fails 
with this message :

mkdir build install
tar zxf llvm-1.5.tar.gz
cd build/
../configure --prefix=/mypath/to/install
gmake only-tools

--------------------------------------------------------------------------------------------------------------------------------------------------------------
gmake[3]: Entering directory 
`/usr/local/home/cyrille/project/llvm/build/lib/Target/PowerPC'
llvm[3]: Compiling PPC32JITInfo.cpp for Debug build
In file included from 
/usr/local/home/cyrille/project/llvm/build/../llvm/lib/Target/PowerPC/PPC32JITInfo.cpp:16:
/usr/local/home/cyrille/project/llvm/build/../llvm/lib/Target/PowerPC/PPC32Relocations.h:20: 
error: expected identifier before numeric constant
/usr/local/home/cyrille/project/llvm/build/../llvm/lib/Target/PowerPC/PPC32Relocations.h:20: 
error: expected unqualified-id before numeric constant
/usr/local/home/cyrille/project/llvm/build/../llvm/lib/Target/PowerPC/PPC32Relocations.h:20: 
error: expected `,' or `;' before numeric constant
/usr/local/home/cyrille/project/llvm/build/../llvm/lib/Target/PowerPC/PPC32JITInfo.cpp: 
In member function `virtual void llvm::PPC32JITInfo::relocate(void*, 
llvm::MachineRelocation*, unsigned int)':
/usr/local/home/cyrille/project/llvm/build/../llvm/lib/Target/PowerPC/PPC32JITInfo.cpp:194: 
error: expected `)' before '::' token
/usr/local/home/cyrille/project/llvm/build/../llvm/lib/Target/PowerPC/PPC32JITInfo.cpp:237: 
error: expected `)' before '}' token
/usr/local/home/cyrille/project/llvm/build/../llvm/lib/Target/PowerPC/PPC32JITInfo.cpp:237: 
error: expected primary-expression before '}' token
/usr/local/home/cyrille/project/llvm/build/../llvm/lib/Target/PowerPC/PPC32JITInfo.cpp:237: 
error: expected `;' before '}' token
gmake[3]: *** 
[/usr/local/home/cyrille/project/llvm/build/lib/Target/PowerPC/Debug/PPC32JITInfo.o] 
Error 1
gmake[3]: Leaving directory 
`/usr/local/home/cyrille/project/llvm/build/lib/Target/PowerPC'
gmake[2]: *** [PowerPC/.makeall] Error 2
gmake[2]: Leaving directory 
`/usr/local/home/cyrille/project/llvm/build/lib/Target'
gmake[1]: *** [Target/.makeall] Error 2
gmake[1]: Leaving directory `/usr/local/home/cyrille/project/llvm/build/lib'
gmake: *** [all] Error 1

--------------------------------------------------------------------------------------------------------------------------------------------------------------

Any help would be appreciate.

Regards.

Cyrille

-- 
M. Cyrille Mescam             (o_
UPMC-LIP6-SRC                 //\
8 rue du Capitaine Scott      v_/_
75015 Paris, France
http://vvm.lip6.fr/




More information about the llvm-bugs mailing list