I forgot to mention: if I configure the cross-compiler with
--enable-languages=c only, it builds without any problems
Andreas Pfeil wrote:
Hi everybody,
I'm trying to compile an Ada cross-compiler for a powerpc-target (using
a native compiler created from the latest CVS sources, trying to compile
the latest CVS sources). Has anybody seen this problem, too?
Cheers,
Andreas
../../gcc-cvs/gcc/configure --target=powerpc-rtems
-prefix=/home/ap/crossGNAT/gcc410 --with-newlib --with-gnu-as
-with-gnu-ld --enable-languages=c,ada
when running make, the process stops with the following error:
make[4]: Entering directory `/home/ap/crossGNAT/b-gcc410/gcc/ada/rts'
../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg a-caldel.adb -o
a-caldel.o
../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg a-calend.adb -o
a-calend.o
raised STORAGE_ERROR : stack overflow (or erroneous memory access)
make[4]: *** [a-calend.o] Error 1
make[4]: Leaving directory `/home/ap/crossGNAT/b-gcc410/gcc/ada/rts'
make[3]: *** [gnatlib] Error 2
make[3]: Leaving directory `/home/ap/crossGNAT/b-gcc410/gcc/ada'
make[2]: *** [gnatlib-plain] Error 2
make[2]: Leaving directory
`/home/ap/crossGNAT/b-gcc410/powerpc-rtems/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/home/ap/crossGNAT/b-gcc410'
make: *** [all] Error 2
my gcc version is:
ap@columbia ~/crossGNAT/b-gcc410 $ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/ap/gcc-cvs/gcc/configure
--prefix=/home/ap/crossGNAT/nativegcc410/ --enable-languages=c,ada
Thread model: posix
gcc version 4.1.0 20051026 (experimental)