from /usr/include/sys/types.h:25, from /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6-r4/work/gcc-3.3.6/libiberty/cplus-dem.c:48: /usr/include/sys/cdefs.h:1: internal compiler error: Segmentation fault 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. | In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j3-20210804-131442 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.53.0 * The following VMs are available for generation-2: *) AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-jre-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 [1] php7.3 [2] php7.4 [3] php8.0 * HEAD of ::gentoo commit d4a75c4650d322b56e261e3d85fdbf4af40ec4f9 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Aug 5 05:07:24 2021 +0000 2021-08-05 05:07:22 UTC emerge -qpvO sys-libs/libstdc++-v3 [ebuild N ] sys-libs/libstdc++-v3-3.3.6-r4 USE="multilib nls"
Created attachment 730254 [details] emerge-info.txt
Created attachment 730256 [details] emerge-history.txt
Created attachment 730258 [details] environment
Created attachment 730260 [details] etc.portage.tar.bz2
Created attachment 730262 [details] logs.tar.bz2
Created attachment 730264 [details] sys-libs:libstdc++-v3-3.3.6-r4:20210805-062813.log
Created attachment 730266 [details] temp.tar.bz2
@Toralf, is it possible this build-time bug is related to glibc-2.34, e.g. https://bugs.gentoo.org/show_bug.cgi?id=glibc-2.34 ? I saw some other weird build issues with packages and it refers to libc in the error log, so..
(In reply to Martijn Schmidt from comment #8) > @Toralf, is it possible this build-time bug is related to glibc-2.34, e.g. > https://bugs.gentoo.org/show_bug.cgi?id=glibc-2.34 ? I saw some other weird > build issues with packages and it refers to libc in the error log, so.. Nah, this is a GCC bug.
Should be fixed in https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b1c4b1c100889c0f0b11dd79ca083dfb3bc00f4a and should therefore be fixed by our upcoming GCC 11 snapshot.
(In reply to Sam James from comment #10) > Should be fixed in > https://gcc.gnu.org/git/?p=gcc.git;a=commit; > h=b1c4b1c100889c0f0b11dd79ca083dfb3bc00f4a and should therefore be fixed by > our upcoming GCC 11 snapshot. "user1" from #gentoo confirmed this fixes their issue.
commit c397cbff26bf100ae36eefe886497e8238e53515 Author: David Seifert <soap@gentoo.org> Date: Sun Nov 28 00:04:10 2021 +0100 sys-devel/gcc: add 11.2.1_p20211127 upstream has indicated that 11.3 is unlikely to be released soon, and 11.2 has accumulated enough bugs to require an intermediate release for Gentoo. Bug: https://bugs.gentoo.org/806482 Bug: https://bugs.gentoo.org/811867 Bug: https://bugs.gentoo.org/823780 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>