public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kyle at arbyte dot us" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-52471-4@http.gcc.gnu.org/bugzilla/> (raw)

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
+       ;;


             reply	other threads:[~2012-03-03 19:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-03 19:19 kyle at arbyte dot us [this message]
2012-03-04 22:39 ` [Bug bootstrap/52471] " kyle at arbyte dot us
2012-03-04 22:46 ` kyle at arbyte dot us
2012-03-07  2:15 ` kyle at arbyte dot us

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-52471-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).