[Bug bootstrap/37733] New: GCC Bootstrap fails in Stage 2 AIX 5.2
JFTrudeau at cvty dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 3 22:29:00 GMT 2008
build/genattr /mtg/arc/gcc-4.3.2/gcc/config/rs6000/rs6000.md \
insn-conditions.md > tmp-attr.h
/mtg/TOOL/powerpc-AIX5.2/bin/bash /mtg/arc/gcc-4.3.2/gcc/../move-if-change
tmp-attr.h insn-attr.h
echo timestamp > s-attr
/mtg/arc/gcc-4.3.2-powerpc-AIX5.2/./prev-gcc/xgcc
-B/mtg/arc/gcc-4.3.2-powerpc-AIX5.2/./prev-gcc/
-B/mtg/TOOL/gcc-4.3.2/powerpc-AIX5.2/powerpc-ibm-aix5.2.0.0/bin/ -c -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -I. -I. -I/mtg/arc/gcc-4.3.2/gcc -I/mtg/arc/gcc-4.3.2/gcc/.
-I/mtg/arc/gcc-4.3.2/gcc/../include -I./../intl
-I/mtg/arc/gcc-4.3.2/gcc/../libcpp/include -I/mtg/TOOL/powerpc-AIX5.2/include
-I/mtg/TOOL/include -I/mtg/arc/gcc-4.3.2/gcc/../libdecnumber
-I/mtg/arc/gcc-4.3.2/gcc/../libdecnumber/dpd -I../libdecnumber
insn-attrtab.c -o insn-attrtab.o
/mtg/arc/gcc-4.3.2/gcc/config/rs6000/rs6000.md: In function
'internal_dfa_insn_code':
/mtg/arc/gcc-4.3.2/gcc/config/rs6000/rs6000.md:148: internal compiler error:
Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [insn-attrtab.o] Error 1
make[4]: Leaving directory `/mtg/arc/gcc-4.3.2-powerpc-AIX5.2/gcc'
make[3]: *** [all-stage2-gcc] Error 2
make[3]: Leaving directory `/mtg/arc/gcc-4.3.2-powerpc-AIX5.2'
make[2]: *** [stage2-bubble] Error 2
make[2]: Leaving directory `/mtg/arc/gcc-4.3.2-powerpc-AIX5.2'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/mtg/arc/gcc-4.3.2-powerpc-AIX5.2'
cd gcc-4.3.2-powerpc-AIX5.2
/mtg/TOOL/powerpc-AIX5.2/bin/bash /mtg/arc/gcc-4.3.2/configure
--prefix=/mtg/TOOL/gcc-4.3.2 --exec-prefix=/mtg/TOOL/gcc-4.3.2/powerpc-AIX5.2
--with-gmp=/mtg/TOOL/powerpc-AIX5.2 --with-mpfr=/mtg/TOOL
After researching the problem on the internet I found some reports that
indicated that this file was too large in some environments.
-rw-rw-r-- 1 trudeajo fhaf 6278 2008-10-03 14:07 insn-attr.h
-rw-rw-r-- 1 trudeajo fhaf 1393534 2008-10-03 14:07 insn-attrtab.c
I attempted to reduce the size by removing some includes from rs6000.md:
--- gcc/config/rs6000/rs6000.md.~1~ 2008-07-03 19:32:23.000000000 -0700
+++ gcc/config/rs6000/rs6000.md 2008-10-02 16:56:12.000000000 -0700
@@ -159,10 +159,6 @@
(include "rios2.md")
(include "rs64.md")
(include "mpc.md")
-(include "40x.md")
-(include "440.md")
-(include "603.md")
-(include "6xx.md")
(include "7xx.md")
(include "7450.md")
(include "8540.md")
This allowed insn-attrtab.c to compile, however the build failed on the very
next compile:
build/genattr /mtg/arc/gcc-4.3.2/gcc/config/rs6000/rs6000.md \
insn-conditions.md > tmp-attr.h
/mtg/TOOL/powerpc-AIX5.2/bin/bash /mtg/arc/gcc-4.3.2/gcc/../move-if-change
tmp-attr.h insn-attr.h
echo timestamp > s-attr
/mtg/arc/gcc-4.3.2-powerpc-AIX5.2/./prev-gcc/xgcc
-B/mtg/arc/gcc-4.3.2-powerpc-AIX5.2/./prev-gcc/
-B/mtg/TOOL/gcc-4.3.2/powerpc-AIX5.2/powerpc-ibm-aix5.2.0.0/bin/ -c -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -I. -I. -I/mtg/arc/gcc-4.3.2/gcc -I/mtg/arc/gcc-4.3.2/gcc/.
-I/mtg/arc/gcc-4.3.2/gcc/../include -I./../intl
-I/mtg/arc/gcc-4.3.2/gcc/../libcpp/include -I/mtg/TOOL/powerpc-AIX5.2/include
-I/mtg/TOOL/include -I/mtg/arc/gcc-4.3.2/gcc/../libdecnumber
-I/mtg/arc/gcc-4.3.2/gcc/../libdecnumber/dpd -I../libdecnumber
insn-attrtab.c -o insn-attrtab.o
/mtg/arc/gcc-4.3.2-powerpc-AIX5.2/./prev-gcc/xgcc
-B/mtg/arc/gcc-4.3.2-powerpc-AIX5.2/./prev-gcc/
-B/mtg/TOOL/gcc-4.3.2/powerpc-AIX5.2/powerpc-ibm-aix5.2.0.0/bin/ -c -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/mtg/arc/gcc-4.3.2/gcc
-I/mtg/arc/gcc-4.3.2/gcc/build -I/mtg/arc/gcc-4.3.2/gcc/../include -I./../intl
-I/mtg/arc/gcc-4.3.2/gcc/../libcpp/include -I/mtg/TOOL/powerpc-AIX5.2/include
-I/mtg/TOOL/include -I/mtg/arc/gcc-4.3.2/gcc/../libdecnumber
-I/mtg/arc/gcc-4.3.2/gcc/../libdecnumber/dpd -I../libdecnumber -o
build/genautomata.o /mtg/arc/gcc-4.3.2/gcc/genautomata.c
/mtg/arc/gcc-4.3.2/gcc/genautomata.c: In function 'create_automata':
/mtg/arc/gcc-4.3.2/gcc/genautomata.c:6534: internal compiler error: Illegal
instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [build/genautomata.o] Error 1
make[4]: Leaving directory `/mtg/arc/gcc-4.3.2-powerpc-AIX5.2/gcc'
make[3]: *** [all-stage2-gcc] Error 2
make[3]: Leaving directory `/mtg/arc/gcc-4.3.2-powerpc-AIX5.2'
make[2]: *** [stage2-bubble] Error 2
make[2]: Leaving directory `/mtg/arc/gcc-4.3.2-powerpc-AIX5.2'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/mtg/arc/gcc-4.3.2-powerpc-AIX5.2'
I also tried the latest 4.3 snapshot with the same results.
GCC 4.2.4 bootstrap is successful on this host.
--
Summary: GCC Bootstrap fails in Stage 2 AIX 5.2
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: JFTrudeau at cvty dot com
GCC build triplet: powerpc-ibm-aix5.2.0.0
GCC host triplet: powerpc-ibm-aix5.2.0.0
GCC target triplet: powerpc-ibm-aix5.2.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37733
More information about the Gcc-bugs
mailing list