public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/57340] New: [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap
@ 2013-05-20 20:26 mikpe at it dot uu.se
  2013-05-21  9:10 ` [Bug bootstrap/57340] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mikpe at it dot uu.se @ 2013-05-20 20:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57340
           Summary: [4.9 regression] stage2 miscompiles
                    build/genconditions on armv5tel-linux-gnueabi breaking
                    bootstrap
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mikpe at it dot uu.se

Attempting to bootstrap gcc-4.9-20130519 on armv5tel-linux-gnueabi fails with:

/mnt/scratch/objdir49/./prev-gcc/xg++ -B/mnt/scratch/objdir49/./prev-gcc/
-B/mnt/scratch/install49/armv5tel-unknown-linux-gnueabi/bin/ -nostdinc++
-B/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/src/.libs
-B/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs
-I/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/include/armv5tel-unknown-linux-gnueabi
-I/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/include
-I/mnt/scratch/gcc-4.9-20130519/libstdc++-v3/libsupc++
-L/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/src/.libs
-L/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -gtoggle -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror   -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I/mnt/scratch/gcc-4.9-20130519/gcc
-I/mnt/scratch/gcc-4.9-20130519/gcc/build
-I/mnt/scratch/gcc-4.9-20130519/gcc/../include
-I/mnt/scratch/gcc-4.9-20130519/gcc/../libcpp/include 
-I/mnt/scratch/gcc-4.9-20130519/gcc/../libdecnumber
-I/mnt/scratch/gcc-4.9-20130519/gcc/../libdecnumber/dpd -I../libdecnumber
-I/mnt/scratch/gcc-4.9-20130519/gcc/../libbacktrace    \
        -o build/genconditions.o
/mnt/scratch/gcc-4.9-20130519/gcc/genconditions.c
/mnt/scratch/objdir49/./prev-gcc/xg++ -B/mnt/scratch/objdir49/./prev-gcc/
-B/mnt/scratch/install49/armv5tel-unknown-linux-gnueabi/bin/ -nostdinc++
-B/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/src/.libs
-B/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs
-I/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/include/armv5tel-unknown-linux-gnueabi
-I/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/include
-I/mnt/scratch/gcc-4.9-20130519/libstdc++-v3/libsupc++
-L/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/src/.libs
-L/mnt/scratch/objdir49/prev-armv5tel-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs
  -g -O2 -gtoggle -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror   -DHAVE_CONFIG_H
-DGENERATOR_FILE -static-libstdc++ -static-libgcc  -o build/genconditions \
    build/genconditions.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o
build/read-md.o build/errors.o .././libiberty/libiberty.a
build/genconditions /mnt/scratch/gcc-4.9-20130519/gcc/config/arm/arm.md >
tmp-condmd.c
/bin/sh: line 1:  4055 Segmentation fault      build/genconditions
/mnt/scratch/gcc-4.9-20130519/gcc/config/arm/arm.md > tmp-condmd.c
make[3]: *** [s-conditions] Error 139
make[3]: Leaving directory `/mnt/scratch/objdir49/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir49'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir49'
make: *** [bootstrap] Error 2

Running it in gdb it seems to have followed a NULL function pointer or code
label:

> cd gcc
> gdb build/genconditions
...
(gdb) run /mnt/scratch/gcc-4.9-20130519/gcc/config/arm/arm.md > tmp-condmd.c
Starting program: /mnt/scratch/objdir49/gcc/build/genconditions
/mnt/scratch/gcc-4.9-20130519/gcc/config/arm/arm.md > tmp-condmd.c

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x000101b8 in init_rtx_reader_args_cb(int, char**, bool (*)(char const*))
()
#2  0x00008ec4 in main ()

This is a regression from gcc-4.9-20130512 which bootstrapped fine on the same
system.  And build/genconditions was built earlier during stage1 by the system
compiler, and that binary didn't SEGV.


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

* [Bug bootstrap/57340] [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap
  2013-05-20 20:26 [Bug bootstrap/57340] New: [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap mikpe at it dot uu.se
@ 2013-05-21  9:10 ` rguenth at gcc dot gnu.org
  2013-05-22 15:15 ` ramana at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-05-21  9:10 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |armv5tel-linux-gnueabi
   Target Milestone|---                         |4.9.0
              Build|                            |armv5tel-linux-gnueabi


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

* [Bug bootstrap/57340] [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap
  2013-05-20 20:26 [Bug bootstrap/57340] New: [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap mikpe at it dot uu.se
  2013-05-21  9:10 ` [Bug bootstrap/57340] " rguenth at gcc dot gnu.org
@ 2013-05-22 15:15 ` ramana at gcc dot gnu.org
  2013-05-22 15:20 ` ramana at gcc dot gnu.org
  2013-05-22 15:54 ` ramana at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ramana at gcc dot gnu.org @ 2013-05-22 15:15 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zhroma at ispras dot ru

--- Comment #2 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
*** Bug 57372 has been marked as a duplicate of this bug. ***


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

* [Bug bootstrap/57340] [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap
  2013-05-20 20:26 [Bug bootstrap/57340] New: [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap mikpe at it dot uu.se
  2013-05-21  9:10 ` [Bug bootstrap/57340] " rguenth at gcc dot gnu.org
  2013-05-22 15:15 ` ramana at gcc dot gnu.org
@ 2013-05-22 15:20 ` ramana at gcc dot gnu.org
  2013-05-22 15:54 ` ramana at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ramana at gcc dot gnu.org @ 2013-05-22 15:20 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-05-22
           Assignee|unassigned at gcc dot gnu.org      |ramana at gcc dot gnu.org
     Ever confirmed|0                           |1


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

* [Bug bootstrap/57340] [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap
  2013-05-20 20:26 [Bug bootstrap/57340] New: [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap mikpe at it dot uu.se
                   ` (2 preceding siblings ...)
  2013-05-22 15:20 ` ramana at gcc dot gnu.org
@ 2013-05-22 15:54 ` ramana at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ramana at gcc dot gnu.org @ 2013-05-22 15:54 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

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

--- Comment #3 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Now fixed. Mikael , please give this a try once PR57351 is fixed because I
suspect that the dwarf breakage might cause issues. 

http://gcc.gnu.org/ml/gcc-cvs/2013-05/msg00724.html


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

end of thread, other threads:[~2013-05-22 15:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-20 20:26 [Bug bootstrap/57340] New: [4.9 regression] stage2 miscompiles build/genconditions on armv5tel-linux-gnueabi breaking bootstrap mikpe at it dot uu.se
2013-05-21  9:10 ` [Bug bootstrap/57340] " rguenth at gcc dot gnu.org
2013-05-22 15:15 ` ramana at gcc dot gnu.org
2013-05-22 15:20 ` ramana at gcc dot gnu.org
2013-05-22 15:54 ` ramana 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).