* [Bug c/28198] ICE building mips-elf cross compiler
2006-06-29 11:05 [Bug c/28198] New: ICE building mips-elf cross compiler fnf at specifixinc dot com
@ 2006-06-29 11:26 ` fnf at specifixinc dot com
2006-06-29 13:21 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fnf at specifixinc dot com @ 2006-06-29 11:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from fnf at specifixinc dot com 2006-06-29 11:05 -------
Created an attachment (id=11779)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11779&action=view)
Preprocessed version of tree.c
I had to wack away some code to get it to fit within the apparent 1Mb limit for
attachments.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28198
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/28198] ICE building mips-elf cross compiler
2006-06-29 11:05 [Bug c/28198] New: ICE building mips-elf cross compiler fnf at specifixinc dot com
2006-06-29 11:26 ` [Bug c/28198] " fnf at specifixinc dot com
@ 2006-06-29 13:21 ` pinskia at gcc dot gnu dot org
2006-06-29 13:24 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-29 13:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-29 13:09 -------
It works with a cross to x86-linux-gnu with "4.2.0 20060617".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28198
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/28198] ICE building mips-elf cross compiler
2006-06-29 11:05 [Bug c/28198] New: ICE building mips-elf cross compiler fnf at specifixinc dot com
2006-06-29 11:26 ` [Bug c/28198] " fnf at specifixinc dot com
2006-06-29 13:21 ` pinskia at gcc dot gnu dot org
@ 2006-06-29 13:24 ` pinskia at gcc dot gnu dot org
2006-06-29 13:50 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-29 13:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-06-29 13:20 -------
It works on x86_64 with "./cc1 pr28198.i -m32 -g -O2 -W -Wwrite-strings" on the
stage1 cc1 so maybe something is miscompiling cc1 or there is a GC issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28198
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/28198] ICE building mips-elf cross compiler
2006-06-29 11:05 [Bug c/28198] New: ICE building mips-elf cross compiler fnf at specifixinc dot com
` (2 preceding siblings ...)
2006-06-29 13:24 ` pinskia at gcc dot gnu dot org
@ 2006-06-29 13:50 ` pinskia at gcc dot gnu dot org
2006-06-29 16:03 ` [Bug middle-end/28198] [4.2 Regression] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-29 13:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-06-29 13:24 -------
(In reply to comment #3)
Or a HWI == 32bit problem because x86_64 is 64bit so is powerpc-* which I tried
also.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28198
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/28198] [4.2 Regression] ICE building mips-elf cross compiler
2006-06-29 11:05 [Bug c/28198] New: ICE building mips-elf cross compiler fnf at specifixinc dot com
` (3 preceding siblings ...)
2006-06-29 13:50 ` pinskia at gcc dot gnu dot org
@ 2006-06-29 16:03 ` pinskia at gcc dot gnu dot org
2006-06-29 18:10 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-29 16:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-06-29 14:10 -------
Can you give a backtrace?
Because I am getting a bootstrap failure on x86_64 which looks like it could be
the same.
The backtrace I have for the x86_64 bootstrap failure is:
#0 0x00000000009d8203 in copy_node_stat (node=0x2aaaac1c8fc0) at
/home/pinskia/src/newtest/trunk/gcc/tree.c:617
#1 0x0000000000a1a4d7 in copy_constant (exp=0x2aaaac1c8fc0) at
/home/pinskia/src/newtest/trunk/gcc/varasm.c:2709
And length is incorrect now after Richard G.'s patch for make_string changes.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Component|c |middle-end
Keywords| |ice-on-valid-code
Summary|ICE building mips-elf cross |[4.2 Regression] ICE
|compiler |building mips-elf cross
| |compiler
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28198
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/28198] [4.2 Regression] ICE building mips-elf cross compiler
2006-06-29 11:05 [Bug c/28198] New: ICE building mips-elf cross compiler fnf at specifixinc dot com
` (4 preceding siblings ...)
2006-06-29 16:03 ` [Bug middle-end/28198] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-06-29 18:10 ` pinskia at gcc dot gnu dot org
2006-06-30 11:19 ` fnf at specifix dot com
2006-06-30 11:21 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-29 18:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-06-29 17:55 -------
Can you build a x86 compiler after revision 115072 and try again, I fixed the
issue mentioned in comment #5.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28198
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/28198] [4.2 Regression] ICE building mips-elf cross compiler
2006-06-29 11:05 [Bug c/28198] New: ICE building mips-elf cross compiler fnf at specifixinc dot com
` (5 preceding siblings ...)
2006-06-29 18:10 ` pinskia at gcc dot gnu dot org
@ 2006-06-30 11:19 ` fnf at specifix dot com
2006-06-30 11:21 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: fnf at specifix dot com @ 2006-06-30 11:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from fnf at specifix dot com 2006-06-30 10:52 -------
Subject: Re: [4.2 Regression] ICE building mips-elf cross compiler
On Thursday 29 June 2006 13:55, pinskia at gcc dot gnu dot org wrote:
> Can you build a x86 compiler after revision 115072 and try again, I fixed the
> issue mentioned in comment #5.
I updated my sources last night and tried building a native x86
compiler this morning. I'm getting an internal error still, though
this one looks different.
I wonder if this is due to problems with precompiled headers and Fedora Core
4's
exec shield. I'll try disabling the exec shield and see if the problem goes
away.
/build/latest/trunk/i686-pc-linux-gnu/gcc/./gcc/xgcc -shared-libgcc
-B/build/latest/trunk/i686-pc-linux-gnu/gcc/./gcc -nostdinc++
-L/build/latest/trunk/i686-\pc-linux-gnu/gcc/i686-pc-linux-gnu/libstdc++-v3/src
-L/build/latest/trunk/i686-pc-linux-gnu/gcc/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/opt/local/latest/\trunk/i686-pc-linux-gnu/bin/
-B/opt/local/latest/trunk/i686-pc-linux-gnu/lib/ -isystem
/opt/local/latest/trunk/i686-pc-linux-gnu/include -isystem
/opt/local/\latest/trunk/i686-pc-linux-gnu/sys-include -Winvalid-pch
-Wno-deprecated -x c++-header -g -O2 -D_GNU_SOURCE
-I/build/latest/trunk/i686-pc-linux-gnu/gcc/i686\-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/build/latest/trunk/i686-pc-linux-gnu/gcc/i686-pc-linux-gnu/libstdc++-v3/include
-I/src/latest/trunk/s\rc/gcc/libstdc++-v3/libsupc++
/src/latest/trunk/src/gcc/libstdc++-v3/include/precompiled/extc++.h -O2 -g -o
./i686-pc-linux-gnu/bits/extc++.h.gch/O2g.gch;
/build/latest/trunk/i686-pc-linux-gnu/gcc/i686-pc-linux-gnu/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp:235:
internal compiler error:\ tree check: expected integer_cst, have scope_ref in
tree_int_cst_sgn, at tree.c:4484
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28198
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/28198] [4.2 Regression] ICE building mips-elf cross compiler
2006-06-29 11:05 [Bug c/28198] New: ICE building mips-elf cross compiler fnf at specifixinc dot com
` (6 preceding siblings ...)
2006-06-30 11:19 ` fnf at specifix dot com
@ 2006-06-30 11:21 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-30 11:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2006-06-30 11:18 -------
(In reply to comment #7)
>> I updated my sources last night and tried building a native x86
> compiler this morning. I'm getting an internal error still, though
> this one looks different.
> internal compiler error:\ tree check: expected integer_cst, have scope_ref in
> tree_int_cst_sgn, at tree.c:4484
Yes that is a different one. You would like to file that ICE seperately as the
orginal bug is fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28198
^ permalink raw reply [flat|nested] 9+ messages in thread