Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 902887

Summary: sys-devel/gcc-13: ICE when building dev-util/ccache-4.8 - /.../Logging.hpp: internal compiler error:<snip> Segmentation fault
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: renegart
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109241
https://bugs.gentoo.org/show_bug.cgi?id=906310
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: emerge-info.txt
dev-util:ccache-4.8:20230323-222831.log
emerge-history.txt.bz2
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-03-24 08:12:44 UTC
too long lines were shrinked:

/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:2569:55:   required from struct std::__result_of_impl<false, false, storage::local::LocalStorage::recompress(std::optional<signed char>, uint32_t, const storage::local::ProgressReceiver&)::<lambda(const auto:39&, const auto:40&)>&, unsi
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/std_function.h:348:9:   recursively required by substitution of template<class _Result, class _Ret> struct std::__is_invocable_impl<_Result, _Ret, true, std::__void_t<typename _CTp::type> > [with _Result = std::__invoke_result<storage::local::
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/std_function.h:348:9:   required from struct std::function<void(unsigned char, const std::function<void(double)>&)>::_Callable<storage::local::LocalStorage::recompress(std::optional<signed char>, uint32_t, const storage::local::ProgressReceive
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/std_function.h:353:8:   required by substitution of template<class _Res, class ... _ArgTypes> template<class _Cond, class _Tp> using std::function<_Res(_ArgTypes ...)>::_Requires = std::__enable_if_t<_Cond::value, _Tp> [with _Cond = std::funct
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/std_function.h:434:9:   required by substitution of template<class _Functor, class _Constraints> std::function<void(unsigned char, const std::function<void(double)>&)>::function(_Functor&&) [with _Functor = storage::local::LocalStorage::recomp
/var/tmp/portage/dev-util/ccache-4.8/work/ccache-4.8/src/storage/local/LocalStorage.cpp:701:24:   required from here
/var/tmp/portage/dev-util/ccache-4.8/work/ccache-4.8/src/Logging.hpp:33:7: internal compiler error: Segmentation fault
   33 |       Logging::log(std::string_view(message_));                                \
      |       ^~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-j4-20230321-050003

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.0
Python 3.10.10
Available Rust versions:
  [1]   rust-bin-1.68.0
  [2]   rust-1.68.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit cc889d8e6e9de23b2bd80c01f7c40f98360e2119
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 23 22:03:59 2023 +0000

    2023-03-23 22:03:59 UTC

emerge -qpvO dev-util/ccache
[ebuild  N    ] dev-util/ccache-4.8  USE="static-c++ -doc -redis -test -verify-sig"
Comment 1 Toralf Förster gentoo-dev 2023-03-24 08:12:45 UTC
Created attachment 858795 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-24 08:12:46 UTC
Created attachment 858797 [details]
dev-util:ccache-4.8:20230323-222831.log
Comment 3 Toralf Förster gentoo-dev 2023-03-24 08:12:47 UTC
Created attachment 858799 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-03-24 08:12:51 UTC
Created attachment 858801 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-03-24 08:12:52 UTC
Created attachment 858803 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-24 08:12:53 UTC
Created attachment 858805 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-24 08:12:54 UTC
Created attachment 858807 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-27 11:35:16 UTC
Fixed in 13.0.1_pre20230326.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-11 06:54:57 UTC
*** Bug 910209 has been marked as a duplicate of this bug. ***