This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
make aborts after "Segmentation Fault"
- To: gcc-bugs at gcc dot gnu dot org
- Subject: make aborts after "Segmentation Fault"
- From: dietrich-e dot alker at wwgsolutions dot com
- Date: Tue, 18 Apr 2000 15:17:38 +0200
- >Received: from magnus.eni.wago.de by wago.de (SMI-8.6/SMI-SVR4)id PAA03814; Tue, 18 Apr 2000 15:17:44 +0200
Dear Maintainers of GCC,
installing gcc-2.95.2 under Solaris 2.6 failed due to the following problem:
Both when issuing
gmake bootstrap[-lean] (as seen in log section "gmake stage1")
and when issuing the old-fashioned sequence
gmake
cd gcc
gmake stage1
gmake CC="stage1/xgcc -Bstage1/"
gmake exits immediately after the [second(?) invocation of the] command
./gegenrtl tmp-genrtl.h tmp-genrtl.c
reporting
gmake: *** [s-genrtl] Segmentation Fault (core dumped)
Thereafter, tmp-genrtl.h is empty and tmp-genrtl.c does not exist.
Note: The _first_(?) invocation of this command seems to work.
Release: gcc-core-2.95.2.tar.gz and gcc-g++-2.95.2.tar.gz (of 1999-10-25).
OS: Solaris 2.6. Mach: Sun Ultra-Sparc 5. Existing compiler: gcc 2.7.2.3.
Configured close to the instructions from the web ("Last modified 2000-3-16") in
the following way (extract of a csh script):
set release = 'gcc-2.95.2'
set objdir = /gnu/sol26/obj/$release
set srcdir = /gnu/src/$release
if ( ! -d $objdir ) then
mkdir $objdir
endif
cd $objdir
time $srcdir/configure \
--prefix=/gnu \
--exec-prefix=/gnu/sol26 \
--includedir=/gnu/include/$release \
--with-local-prefix=/gnu/include/$release \
--enable-shared \
--enable-haifa \
--without-fast-fixincludes \
--enable-version-specific-runtime-libs \
--enable-languages=c++
The last part of gmake's output (for target "bootstrap") follows here:
...
gmake stage1
...
gmake[2]: Entering directory `/gnu/sol26/obj/gcc-2.95.2/gcc'
...
gmake[3]: Entering directory `/gnu/sol26/obj/gcc-2.95.2/gcc/intl'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/gnu/sol26/obj/gcc-2.95.2/gcc/intl'
stage1/xgcc -Bstage1/ -B/gnu/sol26/sparc-sun-solaris2.6/bin/ -c
-DIN_GCC -DHAIFA -DSVR4 -O2 -g -O2 -DHAVE_CONFIG_H -I.
-I/gnu/src/gcc-2.95.2/gcc -I/gnu/src/gcc-2.95.2/gcc/config
-I/gnu/src/gcc-2.95.2/gcc/../include \
/gnu/src/gcc-2.95.2/gcc/gencheck.c
stage1/xgcc -Bstage1/ -B/gnu/sol26/sparc-sun-solaris2.6/bin/
-DIN_GCC -DHAIFA -DSVR4 -O2 -g -O2 -DHAVE_CONFIG_H -o gencheck \
gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac `
` case "alloca.o" in ?*) echo alloca.o ;; esac `
` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
` case "" in ?*) echo ;; esac `
./gencheck > tmp-check.h
/gnu/src/gcc-2.95.2/gcc/move-if-change tmp-check.h tree-check.h
touch s-check
stage1/xgcc -Bstage1/ -B/gnu/sol26/sparc-sun-solaris2.6/bin/ -c
-DIN_GCC -DHAIFA -DSVR4 -O2 -g -O2 -DHAVE_CONFIG_H -I.
-I/gnu/src/gcc-2.95.2/gcc -I/gnu/src/gcc-2.95.2/gcc/config
-I/gnu/src/gcc-2.95.2/gcc/../include /gnu/src/gcc-2.95.2/gcc/gengenrtl.c
stage1/xgcc -Bstage1/ -B/gnu/sol26/sparc-sun-solaris2.6/bin/
-DIN_GCC -DHAIFA -DSVR4 -O2 -g -O2 -DHAVE_CONFIG_H -o gengenrtl \
gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac `
` case "alloca.o" in ?*) echo alloca.o ;; esac `
` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
` case "" in ?*) echo ;; esac `
./gengenrtl tmp-genrtl.h tmp-genrtl.c
gmake[2]: *** [s-genrtl] Segmentation Fault (core dumped)
gmake[2]: Leaving directory `/gnu/sol26/obj/gcc-2.95.2/gcc'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory `/gnu/sol26/obj/gcc-2.95.2/gcc'
gmake: *** [bootstrap] Error 2
Any kind of advice would be highly appreciated.
Regards,
Dietrich Alker (alker@wago.de)
WAVETEK WANDEL GOLTERMANN
72800 Eningen, Germany