public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces
@ 2011-07-24  9:35 mikpe at it dot uu.se
  2011-07-24 10:43 ` [Bug bootstrap/49827] [4.7 regression] sparc64-linux and arm-linux-gnueabi bootstrap failures " mikpe at it dot uu.se
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-07-24  9:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

           Summary: [4.7 regression] sparc64-linux bootstrap failure due
                    to ICE in dwarf2cfi.c connect_traces
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


Created attachment 24818
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24818
reduced test case, ICEs with -O -g

gcc-4.7-20110723 fails to build on sparc64-linux:

/tmp/objdir/./gcc/xgcc -B/tmp/objdir/./gcc/
-B/home/mikpe/pkgs/linux-x86/cross-sparc64/sparc64-unknown-linux/bin/
-B/home/mikpe/pkgs/linux-x86/cross-sparc64/sparc64-unknown-linux/lib/ -isystem
/home/mikpe/pkgs/linux-x86/cross-sparc64/sparc64-unknown-linux/include -isystem
/home/mikpe/pkgs/linux-x86/cross-sparc64/sparc64-unknown-linux/sys-include   
-g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -I. -I.
-I../.././gcc -I/tmp/gcc-4.7-20110723/libgcc -I/tmp/gcc-4.7-20110723/libgcc/.
-I/tmp/gcc-4.7-20110723/libgcc/../gcc -I/tmp/gcc-4.7-20110723/libgcc/../include
 -DHAVE_CC_TLS  -o _lshrdi3.o -MT _lshrdi3.o -MD -MP -MF _lshrdi3.dep
-DL_lshrdi3 -c /tmp/gcc-4.7-20110723/libgcc/../gcc/libgcc2.c \

/tmp/gcc-4.7-20110723/libgcc/../gcc/libgcc2.c: In function '__lshrti3':
/tmp/gcc-4.7-20110723/libgcc/../gcc/libgcc2.c:427:1: internal compiler error:
in connect_traces, at dwarf2cfi.c:2632
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_lshrdi3.o] Error 1
make[2]: Leaving directory `/tmp/objdir/sparc64-unknown-linux/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/tmp/objdir'
make: *** [all] Error 2

This isn't the only failure, with 'make -jN' lots of functions in libgcc2.c
fail in this way.

4.7-20110716 was OK.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug bootstrap/49827] [4.7 regression] sparc64-linux and arm-linux-gnueabi bootstrap failures due to ICE in dwarf2cfi.c connect_traces
  2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
@ 2011-07-24 10:43 ` mikpe at it dot uu.se
  2011-07-24 21:33 ` [Bug debug/49827] " pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mikpe at it dot uu.se @ 2011-07-24 10:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|sparc64-linux               |sparc64-linux,
                   |                            |armv5tel-linux-gnueabi
            Summary|[4.7 regression]            |[4.7 regression]
                   |sparc64-linux bootstrap     |sparc64-linux and
                   |failure due to ICE in       |arm-linux-gnueabi bootstrap
                   |dwarf2cfi.c connect_traces  |failures due to ICE in
                   |                            |dwarf2cfi.c connect_traces

--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2011-07-24 10:42:38 UTC ---
4.7-20110723 ICEs the same way on armv5tel-linux-gnueabi:

/mnt/scratch/objdir47/./gcc/xgcc -B/mnt/scratch/objdir47/./gcc/
-B/mnt/scratch/install47/armv5tel-brewer-linux-gnueabi/bin/
-B/mnt/scratch/install47/armv5tel-brewer-linux-gnueabi/lib/ -isystem
/mnt/scratch/install47/armv5tel-brewer-linux-gnueabi/include -isystem
/mnt/scratch/install47/armv5tel-brewer-linux-gnueabi/sys-include    -g -O2 -O2 
-g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC
-Wno-missing-prototypes -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -I. -I. -I../.././gcc
-I/mnt/scratch/gcc-4.7-20110723/libgcc -I/mnt/scratch/gcc-4.7-20110723/libgcc/.
-I/mnt/scratch/gcc-4.7-20110723/libgcc/../gcc
-I/mnt/scratch/gcc-4.7-20110723/libgcc/../include    -o _popcountsi2.o -MT
_popcountsi2.o -MD -MP -MF _popcountsi2.dep -DL_popcountsi2 -c
/mnt/scratch/gcc-4.7-20110723/libgcc/../gcc/libgcc2.c \
          -fvisibility=hidden -DHIDE_EXPORTS
/mnt/scratch/gcc-4.7-20110723/libgcc/../gcc/libgcc2.c: In function
'__popcountsi2':
/mnt/scratch/gcc-4.7-20110723/libgcc/../gcc/libgcc2.c:834:1: internal compiler
error: in connect_traces, at dwarf2cfi.c:2632
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [_popcountsi2.o] Error 1
make[3]: Leaving directory
`/mnt/scratch/objdir47/armv5tel-brewer-linux-gnueabi/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir47'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir47'
make: *** [bootstrap] Error 2


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug debug/49827] [4.7 regression] sparc64-linux and arm-linux-gnueabi bootstrap failures due to ICE in dwarf2cfi.c connect_traces
  2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
  2011-07-24 10:43 ` [Bug bootstrap/49827] [4.7 regression] sparc64-linux and arm-linux-gnueabi bootstrap failures " mikpe at it dot uu.se
@ 2011-07-24 21:33 ` pinskia at gcc dot gnu.org
  2011-07-24 21:37 ` hp at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-07-24 21:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build, ice-on-valid-code
                 CC|                            |rth at gcc dot gnu.org
          Component|bootstrap                   |debug
   Target Milestone|---                         |4.7.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug debug/49827] [4.7 regression] sparc64-linux and arm-linux-gnueabi bootstrap failures due to ICE in dwarf2cfi.c connect_traces
  2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
  2011-07-24 10:43 ` [Bug bootstrap/49827] [4.7 regression] sparc64-linux and arm-linux-gnueabi bootstrap failures " mikpe at it dot uu.se
  2011-07-24 21:33 ` [Bug debug/49827] " pinskia at gcc dot gnu.org
@ 2011-07-24 21:37 ` hp at gcc dot gnu.org
  2011-07-24 22:17 ` rth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu.org @ 2011-07-24 21:37 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu.org

--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-07-24 21:37:12 UTC ---
Same breakage for cris-elf compiling __lshrdi3.
Worked r176701, first known broken r176707.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug debug/49827] [4.7 regression] sparc64-linux and arm-linux-gnueabi bootstrap failures due to ICE in dwarf2cfi.c connect_traces
  2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
                   ` (2 preceding siblings ...)
  2011-07-24 21:37 ` hp at gcc dot gnu.org
@ 2011-07-24 22:17 ` rth at gcc dot gnu.org
  2011-07-24 23:04 ` [Bug debug/49827] [4.7 regression] sparc64-linux and cris-elf " rth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rth at gcc dot gnu.org @ 2011-07-24 22:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.07.24 22:17:12
         AssignedTo|unassigned at gcc dot       |rth at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-07-24 22:17:12 UTC ---
The Sparc and CRIS failures are a silly mistake wrt sequences,
i.e. delay slots.  I have a patch in testing for that.

The ARM failure must be something else though...


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug debug/49827] [4.7 regression] sparc64-linux and cris-elf bootstrap failures due to ICE in dwarf2cfi.c connect_traces
  2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
                   ` (3 preceding siblings ...)
  2011-07-24 22:17 ` rth at gcc dot gnu.org
@ 2011-07-24 23:04 ` rth at gcc dot gnu.org
  2011-07-25  1:36 ` danglin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rth at gcc dot gnu.org @ 2011-07-24 23:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|sparc64-linux,              |sparc64-linux, cris-elf
                   |armv5tel-linux-gnueabi      |
            Summary|[4.7 regression]            |[4.7 regression]
                   |sparc64-linux and           |sparc64-linux and cris-elf
                   |arm-linux-gnueabi bootstrap |bootstrap failures due to
                   |failures due to ICE in      |ICE in dwarf2cfi.c
                   |dwarf2cfi.c connect_traces  |connect_traces

--- Comment #4 from Richard Henderson <rth at gcc dot gnu.org> 2011-07-24 23:04:22 UTC ---
Split out the ARM failure to PR49831.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug debug/49827] [4.7 regression] sparc64-linux and cris-elf bootstrap failures due to ICE in dwarf2cfi.c connect_traces
  2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
                   ` (4 preceding siblings ...)
  2011-07-24 23:04 ` [Bug debug/49827] [4.7 regression] sparc64-linux and cris-elf " rth at gcc dot gnu.org
@ 2011-07-25  1:36 ` danglin at gcc dot gnu.org
  2011-07-25  3:18 ` rth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-07-25  1:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu.org

--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> 2011-07-25 01:35:44 UTC ---
Similar on hppa64-hp-hpux11.11:

/test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B/opt/gnu64/gcc/gcc-4.7/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-4.7/hppa64-hp-hpux11.11/lib
/ -isystem /opt/gnu64/gcc/gcc-4.7/hppa64-hp-hpux11.11/include -isystem
/opt/gnu6
4/gcc/gcc-4.7/hppa64-hp-hpux11.11/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC  
-
W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wo
ld-style-definition  -isystem ./include  -fPIC -Dpa64=1 -DELF=1 -mlong-calls -g 
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -I.
-I
. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/lib
gcc/../gcc -I../../../gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o
_ashldi3.o -MT _ashldi3.o -MD -MP -MF _ashldi3.dep -DL_ashldi3 -c
../../../gcc/libgcc
/../gcc/libgcc2.c \
          -fvisibility=hidden -DHIDE_EXPORTS
../../../gcc/libgcc/../gcc/libgcc2.c: In function '__lshrdi3':
../../../gcc/libgcc/../gcc/libgcc2.c:427:1: internal compiler error: in
connect_
traces, at dwarf2cfi.c:2632


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug debug/49827] [4.7 regression] sparc64-linux and cris-elf bootstrap failures due to ICE in dwarf2cfi.c connect_traces
  2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
                   ` (5 preceding siblings ...)
  2011-07-25  1:36 ` danglin at gcc dot gnu.org
@ 2011-07-25  3:18 ` rth at gcc dot gnu.org
  2011-07-25  9:16 ` rguenth at gcc dot gnu.org
  2011-07-25 16:10 ` ebotcazou at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: rth at gcc dot gnu.org @ 2011-07-25  3:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

--- Comment #6 from Richard Henderson <rth at gcc dot gnu.org> 2011-07-25 03:18:15 UTC ---
Author: rth
Date: Mon Jul 25 03:18:13 2011
New Revision: 176728

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176728
Log:
PR debug/49827
        * dwarf2cfi.c (create_trace_edges): Handle sequences properly.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2cfi.c


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug debug/49827] [4.7 regression] sparc64-linux and cris-elf bootstrap failures due to ICE in dwarf2cfi.c connect_traces
  2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
                   ` (6 preceding siblings ...)
  2011-07-25  3:18 ` rth at gcc dot gnu.org
@ 2011-07-25  9:16 ` rguenth at gcc dot gnu.org
  2011-07-25 16:10 ` ebotcazou at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-07-25  9:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-25 09:14:45 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug debug/49827] [4.7 regression] sparc64-linux and cris-elf bootstrap failures due to ICE in dwarf2cfi.c connect_traces
  2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
                   ` (7 preceding siblings ...)
  2011-07-25  9:16 ` rguenth at gcc dot gnu.org
@ 2011-07-25 16:10 ` ebotcazou at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-07-25 16:10 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49827

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mexas at bristol dot ac.uk

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-07-25 16:09:57 UTC ---
*** Bug 49842 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-07-25 16:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-24  9:35 [Bug bootstrap/49827] New: [4.7 regression] sparc64-linux bootstrap failure due to ICE in dwarf2cfi.c connect_traces mikpe at it dot uu.se
2011-07-24 10:43 ` [Bug bootstrap/49827] [4.7 regression] sparc64-linux and arm-linux-gnueabi bootstrap failures " mikpe at it dot uu.se
2011-07-24 21:33 ` [Bug debug/49827] " pinskia at gcc dot gnu.org
2011-07-24 21:37 ` hp at gcc dot gnu.org
2011-07-24 22:17 ` rth at gcc dot gnu.org
2011-07-24 23:04 ` [Bug debug/49827] [4.7 regression] sparc64-linux and cris-elf " rth at gcc dot gnu.org
2011-07-25  1:36 ` danglin at gcc dot gnu.org
2011-07-25  3:18 ` rth at gcc dot gnu.org
2011-07-25  9:16 ` rguenth at gcc dot gnu.org
2011-07-25 16:10 ` ebotcazou 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).