This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/15581] New: build a new version gcc failure
- From: "psho at hko dot gov dot hk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2004 03:02:36 -0000
- Subject: [Bug bootstrap/15581] New: build a new version gcc failure
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I wish to build a gcc 3.3.2 compiler on the IBM P630 AIX5.2 ML 2 machine by
make-3.80 and old gcc compiler version
gcc -v
Reading specs from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-0202
09/specs
gcc version 2.9-aix51-020209
and the installation shell script "gcc332.sh" with options
#!/bin/sh
# tar and gz files from melas:/usr/local/src/tarballs, user is finstl
# put them into /home/user1/finstl directory and su - root.
PATH=/usr/bin:$PATH:.
cd /base/source
gunzip < tarballs/gcc-3.3.2.tar.gz | tar xvf -
CC=gcc
cd gcc-3.3.2
./configure \
--prefix=/usr/local/gcc33 \
--enable-languages=c,c++,f77
# must use gnu make version 3.8 or later
/usr/local/make380/bin/make -j4 bootstrap
/usr/local/make380/bin/make install
# test the /usr/local/gcc33/bin/gcc in compiler programs
However new gcc build in failure and the following internal compiler error was
happened:
/base/source/gcc-3.3.2/gcc/xgcc -B/base/source/gcc-3.3.2/gcc/ -B/usr/local/gcc33
/powerpc-ibm-aix5.2.0.0/bin/ -B/usr/local/gcc33/powerpc-ibm-aix5.2.0.0/lib/ -isy
stem /usr/local/gcc33/powerpc-ibm-aix5.2.0.0/include -O2 -DIN_GCC -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I. -I./. -I.
/config -I./../include -DL_fixunsdfsi -c ./libgcc2.c -o libgcc/./_fixunsdfsi.o
libgcc2.c: In function `__fixunsdfsi':
libgcc2.c:1161: error: unrecognizable insn:
(insn:HI 11 10 12 0 0 (set (reg:CCEQ 122)
(compare:CCEQ (ior:SI (gt:SI (reg:CCFP 121)
(const_int 0 [0x0]))
(eq:SI (reg:CCFP 121)
(const_int 0 [0x0])))
(const_int 1 [0x1]))) -1 (insn_list 10 (nil))
(expr_list:REG_DEAD (reg:CCFP 121)
(nil)))
libgcc2.c:1161: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [libgcc/./_fixunsdfsi.o] Error 1
make[2]: Leaving directory `/base/source/gcc-3.3.2/gcc'
make[1]: *** [stmp-multilib] Error 2
Would you give me hints to solve the problem?
--
Summary: build a new version gcc failure
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: psho at hko dot gov dot hk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15581