This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem building GCC on PowerPC wiht AltiVec enabled


Hi,
I'm trying to compile GCC 3.1 for power pc (I have a SuSE7.1 installation, and want to add the GCC 3.1 compiler).
I need the altivec compiled in.

I've configured the build using:
../gcc-3.1/configure --prefix=/opt/gcc-3.1 --enable-shared --enable-threads --enable-languages=c,c++ --enable-altivec

(I'm building in a directory "ppc" which located next to the gcc-3.1 sources).

and then:

make bootstrap

After a while, the compilations fails with the following messages:
./xgcc -B./ -B/opt/gcc-3.1/powerpc-unknown-linux-gnu/bin/ -isystem /opt/gcc-3.1/
powerpc-unknown-linux-gnu/include -isystem /opt/gcc-3.1/powerpc-unknown-linux-gn
u/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmi
ssing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -
D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-3.1/gcc -I../../gcc-3.1/gcc/. -I../
../gcc-3.1/gcc/config -I../../gcc-3.1/gcc/../include -fPIC -mstrict-align -fexce
ptions -c ../../gcc-3.1/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
/tmp/ccCpQ6Cz.s: Assembler messages:
/tmp/ccCpQ6Cz.s:3242: Error: Unrecognized opcode: `mfvrsave'
/tmp/ccCpQ6Cz.s:3243: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3246: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3249: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3252: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3255: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3258: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3261: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3264: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3267: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3270: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3273: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3276: Error: Unrecognized opcode: `stvx'
/tmp/ccCpQ6Cz.s:3281: Error: Unrecognized opcode: `mtvrsave'
/tmp/ccCpQ6Cz.s:3440: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3442: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3444: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3446: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3448: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3450: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3452: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3454: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3456: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3458: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3460: Error: Unrecognized opcode: `lvx'
/tmp/ccCpQ6Cz.s:3462: Error: Unrecognized opcode: `lvx'


and there are many more (reapeting). Then the build stops.

When I've tried to compile without the AltiVec enabled I didn't get any errors.

Any idea what am I missing? Do I need a compiler that support altivec in order to make such a build?

Thanks,
Ilan



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]