From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17621 invoked by alias); 3 Mar 2012 19:19:15 -0000 Received: (qmail 17609 invoked by uid 22791); 3 Mar 2012 19:19:14 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_SX,TW_XF X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 03 Mar 2012 19:19:01 +0000 From: "kyle at arbyte dot us" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/52471] New: ICE bootstrapping GCC 4.7.0-20120302 on x86_64 OpenBSD Date: Sat, 03 Mar 2012 19:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: kyle at arbyte dot us X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-03/txt/msg00304.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52471 Bug #: 52471 Summary: ICE bootstrapping GCC 4.7.0-20120302 on x86_64 OpenBSD Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: kyle@arbyte.us Created attachment 26819 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26819 libgcc2.i While bootstrapping GCC 4.7.0-20120302 on x86_64 OpenBSD (an unsupported platform; see #39572) I get an internal compiler error. Configured with: ../gcc/configure --program-suffix=-4.7.0-rc1 --enable-threads In directory /storage/gcc470rc1/obj/x86_64-unknown-openbsd4.8/libgcc /storage/gcc470rc1/obj/./gcc/xgcc -B/storage/gcc470rc1/obj/./gcc/ -B/usr/local/x86_64-unknown-openbsd4.8/bin/ -B/usr/local/x86_64-unknown-openbsd4.8/lib/ -isystem /usr/local/x86_64-unknown-openbsd4.8/include -isystem /usr/local/x86_64-unknown-openbsd4.8/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fpic -pthread -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -pthread -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -DHAVE_CC_TLS -o _fixunsxfdi.o -MT _fixunsxfdi.o -MD -MP -MF _fixunsxfdi.dep -DL_fixunsxfdi -c ../../../gcc/libgcc/libgcc2.c ../../../gcc/libgcc/libgcc2.c: In function '__fixunsxfti': ../../../gcc/libgcc/libgcc2.c:1281:1: internal compiler error: vector VEC(dw_cfi_ref,gc) grow domain error, in update_row_reg_save at dwarf2cfi.c:454 This ICE occurs whether I'm using the bootstrapping compiler (gcc 4.7.0), the previous gcc I built (gcc 4.6.2), or the system compiler (gcc 4.2.1). Attached find the libgcc2.i produced from /storage/gcc470rc1/obj/./gcc/xgcc -v -save-temps I did NOT encounter this problem while bootstrapping gcc 4.6.2. APPENDIX -------- Here are my source edits to enable bootstrapping on x86_64 OpenBSD. I haven't been able to obtain a release from my employer to submit these myself, but hopefully they are trivial enough that it is appropriate for someone else to do the copy and paste: libgcc/config.host - add x86_64, same as i[34567]86. i[34567]86-*-openbsd*) ;; +x86_64-*-openbsd*) + ;; gcc/config.gcc - add x86_64, same as i[34567]86. i[34567]86-*-openbsd*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h" tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h i386/openbsdelf.h" extra_options="${extra_options} openbsd.opt" gas=yes gnu_ld=yes ;; +x86_64-*-openbsd*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h" + tm_file="${tm_file} openbsd.h openbsd-stdint.h openbsd-libpthread.h i386/openbsdelf.h" + extra_options="${extra_options} openbsd.opt" + gas=yes + gnu_ld=yes + ;;