This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/642: segfault on 'cc1' when trying to build the compiler
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/642: segfault on 'cc1' when trying to build the compiler
- From: olivier at zipworl dot com dot au
- Date: 15 Oct 2000 11:10:35 -0000
- Reply-To: olivier at zipworl dot com dot au
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, olivier@zipworl.com.au
>Number: 642
>Category: c
>Synopsis: segfault on 'cc1' when trying to build the compiler
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 15 04:16:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Olivier Louchart-Fletcher
>Release: CVS-tree, Sunday 2000-10-15
>Organization:
>Environment:
i686-pc-linux-gnu, Debian (Woody)
>Description:
Not able to build the compiler.
Segmentation fault during the building process.
GCC pass all stage1 and then dies at the first
invocation of the newly created 'cc1'.
which is for me: (dir: objdir/gcc/gcc)
./xgcc -B./ -B/usr/local/gcc/i686-pc-linux-gnu/bin/ -isystem /usr/local/gcc/i686-pc-linux-gnu/include -S tmp-dum.c
cc1: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [s-under] Error 1
make[2]: Leaving directory `/home/olivier/buildtmp/gcc/gcc'
make[1]: *** [stage_c] Error 2
make[1]: Leaving directory `/home/olivier/buildtmp/gcc/gcc'
make: *** [bootstrap] Error 2
>How-To-Repeat:
Very simple, on my platform: Debian 2.2, i686-pc-linux-gnu
any attempt to build the compiler from CVS:
So the following:
mkdir objdir
cd objdir
../cvs/gcc/configure --prefix=/usr/local/gcc --enable-shared --enable-languages=c++
make bootstrap
will segfault at the first invocation of the newly created
'cc1'. This appends just after the first pass (stage1).
>Fix:
Unfortunatelly, I do not have any!
I am very sorry!
>Release-Note:
>Audit-Trail:
>Unformatted: