This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/4743: upgrade gcc-2.96 to gcc3.02 failed
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/4743: upgrade gcc-2.96 to gcc3.02 failed
- From: p dot c dot m dot chiu at rl dot ac dot uk
- Date: 30 Oct 2001 14:51:55 -0000
- Reply-To: p dot c dot m dot chiu at rl dot ac dot uk
>Number: 4743
>Category: c
>Synopsis: upgrade gcc-2.96 to gcc3.02 failed
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 30 06:56:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Peter Chiu
>Release: gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
>Organization:
>Environment:
Red Hat 7.2
>Description:
RedHat 7.2 is shipped with gcc 2.96.
I attempted to upgrade this to gcc 3.0.2.
Having unravelled the folliwing kits
gcc-3.0.2.tar.bz2 gcc-objc-3.0.2.tar.bz2
gcc-g++-3.0.2.tar.bz2 gcc-g77-3.0.2.tar.bz2 MPlayer-0.50.tar.bz2 gcc-java-3.0.2.tar.bz2
into /usr/local, I invoked
cd /usr/local/gcc-3.0.2
./configure
and then
make bootstrap
The following errors came up and the upgrade
was terminated abnormally. This bug report
is made as suggested by the error messages.
...
(cd intl && make all)
make[3]: Entering directory `/usr/local/gcc-3.0.2/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/gcc-3.0.2/gcc/intl'
(cd po && make all)
make[3]: Entering directory `/usr/local/gcc-3.0.2/gcc/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/gcc-3.0.2/gcc/po'
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I. -I./. -I./config -I./../include \
./gencheck.c
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gencheck \
gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*)
echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac
` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./gencheck > tmp-check.h
/bin/sh ./move-if-change tmp-check.h tree-check.h
echo timestamp > s-check
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I. -I./. -I./config -I./../include -c ./c-parse.c
/usr/lib/bison.simple: In function `yyparse_1':
/usr/lib/bison.simple:761: 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.
make[2]: *** [c-parse.o] Error 1
make[2]: Leaving directory `/usr/local/gcc-3.0.2/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/usr/local/gcc-3.0.2/gcc'
make: *** [bootstrap] Error 2
[root@atsrlx2 gcc-3.0.2]#
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: