public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hp at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/64552] New: Build broken for cris-elf and others
Date: Fri, 09 Jan 2015 17:19:00 -0000	[thread overview]
Message-ID: <bug-64552-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64552

            Bug ID: 64552
           Summary: Build broken for cris-elf and others
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org

Created attachment 34414
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34414&action=edit
Observe crash with ./cc1  -quiet -fpreprocessed unwind-dw2.i -O2 -o
unwind-dw2.s

With a commit in the range (219373:219378] but from the crash message obviously
r219377, the build is broken for cris-elf, and
<http://gcc.gnu.org/ml/gcc-patches/2015-01/msg00534.html> indicates a similar
(but not identical) crash for arm-eabi.  Configure for cris-elf, then build and
observe, building libgcc:

/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/ -nostdinc
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/ -isystem
/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/newlib/targ-include -isystem
/tmp/hpautotest-gcc1/gcc/newlib/libc/include
-B/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/cris
-L/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/libgloss/libnosys
-L/tmp/hpautotest-gcc1/gcc/libgloss/cris
-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/bin/
-B/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/lib/ -isystem
/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/include -isystem
/tmp/hpautotest-gcc1/cris-elf/pre/cris-elf/sys-include    -g -O2 -march=v8
-mbest-lib-options -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector -Dinhibit_libc  -I. -I. -I../../.././gcc
-I/tmp/hpautotest-gcc1/gcc/libgcc -I/tmp/hpautotest-gcc1/gcc/libgcc/.
-I/tmp/hpautotest-gcc1/gcc/libgcc/../gcc
-I/tmp/hpautotest-gcc1/gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o
unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c
/tmp/hpautotest-gcc1/gcc/libgcc/unwind-dw2.c -fvisibility=hidden -DHIDE_EXPORTS
/tmp/hpautotest-gcc1/gcc/libgcc/unwind-dw2.c:1695:0: internal compiler error:
Segmentation fault

 ^
0x9bd705 crash_signal
        /tmp/hpautotest-gcc1/gcc/gcc/toplev.c:366
0xd682b9 tree_check
        /tmp/hpautotest-gcc1/gcc/gcc/tree.h:2778
0xd682b9 target_opts_for_fn
        /tmp/hpautotest-gcc1/gcc/gcc/tree.h:4681
0xd682b9 ipa_icf::sem_function::equals_private(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
        /tmp/hpautotest-gcc1/gcc/gcc/ipa-icf.c:431
0xd68dd9 ipa_icf::sem_function::equals(ipa_icf::sem_item*,
hash_map<symtab_node*, ipa_icf::sem_item*, default_hashmap_traits>&)
        /tmp/hpautotest-gcc1/gcc/gcc/ipa-icf.c:386
0xd64425 ipa_icf::sem_item_optimizer::subdivide_classes_by_equality(bool)
        /tmp/hpautotest-gcc1/gcc/gcc/ipa-icf.c:1893
0xd675cc ipa_icf::sem_item_optimizer::execute()
        /tmp/hpautotest-gcc1/gcc/gcc/ipa-icf.c:1712
0xd6a501 ipa_icf_driver
        /tmp/hpautotest-gcc1/gcc/gcc/ipa-icf.c:2441
0xd6a501 ipa_icf::pass_ipa_icf::execute(function*)
        /tmp/hpautotest-gcc1/gcc/gcc/ipa-icf.c:2489
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.
make[4]: *** [unwind-dw2.o] Error 1
make[4]: Leaving directory
`/tmp/hpautotest-gcc1/cris-elf/gccobj/cris-elf/v8/libgcc'

Preprocessed code attached, committer of failing revision CC:ed.


             reply	other threads:[~2015-01-09 17:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-09 17:19 hp at gcc dot gnu.org [this message]
2015-01-09 17:33 ` [Bug middle-end/64552] " hp at gcc dot gnu.org
2015-01-09 18:05 ` renlin at gcc dot gnu.org
2015-01-12  9:03 ` marxin at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64552-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).