From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13582 invoked by alias); 9 Jan 2015 17:19:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13513 invoked by uid 48); 9 Jan 2015 17:19:13 -0000 From: "hp at gcc dot 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hp at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg00637.txt.bz2 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 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&) /tmp/hpautotest-gcc1/gcc/gcc/ipa-icf.c:431 0xd68dd9 ipa_icf::sem_function::equals(ipa_icf::sem_item*, hash_map&) /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 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.