Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Apr 2005 12:39:37 +0200
From:      Jiri Novak <novak@nostromo.cz>
To:        freebsd-questions@freebsd.org
Subject:   segfaulting gcc
Message-ID:  <d2j8ap$jk$1@sea.gmane.org>

next in thread | raw e-mail | index | archive | help
Hello,
I have system running:
FreeBSD wopice.valleyofdeath.net 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed
Feb 16 13:05:24 CET 2005
root@wopice.valleyofdeath.net:/usr/obj/usr/src/sys/WOPICE  i386
and I have noticed that lots of ports fail to build because of "internal 
compiler error" from GCC... Okay, so I supposed there is something 
rotten in GCC, so I've tried to upgrade to 5.4-PRERELEASE, and surprise 
surprise, I've got internal compiler error when building bootstrap tools:
--------------------------------------------------------------
 >>> stage 1.2: bootstrap tools
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR= 
INSTALL="sh /usr/src/tools/install.sh" 
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS="-m /usr/src/tools/build/mk 
  -m /usr/src/share/mk" make -f Makefile.inc1  BOOTSTRAPPING=503102 
-DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE  -DNOSHARED 
-DNO_CPU_CFLAGS -DNO_WARNS bootstrap-tools
===> gnu/usr.bin/gperf
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf created for 
/usr/src/gnu/usr.bin/gperf
===> gnu/usr.bin/gperf/doc
/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf/doc created for 
/usr/src/gnu/usr.bin/gperf/doc
rm -f .depend
mkdep -f .depend -a    -I/usr/obj/usr/src/i386/legacy/usr/include 
-I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib 
-I/usr/src/gnu/usr.bin/gperf 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/gen-perf.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/hash-table.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/iterator.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/key-list.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/list-node.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/main.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/options.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/read-line.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/vectors.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/version.cc 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/hash.cc
In file included from 
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/key-list.cc:0:
<internal>:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
mkdep: compile failed
*** Error code 1

Stop in /usr/src/gnu/usr.bin/gperf.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
root@wopice:/usr/src#
==
no go... So my question is - is there some clean way to get out of this 
without reinstalling the system, or am I doomed?

TIA
--
Jiri Novak



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d2j8ap$jk$1>