public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikpelinux at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/95952] New: [8.4.1 regression] gcc-8 bootstrap failure on powerpc64-linux
Date: Sun, 28 Jun 2020 22:29:37 +0000	[thread overview]
Message-ID: <bug-95952-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 95952
           Summary: [8.4.1 regression] gcc-8 bootstrap failure on
                    powerpc64-linux
           Product: gcc
           Version: 8.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mikpelinux at gmail dot com
  Target Milestone: ---

Attempting to bootstrap gcc-8-20200625 on powerpc64-linux-gnu fails with an
ICE:

/mnt/scratch/objdir8/./gcc/xgcc -B/mnt/scratch/objdir8/./gcc/ -xc -nostdinc
/dev/null -S -o /dev/null
-fself-test=/mnt/scratch/gcc-8-20200625/gcc/testsuite/selftests
<built-in>: internal compiler error: in altivec_init_builtins, at
config/rs6000/rs6000.c:18021
0x10d8cd8f altivec_init_builtins
        /mnt/scratch/gcc-8-20200625/gcc/config/rs6000/rs6000.c:18021
0x10d8ae87 rs6000_init_builtins
        /mnt/scratch/gcc-8-20200625/gcc/config/rs6000/rs6000.c:17458
0x100f135b c_define_builtins
        /mnt/scratch/gcc-8-20200625/gcc/c-family/c-common.c:3930
0x100f34d3 c_common_nodes_and_builtins()
        /mnt/scratch/gcc-8-20200625/gcc/c-family/c-common.c:4400
0x1002147b c_init_decl_processing(/mnt/scratch/objdir8/./gcc/xgcc
-B/mnt/scratch/objdir8/./gcc/ -xc -nostdinc /dev/null -S -o /dev/null
-fself-test=/mnt/scratch/gcc-8-20200625/gcc/testsuite/selftests
<built-in>: internal compiler error: in altivec_init_builtins, at
config/rs6000/rs6000.c:18021
0x10d8cd8f altivec_init_builtins
        /mnt/scratch/gcc-8-20200625/gcc/config/rs6000/rs6000.c:18021
0x10d8ae87 rs6000_init_builtins
        /mnt/scratch/gcc-8-20200625/gcc/config/rs6000/rs6000.c:17458
0x100f135b c_define_builtins
        /mnt/scratch/gcc-8-20200625/gcc/c-family/c-common.c:3930
0x100f34d3 c_common_nodes_and_builtins()
        /mnt/scratch/gcc-8-20200625/gcc/c-family/c-common.c:4400
0x1002147b c_init_decl_processing()
        /mnt/scratch/gcc-8-20200625/gcc/c/c-decl.c:4189
0x10077677 c_objc_common_init()
        /mnt/scratch/gcc-8-20200625/gcc/c/c-objc-common.c:59
0x108ab4ab lang_dependent_init
        /mnt/scratch/gcc-8-20200625/gcc/toplev.c:1892
0x108abdc3 do_compile
        /mnt/scratch/gcc-8-20200625/gcc/toplev.c:2146
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[3]: *** [s-selftest-c] Error 1
make[3]: Leaving directory `/mnt/scratch/objdir8/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir8'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir8'
make: *** [bootstrap] Error 2)
        /mnt/scratch/gcc-8-20200625/gcc/c/c-decl.c:4189
0x10077677 c_objc_common_init()
        /mnt/scratch/gcc-8-20200625/gcc/c/c-objc-common.c:59
0x108ab4ab lang_dependent_init
        /mnt/scratch/gcc-8-20200625/gcc/toplev.c:1892
0x108abdc3 do_compile
        /mnt/scratch/gcc-8-20200625/gcc/toplev.c:2146
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[3]: *** [s-selftest-c] Error 1
make[3]: Leaving directory `/mnt/scratch/objdir8/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir8'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir8'
make: *** [bootstrap] Error 2

The ICE is the following assert failing:

          /* Cannot define builtin if the instruction is disabled.  */
          gcc_assert (d->icode != CODE_FOR_nothing);

Recent snapshots of gcc-9/10/11 all bootstrap fine, as did earlier gcc-8
snapshots.  A bisection identified the following as the culprit:

>From 09f2293fac1785681f8ceaf6ae6d2d5cfe519b08 Mon Sep 17 00:00:00 2001
From: Will Schmidt <will_schmidt@vnet.ibm.com>
Date: Tue, 7 Apr 2020 16:32:39 -0500
Subject: [PATCH] rs6000 pragma fix backport from mainline to gcc-8

Reverting that commit from current head of gcc-8 allows it to bootstrap again.

Configuration parameters:
/mnt/scratch/gcc-8-20200625/configure --prefix=/mnt/scratch/install8
--with-gmp=/home/mikpe/pkgs/linux-ppc64/gmp-6.2.0
--with-mpfr=/home/mikpe/pkgs/linux-ppc64/mpfr-4.0.2
--with-mpc=/home/mikpe/pkgs/linux-ppc64/mpc-1.1.0 --without-isl
--disable-plugin --disable-lto --disable-nls --enable-threads=posix
--with-cpu=default32 --enable-checking=release --disable-libmudflap
--enable-linker-build-id --enable-languages=c,ada,c++

             reply	other threads:[~2020-06-28 22:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-28 22:29 mikpelinux at gmail dot com [this message]
2020-06-29 10:43 ` [Bug bootstrap/95952] [8 Regression] " rguenth at gcc dot gnu.org
2020-06-29 13:33 ` [Bug target/95952] " wschmidt at gcc dot gnu.org
2020-06-29 16:13 ` willschm at gcc dot gnu.org
2020-06-29 16:33 ` bergner at gcc dot gnu.org
2020-06-29 16:59 ` bergner at gcc dot gnu.org
2020-06-29 17:23 ` mikpelinux at gmail dot com
2020-07-01 22:43 ` segher at gcc dot gnu.org
2020-07-01 23:28 ` mikpelinux at gmail dot com
2020-07-02 15:25 ` willschm at gcc dot gnu.org
2020-07-02 15:30 ` bergner at gcc dot gnu.org
2020-07-02 16:10 ` mikpelinux at gmail dot com
2020-07-13 22:04 ` willschm at gcc dot gnu.org
2020-07-13 22:06 ` willschm at gcc dot gnu.org
2020-07-14 16:41 ` mikpelinux at gmail dot com
2020-07-14 17:16 ` willschm at gcc dot gnu.org
2020-07-17 14:56 ` cvs-commit at gcc dot gnu.org
2020-07-21 14:37 ` willschm at gcc dot gnu.org
2020-07-21 14:38 ` willschm 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-95952-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).