[LLVMdev] problem compiling the cfrontend on Linux/PPC
Cyrille Mescam
cyrille.mescam at lip6.fr
Mon Jun 13 02:49:55 PDT 2005
Hi,
When compiling the cfrontend for Linux/PPC architecture on a powermac G5, i got
the following error :
-------------------------------Compilation error listing
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
make
GCC_FOR_TARGET="/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc/xgcc
-B/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc/
-B/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/bin/
-B/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/lib/
-isystem
/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/include
-isystem
/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/sys-include"
\
AR_FOR_TARGET="powerpc-unknown-linux-gnu-ar" \
AR_CREATE_FOR_TARGET="powerpc-unknown-linux-gnu-ar rc" \
AR_EXTRACT_FOR_TARGET="powerpc-unknown-linux-gnu-ar x" \
AR_FLAGS_FOR_TARGET="" \
CC="gcc" CFLAGS="-O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -fno-common " \
BUILD_PREFIX="" \
BUILD_PREFIX_1="loser-" \
LANGUAGES="" \
LIBGCC2_CFLAGS="-O2 -DIN_GCC
-DDEFAULT_TARGET_MACHINE=\"powerpc-unknown-linux-gnu\" -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-fPIC -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fPIC -mstrict-align " \
MULTILIB_CFLAGS=" -fPIC -mstrict-align" T= ecrti.o
make[3]: Entering directory
`/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc'
/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc/xgcc
-B/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc/
-B/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/bin/
-B/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/lib/
-isystem
/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/include
-isystem
/usr/local/home/cyrille/project/llvm/cfrontend/install/powerpc-unknown-linux-gnu/sys-include
-DIN_GCC -DDEFAULT_TARGET_MACHINE=\"powerpc-unknown-linux-gnu\" -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I.
-I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -fPIC
-mstrict-align -c ecrti.S -o ecrti.o
gccas: /tmp/ccxlWeFz.s:1: syntax error, unexpected $undefined
/tmp/ccxlWeFz.s:1: while reading token: '#'
make[3]: *** [ecrti.o] Erreur 1
make[3]: Leaving directory
`/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc'
make[2]: *** [ecrti.o] Erreur 2
make[2]: Leaving directory
`/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc'
make[1]: *** [stmp-multilib] Erreur 2
make[1]: Leaving directory
`/usr/local/home/cyrille/project/llvm/cfrontend/build/gcc'
make: *** [all-gcc] Erreur 2
-------------------------------END Compilation error listing
It seems that error has to do with gccas which failed to parse a file (?!)
If anyone has an idea...
Regards.
Cyrille Mescam
--
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-dev
mailing list