From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 97764383F85D; Sun, 28 Jun 2020 22:29:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97764383F85D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593383377; bh=6lmh3cOn3BsEEbK/gWjXxRfqHOv1NOleCK3y0G3Sn44=; h=From:To:Subject:Date:From; b=CXHleN219ON1HyoyICAdaR4hpVZvtnXfR21CUhX/e8/nZV6UYG5MPuNKvdWlfBRzN 07KlUdSV7GwikKjMM5OZxUDaCWQXCyZsp+g6tuTm5bdX0We1Z9FBzd3J3bYLPA8AMc viFVf1nyTQJ8QhQroAy2qlD+BDgx5kmtSeOCwyXU= From: "mikpelinux at gmail dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 8.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpelinux at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2020 22:29:37 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95952 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=3D/mnt/scratch/gcc-8-20200625/gcc/testsuite/selftests : 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=3D/mnt/scratch/gcc-8-20200625/gcc/testsuite/selftests : 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 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 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 !=3D 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 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 aga= in. Configuration parameters: /mnt/scratch/gcc-8-20200625/configure --prefix=3D/mnt/scratch/install8 --with-gmp=3D/home/mikpe/pkgs/linux-ppc64/gmp-6.2.0 --with-mpfr=3D/home/mikpe/pkgs/linux-ppc64/mpfr-4.0.2 --with-mpc=3D/home/mikpe/pkgs/linux-ppc64/mpc-1.1.0 --without-isl --disable-plugin --disable-lto --disable-nls --enable-threads=3Dposix --with-cpu=3Ddefault32 --enable-checking=3Drelease --disable-libmudflap --enable-linker-build-id --enable-languages=3Dc,ada,c++=