public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/54860] New: [4.8 Regression]: build fails on cris-elf configuring libgfortran due to recent "attribute" changes in core gcc
@ 2012-10-08 20:49 hp at gcc dot gnu.org
  2012-10-08 21:58 ` [Bug middle-end/54860] " dodji at gcc dot gnu.org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: hp at gcc dot gnu.org @ 2012-10-08 20:49 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54860
           Summary: [4.8 Regression]: build fails on cris-elf configuring
                    libgfortran due to recent "attribute" changes in core
                    gcc
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: build, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hp@gcc.gnu.org
                CC: dodji@gcc.gnu.org
              Host: x86_64-unknown-linux-gnu
            Target: cris-axis-elf


Created attachment 28393
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28393
Repeat with gccobj/./gcc/f951 conftest.f -ffixed-form

A patch in the revision range (last_known_working:first_known_failing)
192197:192199 caused the build for cris-elf to fail as follows:

...
checking whether the /tmp/build20121008/gccobj/./gcc/gfortran
-B/tmp/build20121008/gccobj/./gcc/ -nostdinc
-B/tmp/build20121008/gccobj/cris-elf/newlib/ -isystem
/tmp/build20121008/gccobj/cris-elf/newlib/targ-include -isystem
/tmp/build20121008/gcc/newlib/libc/include
-B/tmp/build20121008/gccobj/cris-elf/libgloss/cris
-L/tmp/build20121008/gccobj/cris-elf/libgloss/libnosys
-L/tmp/build20121008/gcc/libgloss/cris -B/tmp/build20121008/pre/cris-elf/bin/
-B/tmp/build20121008/pre/cris-elf/lib/ -isystem
/tmp/build20121008/pre/cris-elf/include -isystem
/tmp/build20121008/pre/cris-elf/sys-include    linker
(/tmp/build20121008/gccobj/./gcc/collect-ld) supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether the GNU Fortran compiler is working... no
configure: error: GNU Fortran is not working; please report a bug in
http://gcc.gnu.org/bugzilla, attaching
/tmp/build20121008/gccobj/cris-elf/libgfortran/config.log
make[1]: *** [configure-target-libgfortran] Error 1
make[1]: Leaving directory `/tmp/build20121008/gccobj'

In that config.log:
configure:12882: /tmp/build20121008/gccobj/./gcc/gfortran
-B/tmp/build20121008/gccobj/./gcc/ -nostdinc
-B/tmp/build20121008/gccobj/cris-elf/newlib/ -isystem
/tmp/build20121008/gccobj/cris-elf/newlib/targ-include -isystem
/tmp/build20121008/gcc/newlib/libc/include
-B/tmp/build20121008/gccobj/cris-elf/libgloss/cris
-L/tmp/build20121008/gccobj/cris-elf/libgloss/libnosys
-L/tmp/build20121008/gcc/libgloss/cris -B/tmp/build20121008/pre/cris-elf/bin/
-B/tmp/build20121008/pre/cris-elf/lib/ -isystem
/tmp/build20121008/pre/cris-elf/include -isystem
/tmp/build20121008/pre/cris-elf/sys-include    -c -g  conftest.f >&5
f951: internal compiler error: Segmentation fault
0x89f135 crash_signal
        /tmp/build20121008/gcc/gcc/toplev.c:335
0xbcd90a htab_mod
        /tmp/build20121008/gcc/libiberty/hashtab.c:272
0xbcd90a htab_find_with_hash
        /tmp/build20121008/gcc/libiberty/hashtab.c:602
0xbd0068 lookup_scoped_attribute_spec(tree_node const*, tree_node const*)
        /tmp/build20121008/gcc/gcc/attribs.c:325
0xa69645 comp_type_attributes(tree_node const*, tree_node const*)
        /tmp/build20121008/gcc/gcc/tree.c:4353
0xa69a10 build_type_attribute_qual_variant(tree_node*, tree_node*, int)
        /tmp/build20121008/gcc/gcc/tree.c:4302
0x564203 build_library_function_decl_1
        /tmp/build20121008/gcc/gcc/fortran/trans-decl.c:2650
0x56437c gfc_build_library_function_decl_with_spec(tree_node*, char const*,
tree_node*, int, ...)
        /tmp/build20121008/gcc/gcc/fortran/trans-decl.c:2692
0x5644e3 gfc_build_builtin_function_decls()
        /tmp/build20121008/gcc/gcc/fortran/trans-decl.c:3067
0x545b7d gfc_create_decls
        /tmp/build20121008/gcc/gcc/fortran/f95-lang.c:175
0x545b7d gfc_be_parse_file
        /tmp/build20121008/gcc/gcc/fortran/f95-lang.c:190
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:12882: $? = 1
configure: failed program was:
|       program main
| 
|       end


Configure-test-code and command-line attached.

Author of only suspect patch in revision range CC:ed.
Just configure for --target=cris-elf and "make all-gcc" to produce f951.


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

end of thread, other threads:[~2012-11-20 18:17 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-08 20:49 [Bug middle-end/54860] New: [4.8 Regression]: build fails on cris-elf configuring libgfortran due to recent "attribute" changes in core gcc hp at gcc dot gnu.org
2012-10-08 21:58 ` [Bug middle-end/54860] " dodji at gcc dot gnu.org
2012-10-08 22:23 ` dodji at seketeli dot org
2012-10-08 22:47 ` hp at gcc dot gnu.org
2012-10-09  1:50 ` hp at gcc dot gnu.org
2012-10-09  3:26 ` hp at gcc dot gnu.org
2012-10-09  6:37 ` ubizjak at gmail dot com
2012-10-09  7:56 ` [Bug middle-end/54860] [4.8 Regression]: build fails when " ubizjak at gmail dot com
2012-10-09 14:08 ` dodji at seketeli dot org
2012-10-09 14:52 ` dodji at gcc dot gnu.org
2012-10-09 16:41 ` davem at gcc dot gnu.org
2012-10-09 17:12 ` davem at gcc dot gnu.org
2012-10-09 18:40 ` ubizjak at gmail dot com
2012-10-09 20:43 ` hp at gcc dot gnu.org
2012-10-09 21:29 ` dodji at seketeli dot org
2012-10-09 21:33 ` dodji at seketeli dot org
2012-10-09 21:57 ` hp at gcc dot gnu.org
2012-10-09 22:02 ` hp at gcc dot gnu.org
2012-10-10 10:25 ` dodji at gcc dot gnu.org
2012-11-20 12:28 ` jakub at gcc dot gnu.org
2012-11-20 15:27 ` hp at gcc dot gnu.org
2012-11-20 18:17 ` hp 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).