Compilation with clang-18 as a compiler and libc++ as a runtime library delivered with llvm fails The bug is described and fixed in the upstream, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1849070 I suggest that we should include the patch in the gentoo tree
There is a PR opened https://github.com/gentoo/gentoo/pull/38864
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e2ed3b9be6da56f48350b53a36ee05f1ca86fc5 commit 2e2ed3b9be6da56f48350b53a36ee05f1ca86fc5 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2024-10-04 12:56:34 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-10-04 12:56:34 +0000 dev-lang/spidermonkey: add 115.16.0 - include upstream patch to fix compiling with libcxx-18. Closes: https://bugs.gentoo.org/940720 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-lang/spidermonkey/Manifest | 2 + dev-lang/spidermonkey/spidermonkey-115.16.0.ebuild | 509 +++++++++++++++++++++ 2 files changed, 511 insertions(+)