public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikpe at it dot uu.se" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/55391] New: [4.8 regression] ICE in adjust_address_1 at emit-rtl.c:2180 breaks bulding cross to sparc64-linux
Date: Mon, 19 Nov 2012 10:38:00 -0000	[thread overview]
Message-ID: <bug-55391-4@http.gcc.gnu.org/bugzilla/> (raw)


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

             Bug #: 55391
           Summary: [4.8 regression] ICE in adjust_address_1 at
                    emit-rtl.c:2180 breaks bulding cross to sparc64-linux
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


Attempting to build gcc-4.8-20121118 as a cross from x86_64-linux to
sparc64-linux fails with:

libtool: compile:  /mnt/scratch/objdir/./gcc/g++ -B/mnt/scratch/objdir/./gcc/
-nostdinc++ -nostdinc++
-I/mnt/scratch/objdir/sparc64-unknown-linux/libstdc++-v3/include/sparc64-unknown-linux
-I/mnt/scratch/objdir/sparc64-unknown-linux/libstdc++-v3/include
-I/mnt/scratch/gcc-4.8-20121118/libstdc++-v3/libsupc++
-I/mnt/scratch/gcc-4.8-20121118/libstdc++-v3/include/backward
-I/mnt/scratch/gcc-4.8-20121118/libstdc++-v3/testsuite/util
-L/mnt/scratch/objdir/sparc64-unknown-linux/libstdc++-v3/src
-L/mnt/scratch/objdir/sparc64-unknown-linux/libstdc++-v3/src/.libs
-B/home/mikpe/pkgs/linux-x86_64/cross-sparc64/sparc64-unknown-linux/bin/
-B/home/mikpe/pkgs/linux-x86_64/cross-sparc64/sparc64-unknown-linux/lib/
-isystem
/home/mikpe/pkgs/linux-x86_64/cross-sparc64/sparc64-unknown-linux/include
-isystem
/home/mikpe/pkgs/linux-x86_64/cross-sparc64/sparc64-unknown-linux/sys-include
-DHAVE_CONFIG_H -I. -I/mnt/scratch/gcc-4.8-20121118/libitm
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/linux/sparc
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/linux
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/sparc
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/posix
-I/mnt/scratch/gcc-4.8-20121118/libitm/config/generic
-I/mnt/scratch/gcc-4.8-20121118/libitm -ftls-model=initial-exec -Wall -pthread
-Werror -std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -fabi-version=4
-g -O2 -D_GNU_SOURCE -MT method-serial.lo -MD -MP -MF .deps/method-serial.Tpo
-c /mnt/scratch/gcc-4.8-20121118/libitm/method-serial.cc -o method-serial.o
In file included from /mnt/scratch/gcc-4.8-20121118/libitm/libitm_i.h:87:0,
                 from /mnt/scratch/gcc-4.8-20121118/libitm/method-serial.cc:25:
/mnt/scratch/gcc-4.8-20121118/libitm/method-serial.cc: In member function
'virtual _ITM_TYPE_CE {anonymous}::serialirr_dispatch::ITM_RCE(const
_ITM_TYPE_CE*)':
/mnt/scratch/gcc-4.8-20121118/libitm/dispatch.h:37:41: internal compiler error:
in adjust_address_1, at emit-rtl.c:2180
     return load(ptr, abi_dispatch::LSMOD);                                  \
                                         ^
(long stack dump omitted)

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]: *** [method-serial.lo] Error 1
make[4]: Leaving directory `/mnt/scratch/objdir/sparc64-unknown-linux/libitm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/scratch/objdir/sparc64-unknown-linux/libitm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir/sparc64-unknown-linux/libitm'
make[1]: *** [all-target-libitm] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir'
make: *** [all] Error 2

Found while checking to see if the native ICE reported in PR55388 could be
reproduced with a cross.  Disabling libitm allows the build to complete.  (I
also had to disable libsanitizer to work around a build error there.)

Starting a bisection...


             reply	other threads:[~2012-11-19 10:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 10:38 mikpe at it dot uu.se [this message]
2012-11-19 11:48 ` [Bug bootstrap/55391] " ebotcazou at gcc dot gnu.org
2012-11-19 12:06 ` ebotcazou at gcc dot gnu.org
2012-11-19 12:39 ` mikpe at it dot uu.se
2012-11-20  3:00 ` [Bug middle-end/55391] " pinskia at gcc dot gnu.org
2012-11-20 19:50 ` rsandifo at gcc dot gnu.org
2012-11-20 19:53 ` rsandifo at gcc dot gnu.org
2012-11-20 22:13 ` mikpe at it dot uu.se

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