Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806580 - dev-lang/spidermonkey-78.12.0 - ERROR: The libstdc++ in use is not new enough. Please run ./mach bootstrap to update your compiler
Summary: dev-lang/spidermonkey-78.12.0 - ERROR: The libstdc++ in use is not new enough...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-05 17:04 UTC by Toralf Förster
Modified: 2023-05-24 04:21 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.83 KB, text/plain)
2021-08-05 17:04 UTC, Toralf Förster
Details
dev-lang:spidermonkey-78.12.0:20210805-152900.log (dev-lang:spidermonkey-78.12.0:20210805-152900.log,15.24 KB, text/plain)
2021-08-05 17:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,16.15 KB, text/plain)
2021-08-05 17:04 UTC, Toralf Förster
Details
environment (environment,139.67 KB, text/plain)
2021-08-05 17:04 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.70 KB, application/x-bzip)
2021-08-05 17:04 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.88 KB, application/x-bzip)
2021-08-05 17:04 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.32 KB, application/x-bzip)
2021-08-05 17:04 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,14.46 KB, text/plain)
2021-11-02 08:59 UTC, Toralf Förster
Details
dev-lang:spidermonkey-78.15.0:20211102-083607.log (dev-lang:spidermonkey-78.15.0:20211102-083607.log,16.22 KB, text/plain)
2021-11-02 08:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,27.15 KB, text/plain)
2021-11-02 08:59 UTC, Toralf Förster
Details
environment (environment,140.64 KB, text/plain)
2021-11-02 08:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,27.73 KB, application/x-bzip)
2021-11-02 08:59 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.87 KB, application/x-bzip)
2021-11-02 08:59 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.35 KB, application/x-bzip)
2021-11-02 08:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-05 17:04:05 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-08-05 17:04:06 UTC
Created attachment 730434 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-05 17:04:07 UTC
Created attachment 730437 [details]
dev-lang:spidermonkey-78.12.0:20210805-152900.log
Comment 3 Toralf Förster gentoo-dev 2021-08-05 17:04:08 UTC
Created attachment 730440 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-05 17:04:10 UTC
Created attachment 730443 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-05 17:04:11 UTC
Created attachment 730446 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-05 17:04:12 UTC
Created attachment 730449 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-05 17:04:13 UTC
Created attachment 730452 [details]
temp.tar.bz2
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2021-08-05 18:33:26 UTC
> 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?
Comment 9 Toralf Förster gentoo-dev 2021-11-02 08:59:23 UTC
appeared recently at the tinderbox image 17.1_hardened-j4-20211102-040008
Comment 10 Toralf Förster gentoo-dev 2021-11-02 08:59:24 UTC
Created attachment 747987 [details]
emerge-info.txt
Comment 11 Toralf Förster gentoo-dev 2021-11-02 08:59:25 UTC
Created attachment 747990 [details]
dev-lang:spidermonkey-78.15.0:20211102-083607.log
Comment 12 Toralf Förster gentoo-dev 2021-11-02 08:59:26 UTC
Created attachment 747993 [details]
emerge-history.txt
Comment 13 Toralf Förster gentoo-dev 2021-11-02 08:59:27 UTC
Created attachment 747996 [details]
environment
Comment 14 Toralf Förster gentoo-dev 2021-11-02 08:59:29 UTC
Created attachment 747999 [details]
etc.portage.tar.bz2
Comment 15 Toralf Förster gentoo-dev 2021-11-02 08:59:29 UTC
Created attachment 748002 [details]
logs.tar.bz2
Comment 16 Toralf Förster gentoo-dev 2021-11-02 08:59:30 UTC
Created attachment 748005 [details]
temp.tar.bz2
Comment 17 Oleg 2023-05-24 04:21:07 UTC
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