public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compiling ada cross-compiler
@ 2005-10-27 14:52 Andreas Pfeil
  2005-10-27 15:17 ` Andreas Pfeil
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Pfeil @ 2005-10-27 14:52 UTC (permalink / raw)
  To: gcc-help

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: compiling ada cross-compiler
  2005-10-27 14:52 compiling ada cross-compiler Andreas Pfeil
@ 2005-10-27 15:17 ` Andreas Pfeil
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Pfeil @ 2005-10-27 15:17 UTC (permalink / raw)
  To: gcc-help

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-27 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-27 14:52 compiling ada cross-compiler Andreas Pfeil
2005-10-27 15:17 ` Andreas Pfeil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).