* [Bug c/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
@ 2008-12-22 14:54 ` tammer at tammer dot net
2008-12-22 14:55 ` tammer at tammer dot net
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2008-12-22 14:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tammer at tammer dot net 2008-12-22 14:53 -------
Created an attachment (id=16963)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16963&action=view)
spec file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
2008-12-22 14:54 ` [Bug c/38606] " tammer at tammer dot net
@ 2008-12-22 14:55 ` tammer at tammer dot net
2008-12-22 14:56 ` tammer at tammer dot net
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2008-12-22 14:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tammer at tammer dot net 2008-12-22 14:54 -------
Created an attachment (id=16964)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16964&action=view)
script to start build
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
2008-12-22 14:54 ` [Bug c/38606] " tammer at tammer dot net
2008-12-22 14:55 ` tammer at tammer dot net
@ 2008-12-22 14:56 ` tammer at tammer dot net
2008-12-22 14:56 ` tammer at tammer dot net
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2008-12-22 14:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tammer at tammer dot net 2008-12-22 14:55 -------
Created an attachment (id=16965)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16965&action=view)
build log
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (2 preceding siblings ...)
2008-12-22 14:56 ` tammer at tammer dot net
@ 2008-12-22 14:56 ` tammer at tammer dot net
2008-12-22 15:17 ` tammer at tammer dot net
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2008-12-22 14:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tammer at tammer dot net 2008-12-22 14:55 -------
Created an attachment (id=16966)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16966&action=view)
last 250 lines build log
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (3 preceding siblings ...)
2008-12-22 14:56 ` tammer at tammer dot net
@ 2008-12-22 15:17 ` tammer at tammer dot net
2008-12-22 15:18 ` tammer at tammer dot net
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2008-12-22 15:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from tammer at tammer dot net 2008-12-22 15:16 -------
Hello,
some additions:
The same happens for genautomata.c.
/opt/freeware/src/packages/BUILD/gcc-build/./prev-gcc/xgcc
-B/opt/freeware/src/packages/BUILD/gcc-build/./prev-gcc/
-B/opt/freeware/powerpc-ibm-aix5.3.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../../gcc-4.3.2/gcc -I../../gcc-4.3.2/gcc/build
-I../../gcc-4.3.2/gcc/../include -I../../gcc-4.3.2/gcc/../libcpp/include
-I../../gcc-4.3.2/gcc/../libdecnumber -I../../gcc-4.3.2/gcc/../libdecnumber/dpd
-I../libdecnumber -I/opt/freeware/include -o build/genautomata.o
../../gcc-4.3.2/gcc/genautomata.c
: In function 'create_automata':
:6534: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [build/genautomata.o] Error 1
I have successfully tried to produce the preprocessed output with -E. This
worked OK.
After that I could compile the two preprocessed files with 4.2.4 gcc -c xxx.c
... With 4.3.2 gcc the same error happens:
export PATH=/opt/freeware/src/packages/BUILD/gcc-build/prev-gcc:$PATH;xgcc -c
insn-attrtab.prep.c
../../gcc-4.3.2/gcc/config/rs6000/rs6000.md: In function
'internal_dfa_insn_code':
../../gcc-4.3.2/gcc/config/rs6000/rs6000.md:148: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
I will upload the two files.
Bye
Rainer
P.S.:
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (4 preceding siblings ...)
2008-12-22 15:17 ` tammer at tammer dot net
@ 2008-12-22 15:18 ` tammer at tammer dot net
2008-12-22 15:18 ` tammer at tammer dot net
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2008-12-22 15:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from tammer at tammer dot net 2008-12-22 15:17 -------
Created an attachment (id=16968)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16968&action=view)
insn-attrtab.prep.c.gz
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (5 preceding siblings ...)
2008-12-22 15:18 ` tammer at tammer dot net
@ 2008-12-22 15:18 ` tammer at tammer dot net
2008-12-22 16:06 ` [Bug other/38606] " pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2008-12-22 15:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from tammer at tammer dot net 2008-12-22 15:17 -------
Created an attachment (id=16967)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16967&action=view)
genautomata.prep.c.gz
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (6 preceding siblings ...)
2008-12-22 15:18 ` tammer at tammer dot net
@ 2008-12-22 16:06 ` pinskia at gcc dot gnu dot org
2008-12-23 7:25 ` tammer at tammer dot net
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-22 16:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2008-12-22 16:04 -------
Can you try increasing the stack size limit when building? insn-attrtab.c
compiled at -O0 is known to have a big stack size.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Component|c |other
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (7 preceding siblings ...)
2008-12-22 16:06 ` [Bug other/38606] " pinskia at gcc dot gnu dot org
@ 2008-12-23 7:25 ` tammer at tammer dot net
2008-12-23 8:36 ` tammer at tammer dot net
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2008-12-23 7:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from tammer at tammer dot net 2008-12-23 07:24 -------
Hello,
OK, I will rebuild with a doubled stack size.
I will report back as soon as I have new results.
Bye
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (8 preceding siblings ...)
2008-12-23 7:25 ` tammer at tammer dot net
@ 2008-12-23 8:36 ` tammer at tammer dot net
2009-01-12 7:12 ` tammer at tammer dot net
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2008-12-23 8:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from tammer at tammer dot net 2008-12-23 08:35 -------
Hello,
same error:
echo timestamp > s-attr
/opt/freeware/src/packages/BUILD/gcc-build/./prev-gcc/xgcc
-B/opt/freeware/src/packages/BUILD/gcc-build/./prev-gcc/
-B/opt/freeware/powerpc-ibm-aix5.3.0.0/bin/ -c -O2 -I/opt/freeware/include
-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../../gcc-4.3.2/gcc -I../../gcc-4.3.2/gcc/.
-I../../gcc-4.3.2/gcc/../include -I../../gcc-4.3.2/gcc/../libcpp/include
-I../../gcc-4.3.2/gcc/../libdecnumber -I../../gcc-4.3.2/gcc/../libdecnumber/dpd
-I../libdecnumber -I/opt/freeware/include insn-attrtab.c -o insn-attrtab.o
../../gcc-4.3.2/gcc/config/rs6000/rs6000.md: In function
'internal_dfa_insn_code':
../../gcc-4.3.2/gcc/config/rs6000/rs6000.md:148: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [insn-attrtab.o] Error 1
gmake[3]: Leaving directory `/opt/freeware/src/packages/BUILD/gcc-build/gcc'
gmake[2]: *** [all-stage2-gcc] Error 2
gmake[2]: Leaving directory `/opt/freeware/src/packages/BUILD/gcc-build'
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory `/opt/freeware/src/packages/BUILD/gcc-build'
gmake: *** [bootstrap-lean] Error 2
Bad exit status from /tmp/rpm-tmp.17996 (%build)
root@build53 rc:130 # ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 65536 <- double stack size
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000
If I produce the preprocessed listing with -E the I can compile this with gcc
4.2.4.
Bye
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (9 preceding siblings ...)
2008-12-23 8:36 ` tammer at tammer dot net
@ 2009-01-12 7:12 ` tammer at tammer dot net
2009-02-06 13:34 ` rosenhauer at dkrz dot de
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2009-01-12 7:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from tammer at tammer dot net 2009-01-12 07:12 -------
Hello,
any news ?
Bye
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (10 preceding siblings ...)
2009-01-12 7:12 ` tammer at tammer dot net
@ 2009-02-06 13:34 ` rosenhauer at dkrz dot de
2009-02-08 9:39 ` tammer at tammer dot net
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rosenhauer at dkrz dot de @ 2009-02-06 13:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from rosenhauer at dkrz dot de 2009-02-06 13:34 -------
Maybe you are running out of native heap. Try with something like:
export LDR_CNTRL=MAXDATA=0x40000000
--
rosenhauer at dkrz dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rosenhauer at dkrz dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (11 preceding siblings ...)
2009-02-06 13:34 ` rosenhauer at dkrz dot de
@ 2009-02-08 9:39 ` tammer at tammer dot net
2009-06-13 13:23 ` vovata at gmail dot com
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2009-02-08 9:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from tammer at tammer dot net 2009-02-08 09:39 -------
Hello,
OK, I will try with an extended heap.
Bye
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (12 preceding siblings ...)
2009-02-08 9:39 ` tammer at tammer dot net
@ 2009-06-13 13:23 ` vovata at gmail dot com
2009-06-13 14:18 ` tammer at tammer dot net
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: vovata at gmail dot com @ 2009-06-13 13:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from vovata at gmail dot com 2009-06-13 13:23 -------
Hello,
It works for me, to bootstrap GCC 4.3.3 on AIX 5.3
Regards,
vladimir penev
(In reply to comment #12)
> Maybe you are running out of native heap. Try with something like:
>
> export LDR_CNTRL=MAXDATA=0x40000000
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (13 preceding siblings ...)
2009-06-13 13:23 ` vovata at gmail dot com
@ 2009-06-13 14:18 ` tammer at tammer dot net
2009-06-13 20:31 ` vovata at gmail dot com
2009-07-19 16:53 ` tammer at tammer dot net
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2009-06-13 14:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from tammer at tammer dot net 2009-06-13 14:18 -------
Hello,
OK I will try gcc 4.3.3.
Please could you be so kind and post your complete configure call + additional
env settings (if set) ?
Thanks in advance.
Bye
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (14 preceding siblings ...)
2009-06-13 14:18 ` tammer at tammer dot net
@ 2009-06-13 20:31 ` vovata at gmail dot com
2009-07-19 16:53 ` tammer at tammer dot net
16 siblings, 0 replies; 18+ messages in thread
From: vovata at gmail dot com @ 2009-06-13 20:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from vovata at gmail dot com 2009-06-13 20:31 -------
Hello,
I configured with:
../gcc-4.3.3/configure --prefix=/usr/local/4.3.3 --enable-shared
--enable-threads=posix --enable-checking=release --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-languages=c,c++,objc
Additional env sets:
CC=cc (I used the native compiler)
LDR_CNTRL=MAXDATA=0x40000000
CONFIG_SHELL=.../bash
Regards,
vladimir penev
(In reply to comment #15)
> Hello,
> OK I will try gcc 4.3.3.
>
> Please could you be so kind and post your complete configure call + additional
> env settings (if set) ?
>
> Thanks in advance.
>
> Bye
> Rainer
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug other/38606] AIX: build failed in stage 2
2008-12-22 14:53 [Bug c/38606] New: AIX: build failed in stage 2 tammer at tammer dot net
` (15 preceding siblings ...)
2009-06-13 20:31 ` vovata at gmail dot com
@ 2009-07-19 16:53 ` tammer at tammer dot net
16 siblings, 0 replies; 18+ messages in thread
From: tammer at tammer dot net @ 2009-07-19 16:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from tammer at tammer dot net 2009-07-19 16:53 -------
Hello,
gcc 4.3.4 solves this problem.
Bye
Rainer
--
tammer at tammer dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38606
^ permalink raw reply [flat|nested] 18+ messages in thread