public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/56927] New: 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap
@ 2013-04-11 19:17 segher at gcc dot gnu.org
  2013-04-11 19:25 ` [Bug bootstrap/56927] " segher at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: segher at gcc dot gnu.org @ 2013-04-11 19:17 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56927
           Summary: 4.7.2 build ICEs when built with 4.8.0 and
                    --disable-bootstrap
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: segher@gcc.gnu.org
              Host: x86_64-linux
            Target: x86_64-linux
             Build: x86_64-linux


When using a 4.8.0 host compiler and configuring with --disable-bootstrap,
a build of 4.7.2 fails with

/home/segher/src/gcc-4.7.2/libgcc/libgcc2.c: In function '__absvdi2':
/home/segher/src/gcc-4.7.2/libgcc/libgcc2.c:273:1: internal compiler error:
Segmentation fault

There is no such error if the host compiler is 4.4 or 4.7, or without
--disable-bootstrap; it does have the error if doing a cross to i386-elf.
I haven't tested with tip-of-tree of either 4.7 or 4.8 or on different
architectures.


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

* [Bug bootstrap/56927] 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap
  2013-04-11 19:17 [Bug bootstrap/56927] New: 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap segher at gcc dot gnu.org
@ 2013-04-11 19:25 ` segher at gcc dot gnu.org
  2013-04-11 20:02 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: segher at gcc dot gnu.org @ 2013-04-11 19:25 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> 2013-04-11 19:25:05 UTC ---
Forgot to mention...  I debugged this a little; it happens during
the build of the 32-bit libgcc, and gdb says

Program received signal SIGSEGV, Segmentation fault.
build_conflict_bit_table ()
    at /home/segher/src/gcc-4.7.2/gcc/ira-conflicts.c:178
178                   ira_allocno_t live_a = OBJECT_ALLOCNO (live_obj);
(gdb) bt
#0  build_conflict_bit_table ()
    at /home/segher/src/gcc-4.7.2/gcc/ira-conflicts.c:178
#1  ira_build_conflicts ()
    at /home/segher/src/gcc-4.7.2/gcc/ira-conflicts.c:856
#2  0x000000000067eccf in ira_build ()
    at /home/segher/src/gcc-4.7.2/gcc/ira-build.c:3101
#3  0x0000000000679177 in ira (f=<optimized out>)
    at /home/segher/src/gcc-4.7.2/gcc/ira.c:3626
#4  rest_of_handle_ira () at /home/segher/src/gcc-4.7.2/gcc/ira.c:3798
[...]

(gdb) p live_obj
$1 = (ira_object_t) 0x0


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

* [Bug bootstrap/56927] 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap
  2013-04-11 19:17 [Bug bootstrap/56927] New: 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap segher at gcc dot gnu.org
  2013-04-11 19:25 ` [Bug bootstrap/56927] " segher at gcc dot gnu.org
@ 2013-04-11 20:02 ` jakub at gcc dot gnu.org
  2013-04-12  0:15 ` segher at gcc dot gnu.org
  2013-04-12  0:31 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-04-11 20:02 UTC (permalink / raw)
  To: gcc-bugs


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-11 20:02:43 UTC ---
You should use 4.7.3 instead, or at least make sure to have
http://gcc.gnu.org/r191605 applied.


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

* [Bug bootstrap/56927] 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap
  2013-04-11 19:17 [Bug bootstrap/56927] New: 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap segher at gcc dot gnu.org
  2013-04-11 19:25 ` [Bug bootstrap/56927] " segher at gcc dot gnu.org
  2013-04-11 20:02 ` jakub at gcc dot gnu.org
@ 2013-04-12  0:15 ` segher at gcc dot gnu.org
  2013-04-12  0:31 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: segher at gcc dot gnu.org @ 2013-04-12  0:15 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> 2013-04-12 00:15:26 UTC ---
Hey, 4.7.3 didn't exist yet :-)

Confirmed fixed.


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

* [Bug bootstrap/56927] 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap
  2013-04-11 19:17 [Bug bootstrap/56927] New: 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap segher at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-04-12  0:15 ` segher at gcc dot gnu.org
@ 2013-04-12  0:31 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-04-12  0:31 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.3

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-04-12 00:31:08 UTC ---
(In reply to comment #3)
> Hey, 4.7.3 didn't exist yet :-)

It was released today.


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

end of thread, other threads:[~2013-04-12  0:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-11 19:17 [Bug bootstrap/56927] New: 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap segher at gcc dot gnu.org
2013-04-11 19:25 ` [Bug bootstrap/56927] " segher at gcc dot gnu.org
2013-04-11 20:02 ` jakub at gcc dot gnu.org
2013-04-12  0:15 ` segher at gcc dot gnu.org
2013-04-12  0:31 ` pinskia 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).