public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/110787] New: [14 regression] ICE building SYSTEM.def
Date: Mon, 24 Jul 2023 08:11:58 +0000	[thread overview]
Message-ID: <bug-110787-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 110787
           Summary: [14 regression] ICE building SYSTEM.def
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: gaius at gcc dot gnu.org, sayle at gcc dot gnu.org,
                    ubizjak at gmail dot com
  Target Milestone: ---
            Target: i386-pc-solaris2.11, i686-pc-linux-gnu,
                    amd64-pc-solaris2.11, x86_64-pc-linux-gnu

Between 20230721 and 20230723, Solaris/x86 and Linux/i686 bootstrap broke
building SYSTEM.def in stage 2:

/bin/ksh /vol/gcc/src/hg/master/local/gcc/m2/tools-src/makeSystem -fpim \
             /vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.def \
             /vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod \
             -I/vol/gcc/src/hg/master/local/gcc/m2/gm2-libs \
             " ./gm2 -B./ -B/vol/gcc/i386-pc-solaris2.11/bin/
-L/var/gcc/regression/master/11.4-gcc/build/gcc/../ld "
/var/gcc/regression/master/11.4-gcc/build/gcc/m2/gm2-libs/SYSTEM.def
terminate called after throwing an instance of 'unsigned int'
during GIMPLE pass: cfg
/vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod: In function
‘ShiftVal’:
/vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod:77:1: internal compiler
error: Abort
   77 | BEGIN
      | ^~~~~
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.
SYSTEM module creates type: LOC
SYSTEM module creates type: WORD
SYSTEM module creates type: BYTE
SYSTEM module creates type: ADDRESS
SYSTEM module creates type: INTEGER8
SYSTEM module creates type: INTEGER16
SYSTEM module creates type: INTEGER32
SYSTEM module creates type: INTEGER64
SYSTEM module creates type: CARDINAL8
SYSTEM module creates type: CARDINAL16
SYSTEM module creates type: CARDINAL32
SYSTEM module creates type: CARDINAL64
SYSTEM module creates type: WORD16
SYSTEM module creates type: WORD32
SYSTEM module creates type: WORD64
SYSTEM module creates type: BITSET8
SYSTEM module creates type: BITSET16
SYSTEM module creates type: BITSET32
SYSTEM module creates type: REAL32
SYSTEM module creates type: REAL64
SYSTEM module creates type: REAL128
SYSTEM module creates type: COMPLEX32
SYSTEM module creates type: COMPLEX64
SYSTEM module creates type: COMPLEX128
SYSTEM module creates type: CSIZE_T
SYSTEM module creates type: CSSIZE_T
terminate called after throwing an instance of 'unsigned int'
during GIMPLE pass: cfg
/vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod: In function
‘ShiftVal’:
/vol/gcc/src/hg/master/local/gcc/m2/gm2-libs/SYSTEM.mod:77:1: internal compiler
error: Abort
   77 | BEGIN
      | ^~~~~

A reghunt identified the following patch as the culprit:

commit 59c38ddfe052a409a690380d0378169f4a3936ad
Author: Roger Sayle <roger@nextmovesoftware.com>
Date:   Sat Jul 22 21:50:06 2023 +0100

    i386: Use QImode for offsets in zero_extract/sign_extract in i386.md

It seems that the same patch also broke configuring 64-bit libphobos in
Solaris/amd64 and Linux/x86_64 builds:

configure: error: can't compile D sources!

configure:5405: /var/gcc/regression/master/11.4-gcc-64/build/./gcc/gdc
-B/var/gcc/regression/master/11.4-gcc-64/build/./gcc/
-B/vol/gcc/amd64-pc-solaris2.11/bin/ -B/vol/gcc/amd64-pc-solaris2.11/lib/
-isystem /vol/gcc/amd64-pc-solaris2.11/include -isystem
/vol/gcc/amd64-pc-solaris2.11/sys-include   -fno-checking -c -fno-druntime
-nostdinc -I /vol/gcc/src/hg/master/local/libphobos/libdruntime  -g -O2  
conftest.d >&5
<built-in>: internal compiler error: Segmentation Fault
0x1a06ffa
_D3dmd4root11stringtable__T11StringTableTCQBo10identifier10IdentifierZQBr10allocValueMFNaNbMAxaQCcZk
        /vol/gcc/src/hg/master/local/gcc/d/dmd/root/stringtable.d:260
0x1a0743f
_D3dmd4root11stringtable__T11StringTableTCQBo10identifier10IdentifierZQBr6updateMFNaNbMAxaZPSQDnQDmQDk__T11StringValueTQDaZQs
        /vol/gcc/src/hg/master/local/gcc/d/dmd/root/stringtable.d:193
0x1a07526 _D3dmd10identifier10Identifier6idPoolFNbAxabZCQBsQBrQBi
        /vol/gcc/src/hg/master/local/gcc/d/dmd/identifier.d:279
0x1a02264 Id::initialize()
        /vol/gcc/src/hg/master/local/gcc/d/dmd/id.d-mixin-36:54

             reply	other threads:[~2023-07-24  8:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24  8:11 ro at gcc dot gnu.org [this message]
2023-07-24  8:12 ` [Bug target/110787] " ro at gcc dot gnu.org
2023-07-24  8:16 ` pinskia at gcc dot gnu.org
2023-07-24  9:07 ` roger at nextmovesoftware dot com
2023-07-24  9:09 ` ro at CeBiTec dot Uni-Bielefeld.DE
2023-07-24 11:35 ` cvs-commit at gcc dot gnu.org
2023-07-24 13:25 ` rguenth at gcc dot gnu.org
2023-07-29 16:08 ` cvs-commit at gcc dot gnu.org
2023-07-30 19:37 ` gaius 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-110787-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).