public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/95952] New: [8.4.1 regression] gcc-8 bootstrap failure on powerpc64-linux
@ 2020-06-28 22:29 mikpelinux at gmail dot com
  2020-06-29 10:43 ` [Bug bootstrap/95952] [8 Regression] " rguenth at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: mikpelinux at gmail dot com @ 2020-06-28 22:29 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-07-21 14:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 22:29 [Bug bootstrap/95952] New: [8.4.1 regression] gcc-8 bootstrap failure on powerpc64-linux mikpelinux at gmail dot com
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

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