Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 845051 - sys-devel/gcc-10.3.1_p20211126 segmentation fault
Summary: sys-devel/gcc-10.3.1_p20211126 segmentation fault
Status: RESOLVED DUPLICATE of bug 835069
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-16 17:53 UTC by Esteve Varela Colominas
Modified: 2022-05-16 20:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gcc build log (build.log.gz,71.27 KB, application/gzip)
2022-05-16 17:54 UTC, Esteve Varela Colominas
Details
stage3 log (stage3.log.gz,709.13 KB, application/gzip)
2022-05-16 17:54 UTC, Esteve Varela Colominas
Details
stage2 log (stage2.log.gz,605.05 KB, application/gzip)
2022-05-16 17:55 UTC, Esteve Varela Colominas
Details
stage1 log (stage1.log.gz,135.55 KB, application/gzip)
2022-05-16 17:55 UTC, Esteve Varela Colominas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Esteve Varela Colominas 2022-05-16 17:53:39 UTC
Running bootstrap-prefix.sh an hour ago on a current x86_64 gentoo system crashed. No idea what the cause is but I don't really have time to diagnose it right now:

/home/mid-kid/.gentoo-current/var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/build/./gcc/xgcc -B/home/mid-kid/.gentoo-current/var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/build/./gcc/ -xc -nostdinc /dev/null -S -o /dev/null -fself-test=/home/mid-kid/.gentoo-current/var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/gcc/testsuite/selftests
/home/mid-kid/.gentoo-current/var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/build/./gcc/xgcc -B/home/mid-kid/.gentoo-current/var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/build/./gcc/ -xc++ -nostdinc /dev/null -S -o /dev/null -fself-test=/home/mid-kid/.gentoo-current/var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/gcc/testsuite/selftests
cc1plus: internal compiler error: Segmentation fault
cc1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make[2]: *** [/home/mid-kid/.gentoo-current/var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/gcc/c/Make-lang.in:124: s-selftest-c] Error 1
make[2]: *** Waiting for unfinished jobs....
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make[2]: *** [/home/mid-kid/.gentoo-current/var/tmp/portage/sys-devel/gcc-10.3.1_p20211126/work/gcc-10-20211126/gcc/cp/Make-lang.in:178: s-selftest-c++] Error 1
Comment 1 Esteve Varela Colominas 2022-05-16 17:54:24 UTC
Created attachment 779246 [details]
gcc build log
Comment 2 Esteve Varela Colominas 2022-05-16 17:54:44 UTC
Created attachment 779249 [details]
stage3 log
Comment 3 Esteve Varela Colominas 2022-05-16 17:55:16 UTC
Created attachment 779252 [details]
stage2 log
Comment 4 Esteve Varela Colominas 2022-05-16 17:55:28 UTC
Created attachment 779255 [details]
stage1 log
Comment 5 Esteve Varela Colominas 2022-05-16 17:56:20 UTC
Gentoo host system info:

$ emerge --info
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop, gcc-11.3.0, glibc-2.34-r10, 5.15.32 x86_64)
=================================================================
System uname: Linux-5.15.32-x86_64-AMD_Ryzen_5_PRO_2500U_w-_Radeon_Vega_Mobile_Gfx-with-glibc2.34
KiB Mem:    23462700 total,  16797892 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Sat, 30 Apr 2022 22:00:01 +0000
Head commit of repository gentoo: 81f5aea4dedb55fdc18723a93ee2ba5d39b3053b
Timestamp of repository gentoo-zh: Sat, 30 Apr 2022 19:19:02 +0000
Head commit of repository gentoo-zh: 9545467f128471cdab5a263659ba984c6677afb8

Timestamp of repository guru: Sat, 30 Apr 2022 19:19:20 +0000
Head commit of repository guru: 2665532f2bb231389d9aff4d271351bcecf5016f

Timestamp of repository lto-overlay: Sat, 30 Apr 2022 19:19:16 +0000
Head commit of repository lto-overlay: e02e6005ed6c415794820a48bb513cc7715fe43b

Timestamp of repository pf4public: Sat, 30 Apr 2022 21:18:07 +0000
Head commit of repository pf4public: 5d364d78da83b3b3fdcf37491418ec059d9bab7f

Timestamp of repository src_prepare-overlay: Sat, 30 Apr 2022 19:19:21 +0000
Head commit of repository src_prepare-overlay: 3f34064b97deacf3f0ce8cef831b9bd813af9475

Head commit of repository tlp: 4ba9fce0927a4bc87a4df54eb352a163a439810e

sh dash 0.5.11.5
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r9::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.59.0::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

localrepo
    location: /usr/local/portage
    masters: gentoo

lto-overlay
    location: /var/db/repos/lto-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/lto-overlay.git
    masters: gentoo mv

mv
    location: /var/db/repos/mv
    masters: gentoo

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo

src_prepare-overlay
    location: /var/db/repos/src_prepare-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.git
    masters: gentoo

tlp
    location: /var/db/repos/tlp
    sync-type: git
    sync-uri: https://github.com/dywisor/tlp-portage
    masters: gentoo

Installed sets: @group-externdeps, @group-fonts, @group-i3-desktop, @group-sway-desktop
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -flto -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=4 -fuse-linker-plugin -pipe -w --param=lto-max-streaming-parallelism=4 -Wl,-O1 -Wl,--as-needed"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=znver1 -flto -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=4 -fuse-linker-plugin -pipe -w --param=lto-max-streaming-parallelism=4 -Wl,-O1 -Wl,--as-needed"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --nospinner --quiet-unmerge-warn --keep-going --usepkg --with-bdeps=y --binpkg-respect-use=n --binpkg-changed-deps=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=znver1 -flto -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=4 -fuse-linker-plugin -pipe -w --param=lto-max-streaming-parallelism=4"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver1 -flto -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=4 -fuse-linker-plugin -pipe -w --param=lto-max-streaming-parallelism=4"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/etc/apparmor.d /etc/systemd /lib/systemd /usr/lib/systemd"
LANG="ca_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=znver1 -flto -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=4 -fuse-linker-plugin -pipe -w --param=lto-max-streaming-parallelism=4"
MAKEOPTS="-j4 -l5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-Ctarget-cpu=znver1 -Copt-level=3"
SHELL="/bin/zsh"
USE="X acl acpi alsa amd64 bzip2 cairo cli crypt cups dbus dist-kernel dri elogind encode exif flac fontconfig fontforge fortran gdbm gif gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc lto metric mp4 multilib ncurses nls nptl ogg opengl openmp pam pango pcre pgo png policykit ppds qt5 readline seccomp split-usr ssl startup-notification svg truetype udev udisks unicode upower usb vaapi vim-syntax vorbis wxwidgets x264 xattr xcb xml xv zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics libinput keyboard mouse" KERNEL="linux" L10N="ca es-ES es en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-16 20:17:03 UTC

*** This bug has been marked as a duplicate of bug 835069 ***