public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/37733]  New: GCC Bootstrap fails in Stage 2 AIX 5.2
@ 2008-10-03 22:29 JFTrudeau at cvty dot com
  2008-10-03 22:32 ` [Bug bootstrap/37733] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: JFTrudeau at cvty dot com @ 2008-10-03 22:29 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-37733-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-05-05 19:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-03 22:29 [Bug bootstrap/37733] New: GCC Bootstrap fails in Stage 2 AIX 5.2 JFTrudeau at cvty dot com
2008-10-03 22:32 ` [Bug bootstrap/37733] " pinskia at gcc dot gnu dot org
2008-10-03 22:36 ` JFTrudeau at cvty dot com
2008-10-03 22:37 ` JFTrudeau at cvty dot com
2008-10-12 22:43 ` dje at gcc dot gnu dot org
     [not found] <bug-37733-4@http.gcc.gnu.org/bugzilla/>
2012-05-04 20:10 ` steven at gcc dot gnu.org
2012-05-05 19:42 ` dje at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).