From: Andreas Pfeil <ap@rsise.anu.edu.au>
To: gcc-help@gcc.gnu.org
Subject: Re: compiling ada cross-compiler
Date: Thu, 27 Oct 2005 15:17:00 -0000 [thread overview]
Message-ID: <4360EFA9.9020709@rsise.anu.edu.au> (raw)
In-Reply-To: <4360E9DF.6050905@rsise.anu.edu.au>
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)
prev parent reply other threads:[~2005-10-27 15:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-27 14:52 Andreas Pfeil
2005-10-27 15:17 ` Andreas Pfeil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4360EFA9.9020709@rsise.anu.edu.au \
--to=ap@rsise.anu.edu.au \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).