This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/650: cc1: Internal error; FreeBSD4/gcc-20001017
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/650: cc1: Internal error; FreeBSD4/gcc-20001017
- From: arno at heho dot snv dot jussieu dot fr
- Date: Tue, 17 Oct 2000 11:17:25 +0200 (MEST)
- 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, arno@heho.snv.jussieu.fr
>Number: 650
>Category: c
>Synopsis: freebsd4/gcc-20001017 cc1: Internal error: Segmentation fault
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Tue Oct 17 02:26:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Arno Klaassen
>Release: 2.97
>Organization:
INSERM U483
>Environment:
System: FreeBSD angora 4.1-STABLE FreeBSD 4.1-STABLE #0: Fri Sep 22 18:38:42 MEST 2000 toor@angora:/usr/obj/usr/src/sys/biPIII i386
CFLAGS= -O2 -pipe -march=i586 -mcpu=i686
host: i686-pc-freebsd4
build: i686-pc-freebsd4
target: i686-pc-freebsd4
>Description:
make bootstrap ends with a ``cc1: Internal error: Segmentation fault''
when compiling tmp-dum.c which the stage1 compiled compiler
>How-To-Repeat:
CVS-date: Tue Oct 17 10:18 MEST 2000 (problem exists at least since Oct 13)
mkdir -p obj/freebsd4
../../configure --verbose --host=i686-pc-freebsd4 --with-gnu-as --with-gnu-ld --disable-shared --prefix=/usr/vol/opt/freebsd4/gcc-20001017
make bootstrap
end of build log:
####
ar rc libcpp.a cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpphash.o
cpperror.o cppinit.o cppdefault.o cppoutput.o mkdeps.o prefix.o version.o
mbchar.o
if [ -f ranlib ] || [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then
ranlib libcpp.a ; else true ; fi
stage1/xgcc -Bstage1/
-B/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/bin/ -DIN_GCC
-O2 -O2 -pipe -march=i586 -mcpu=i686 -W -Wall -Wtraditional
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -DHAVE_CONFIG_H -o cpp0 cppmain.o \
intl.o libcpp.a obstack.o ./intl/libintl.a ../libiberty/libiberty.a
./xgcc -B./ -B/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/bin/
-isystem /usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/include
-dumpspecs > tmp-specs
mv tmp-specs specs
echo "int xxy_us_dummy;" >tmp-dum.c
./xgcc -B./ -B/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/bin/
-isystem /usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/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
####
output of
./xgcc -B./ -B/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/bin/ -v :
####
Reading specs from ./specs
Configured with: --verbose --host=i686-pc-freebsd4 --with-gnu-as
--with-gnu-ld --disable-shared
--prefix=/usr/vol/opt/freebsd4/gcc-20001017
gcc version 2.97 20001017 (experimental)
####
tmp-dum.c:
####
int xxy_us_dummy;
####
output of
./xgcc -B./ -B/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/bin/
-v -isystem /usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/include
-save-temps -S tmp-dum.c :
####
Reading specs from ./specs
Configured with: --verbose --host=i686-pc-freebsd4 --with-gnu-as
--with-gnu-ld --disable-shared
--prefix=/usr/vol/opt/freebsd4/gcc-20001017
gcc version 2.97 20001017 (experimental)
./cpp0 -lang-c -v -iprefix ./../lib/gcc-lib/i686-pc-freebsd4/2.97/
-isystem ./include -isystem
/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/bin/include
-D__GNUC__=2 -D__GNUC_MINOR__=97 -D__GNUC_PATCHLEVEL__=0 -Dunix -D__ELF__
-D__FreeBSD__ -D__unix__ -D__ELF__ -D__FreeBSD__ -D__unix -Asystem(unix)
-Asystem(bsd) -Asystem(FreeBSD) -D__STDC_HOSTED__=1 -Acpu(i386)
-Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i686__
-D__tune_pentiumpro__ -isystem
/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/include tmp-dum.c
tmp-dum.i
GNU CPP version 2.97 20001017 (experimental) (cpplib) (i386 FreeBSD/ELF)
ignoring nonexistent directory
"/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/bin/include"
ignoring nonexistent directory
"/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/include"
ignoring nonexistent directory
"../lib/gcc-lib/i686-pc-freebsd4/2.97/include"
ignoring nonexistent directory "../i686-pc-freebsd4/include"
ignoring nonexistent directory
"/usr/vol/opt/freebsd4/gcc-20001017/lib/gcc-lib/i686-pc-freebsd4/2.97/include"
ignoring nonexistent directory
"/usr/vol/opt/freebsd4/gcc-20001017/i686-pc-freebsd4/include"
#include "..." search starts here:
#include <...> search starts here:
include
/usr/local/include
/usr/include
End of search list.
./cc1 tmp-dum.i -quiet -dumpbase tmp-dum.c -version -o tmp-dum.s
GNU C version 2.97 20001017 (experimental) (i686-pc-freebsd4) compiled by
GNU C version 2.97 20001017 (experimental).
cc1: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
####
tmp-dum.i:
####
# 1 "tmp-dum.c"
int xxy_us_dummy;
####
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: