DEBUG: | ^~~~~~~~~ DEBUG: | 1 error generated. ERROR: The libstdc++ in use is not new enough. Please run ./mach bootstrap to update your compiler, or update your system libstdc++ installation. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/spidermonkey-78.12.0/work/build/config.log * ERROR: dev-lang/spidermonkey-78.12.0::gentoo failed (configure phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j3-20210805-113534 ------------------------------------------------------------------- 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 Rust versions: [1] rust-bin-1.54.0 * HEAD of ::gentoo commit 03d32521135cf8c16c6e53750994e44840641fbc Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Aug 5 11:36:00 2021 +0000 2021-08-05 11:35:58 UTC emerge -qpvO dev-lang/spidermonkey [ebuild N ] dev-lang/spidermonkey-78.12.0 USE="clang jit -debug -lto -test"
Created attachment 730434 [details] emerge-info.txt
Created attachment 730437 [details] dev-lang:spidermonkey-78.12.0:20210805-152900.log
Created attachment 730440 [details] emerge-history.txt
Created attachment 730443 [details] environment
Created attachment 730446 [details] etc.portage.tar.bz2
Created attachment 730449 [details] logs.tar.bz2
Created attachment 730452 [details] temp.tar.bz2
> DEBUG: Executing: `/usr/lib/llvm/12/bin/x86_64-pc-linux-gnu-clang++ -std=gnu++17 /var/tmp/portage/dev-lang/spidermonkey-78.12.0/temp/conftest.uz_ekvx2.cpp -c` > DEBUG: The command returned non-zero exit status 1. > DEBUG: Its error output was: > DEBUG: | /var/tmp/portage/dev-lang/spidermonkey-78.12.0/temp/conftest.uz_ekvx2.cpp:1:10: fatal error: 'cstddef' file not found > DEBUG: | #include <cstddef> > DEBUG: | ^~~~~~~~~ > DEBUG: | 1 error generated. > ERROR: The libstdc++ in use is not new enough. Please run ./mach bootstrap to update your compiler, or update your system libstdc++ installation. Looks like something is wrong with your LLVM installation?
appeared recently at the tinderbox image 17.1_hardened-j4-20211102-040008
Created attachment 747987 [details] emerge-info.txt
Created attachment 747990 [details] dev-lang:spidermonkey-78.15.0:20211102-083607.log
Created attachment 747993 [details] emerge-history.txt
Created attachment 747996 [details] environment
Created attachment 747999 [details] etc.portage.tar.bz2
Created attachment 748002 [details] logs.tar.bz2
Created attachment 748005 [details] temp.tar.bz2
I got same issue when I have to build sys-libs/libcxxabi, sys-libs/libcxx, sys-libs/compiler-rt, sys-libs/compiler-rt-sanitizers without clang to fix https://bugs.gentoo.org/892527