public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/3455: cc1 segmentation fault when building gcc 3.0 cross compiler
@ 2001-06-28 3:26 iain
0 siblings, 0 replies; only message in thread
From: iain @ 2001-06-28 3:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 3455
>Category: c
>Synopsis: cc1 segmentation fault when building gcc 3.0 cross compiler
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 28 03:26:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Iain Royle
>Release: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>Organization:
>Environment:
i-PIII, Redhat Linux 6.0
>Description:
I downloaded gcc 3.0.
Built it with "make bootstrap" and installed it.
I then used it to build a cross compiler using:
configure --target=powerpc-eabi --with-cpu=403
and building with:
make LANGUAGES="c c++"
This all seems to work fine until half way through building the cross compiler I get this:
--
...
echo "int xxy_us_dummy;" >tmp-dum.c
/home/gcc-3.0-powerpc/gcc/xgcc -B/home/gcc-3.0-powerpc/gcc/ -B/usr/local/powerpc-eabi/bin/ -B/usr/local/powerpc-eabi/lib/ -isystem /usr/local/powerpc-eabi/include -S tmp-dum.c
cc1: Internal error: Segmentation fault
Please submit a full bug report,
etc...
--
I'm pretty sure this is using:
/home/gcc-3.0-powerpc/gcc/cc1, not cc1 in any of the other paths.
I don't reckon I've made any obvious errors, and cc1 certainly shouldn't just crash anyway.
>How-To-Repeat:
If you try to build the cross compiler as I described above, with any "luck" the fault should occur. I can repeat it after that just doing:
echo "int xxy_us_dummy;" >tmp-dum.c
/home/gcc-3.0-powerpc/gcc/xgcc -B/home/gcc-3.0-powerpc/gcc/ tmp-dum.c
which causes:
cc1: Internal error: Segmentation fault
>Fix:
none known
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-28 3:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-28 3:26 c/3455: cc1 segmentation fault when building gcc 3.0 cross compiler iain
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).