/tmp/portage/dev-util/ccache-4.8-r1/work/ccache-4.8/src/Logging.hpp:33:7: internal compiler error: Segmentation fault 33 | Logging::log(std::string_view(message_)); \ | ^~~~~~~ /tmp/portage/dev-util/ccache-4.8-r1/work/ccache-4.8/src/Logging.hpp:39:27: note: in expansion of macro ‘LOG_RAW’ 39 | #define LOG(format_, ...) LOG_RAW(fmt::format(FMT_STRING(format_), __VA_ARGS__)) | ^~~~~~~ /tmp/portage/dev-util/ccache-4.8-r1/work/ccache-4.8/src/storage/local/LocalStorage.cpp:710:13: note: in expansion of macro ‘LOG’ 710 | LOG("Failed to acquire content lock for {}/{}", l1_index, l2_index); | ^~~ 0xda404f crash_signal /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/toplev.cc:322 0x7fc986a5a5cf ??? /tmp/portage/sys-libs/glibc-2.37-r3/work/glibc-2.37/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 0x801ee5 vec<tree_node*, va_gc, vl_embed>::end() /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/vec.h:593 0x801ee5 tree_node** end<tree_node*, va_gc, vl_embed>(vec<tree_node*, va_gc, vl_embed>*) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/vec.h:426 0x801ee5 find_parameter_packs_r /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/pt.cc:4110 0x102f002 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*)) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/tree.cc:11232 0x102f226 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*)) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/tree.cc:11347 0x801d15 find_parameter_packs_r /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/pt.cc:4076 0x102f002 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*)) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/tree.cc:11232 0x102f1dc walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*)) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/tree.cc:11463 0x102f1dc walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*)) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/tree.cc:11463 0x102f258 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*)) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/tree.cc:11278 0x7fd6ea check_for_bare_parameter_packs(tree_node*, unsigned int) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/pt.cc:4320 0x83e7e5 finish_expr_stmt(tree_node*) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/semantics.cc:884 0x81f674 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/pt.cc:18623 0x81ef43 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/pt.cc:18577 0x81ef43 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/pt.cc:18591 0x81e7b5 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/pt.cc:18577 0x81e7b5 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/pt.cc:18953 0x82018f tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /tmp/portage/sys-devel/gcc-12.3.0/work/gcc-12.3.0/gcc/cp/pt.cc:18577 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. ninja: build stopped: subcommand failed. * ERROR: dev-util/ccache-4.8-r1::gentoo failed (compile phase): * ninja -v -j1 -l0 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2124: Called cmake_src_compile * environment, line 879: Called cmake_build * environment, line 848: Called eninja * environment, line 1303: Called die * The specific snippet of code: * "$@" || die -n "${*} failed"
Portage 3.0.47 (python 3.11.3-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.37-r3, 5.15.110-gentoo-r1 x86_64) ================================================================= System uname: Linux-5.15.110-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-glibc2.37 KiB Mem: 32647896 total, 26636664 free KiB Swap: 16777212 total, 16464324 free Timestamp of repository gentoo: Sun, 14 May 2023 06:15:01 +0000 Head commit of repository gentoo: 58c6d809fd1024a8b5720e53d53264f0960565fe sh bash 5.2_p15-r2 ld GNU ld (Gentoo 2.40 p5) 2.40.0 ccache version 4.8 [enabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.36.1-r1::gentoo dev-lang/python: 2.7.18_p16-r1::gentoo, 3.10.11::gentoo, 3.11.3::gentoo dev-lang/rust: 1.69.0-r1::gentoo dev-util/ccache: 4.8::gentoo dev-util/cmake: 3.26.3::gentoo dev-util/meson: 1.1.0::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/openrc: 0.47.1::gentoo sys-apps/sandbox: 2.30-r1::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r1::gentoo, 16.0.3::gentoo sys-devel/gcc: 11.3.1_p20230427::gentoo, 12.3.0::gentoo, 13.1.0-r1::gentoo sys-devel/gcc-config: 2.10::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 15.0.7::gentoo, 16.0.3::gentoo sys-devel/make: 4.4.1::gentoo sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync1.de.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 8 sync-rsync-extra-opts: --exclude=/lost+found emacs location: /var/db/repos/emacs sync-type: laymansync sync-uri: https://anongit.gentoo.org/git/repo/proj/emacs.git masters: gentoo priority: 50 volatile: False ulm location: /var/db/repos/ulm sync-type: laymansync sync-uri: https://anongit.gentoo.org/git/repo/dev/ulm.git masters: gentoo priority: 50 volatile: False local location: /var/db/repos/local masters: gentoo priority: 100 volatile: True ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -ggdb -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -ggdb -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --dynamic-deps=n --changed-deps-report=n" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.netcologne.de/gentoo/ http://gentoo.osuosl.org/" INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/tmpfiles.d" LANG="POSIX" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en en_GB en_US de de@1901 de_DE fr fr_FR la" MAKEOPTS="-j8" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found" 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="/tmp" SHELL="/bin/bash" USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr bash-completion bbdb bluetooth branding bzip2 cairo caps cdda cdparanoia cdr cli crypt css cups curl dbus dri dts dvd dvdr elogind emacs encode exif expat fbcon ffmpeg filecaps flac fontconfig fortran gd gdbm ggi gif gimp gmp gpg gpm gstreamer gtk gui guile harfbuzz iconv icu imagemagick imap inotify ipv6 jbig jpeg kpathsea latex lcms libcaca libglvnd libnotify libtirpc lua lzma m17n-lib mad math metric mng motif mp3 mp4 mpeg multilib ncurses nls nptl nscd nsplugin offensive ogg opengl openmp pam pango pcre pdf pkcs11 plotutils png policykit portaudio postgres postscript ppds pulseaudio qt5 readline recode regex sdl seccomp skey sound sox speex spell split-usr ssl startup-notification svg t1lib test-rust tiff truetype udev udisks unicode upower usb v4l vorbis wifi wxwidgets x264 xattr xcb xft xml xpm xv xvid xvmc zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel" 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 sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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="libinput wacom" KERNEL="linux" L10N="en en-GB de de-1901 fr la" 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_11" PYTHON_TARGETS="python3_10 python3_11" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby31" USERLAND="GNU" VIDEO_CARDS="fbdev intel i965 iris vesa" 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" YACC="bison -y" 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, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YFLAGS
Created attachment 861650 [details] build.log for dev-util/ccache-4.8-r1
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0290ec871c3c59716cdf7718bbee1cef1b86ec43 commit 0290ec871c3c59716cdf7718bbee1cef1b86ec43 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-16 06:07:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-16 06:07:20 +0000 sys-devel/gcc: backport ccache ICE fix for 12.3* Bug: https://bugs.gentoo.org/906310 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/files/gcc-12.3-ccache-ICE.patch | 67 +++++++++++++++++++++++++++ sys-devel/gcc/gcc-12.3.1_p20230512-r1.ebuild | 57 +++++++++++++++++++++++ 2 files changed, 124 insertions(+)
I'll keep this open until a fixed version is in ~arch (no affected version is in stable). I'll probably keyword the releases/gcc-12 snapshot that comes out on Friday.
sys-devel/gcc-12.2.1_p20230428-r1 same error
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb70c691b854a3c58064a00992345afdff3f452 commit 6fb70c691b854a3c58064a00992345afdff3f452 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-19 22:48:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-19 22:49:10 +0000 sys-devel/gcc: add 12.3.1_p20230519 Closes: https://bugs.gentoo.org/906310 Closes: https://bugs.gentoo.org/906380 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-12.3.1_p20230519.ebuild | 56 +++++++++++++++++++++++++++++++ sys-devel/gcc/gcc-13.1.1_p20230513.ebuild | 6 ++-- 3 files changed, 60 insertions(+), 3 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e7e9cde26408f39b3aecafdc66e9c3b0ecf7a1f commit 1e7e9cde26408f39b3aecafdc66e9c3b0ecf7a1f Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-20 00:11:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-20 00:11:44 +0000 sys-devel/gcc: add 12.3.1_p20230519 Recommitting just to have atomic commits (as I'd mixed in the gcc-13 keywording commit too). Closes: https://bugs.gentoo.org/906310 Closes: https://bugs.gentoo.org/906380 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-12.3.1_p20230519.ebuild | 56 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+)
(In reply to Oschtan from comment #5) > sys-devel/gcc-12.2.1_p20230428-r1 same error ... so I was wrong about stable not being affected. We'll stable 12.3.1_p20230519 soon.
(In reply to Oschtan from comment #5) > sys-devel/gcc-12.2.1_p20230428-r1 same error Yep also confirmed, Internal Compiler Error.
(In reply to Sam James from comment #8) > (In reply to Oschtan from comment #5) > > sys-devel/gcc-12.2.1_p20230428-r1 same error > > ... so I was wrong about stable not being affected. We'll stable > 12.3.1_p20230519 soon. Stable ccache compiles fine with stable gcc... but testing ccache fails with stable gcc... in summary... fixed gcc will need to go stable before latest ccache is stabilized ;)
*** Bug 906942 has been marked as a duplicate of this bug. ***
*** Bug 909289 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1683082f6735325895ab84e5d16801dc7fad2f5 commit c1683082f6735325895ab84e5d16801dc7fad2f5 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-08-08 02:09:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-08 02:09:48 +0000 dev-util/ccache: backport ICE workaround Already fixed in stable GCC but let's backport as it makes life easier for people. Bug: https://bugs.gentoo.org/906310 Bug: https://bugs.gentoo.org/906942 Signed-off-by: Sam James <sam@gentoo.org> dev-util/ccache/ccache-4.8.2.ebuild | 1 + .../files/ccache-4.8.2-gcc-ice-workaround.patch | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+)