This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bootstrap/4681: segmentation fault during bootstrap (x-gcc)



>Number:         4681
>Category:       bootstrap
>Synopsis:       segmentation fault during bootstrap  (x-gcc)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 25 16:26:22 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     bp1@cn.stir.ac.uk
>Release:        gcc 3.0.1
>Organization:
>Environment:
SETENV CFLAGS "-O2 -march=k6"
roulade /home/bp1> gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.0/specs
Configured with: ../configure --enable-threads=posix --enable-shared --enable-long-long --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java --enable-nls --with-slibdir=/lib i486-suse-linux
Thread model: posix
Athlon Processor, SuSe Linux 7.3
gcc version 3.0 20010510 (prerelease)
roulade /home/bp1>
>Description:
/home/bp1/gcc-3.0.1/gcc/xgcc -B/home/bp1/gcc-3.0.1/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I.
-I./. -I./config -I./../include  -DL_muldi3 -c ./libgcc2.c -o
libgcc/./_muldi3.o
libgcc2.c: In function `__muldi3':
libgcc2.c:368: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
With the k6 compiler option. Without this option there is an error later
in the output:
ln: `./slist': File exists
ln: `./hash_map': File exists
ln: `./hash_set': File exists
ln: `./stl_hashtable.h': File exists
ln: `./stl_hash_fun.h': File exists
sed -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCPP_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /home/bp1/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3/../gcc/gthr.h > i686-pc-linux-gnu/bits/gthr.h
/bin/sh: /home/bp1/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3/../gcc/gthr.h: No such file or directory
make[3]: *** [i686-pc-linux-gnu/bits/gthr.h] Error 1
make[3]: Leaving directory `/home/bp1/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3/include'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bp1/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/bp1/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
roulade bp1/gcc-3.0.1>
The last error doesn't occur with the gcc-3.0.0. There the compilation goes through.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]