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

Bug 882693

Summary: net-libs/nodejs-18.12.1 - ld.lld: error: undefined symbol: _atomic_is_lock_free
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED INVALID    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=870919
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
net-libs:nodejs-18.12.1:20221124-090049.log.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-24 09:24:58 UTC
too long lines were shrinked:

#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
  clang++ -o /var/tmp/portage/net-libs/nodejs-18.12.1/work/node-v18.12.1/out/Release/obj.target/node_mksnapshot/tools/snapshot/node_mksnapshot.o ../tools/snapshot/node_mksnapshot.cc '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_NAM
  clang++ -o /var/tmp/portage/net-libs/nodejs-18.12.1/work/node-v18.12.1/out/Release/embedtest -pthread -rdynamic -m64 -Wl,-z,noexecstack -Wl,--whole-archive /var/tmp/portage/net-libs/nodejs-18.12.1/work/node-v18.12.1/out/Release/obj.target/tools/v8_gypfiles/libv8_snapshot.a -Wl,--no-whole-archive -
ld.lld: error: undefined symbol: __atomic_is_lock_free
>>> referenced by node.cc
>>>               /var/tmp/portage/net-libs/nodejs-18.12.1/work/node-v18.12.1/out/Release/obj.target/libnode/src/node.o:(node::RegisterSignalHandler(int, void (*)(int, siginfo_t*, void*), bool)) in archive /var/tmp/portage/net-libs/nodejs-18.12.1/work/node-v18.12.1/out/Release/obj.target/libnode.a

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20221124-000004

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 56ce4cbdc968a86c9bf92e7e4f639f11d004acf5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 24 08:16:51 2022 +0000

    2022-11-24 08:16:50 UTC

emerge -qpvO net-libs/nodejs
[ebuild  N    ] net-libs/nodejs-18.12.1  USE="icu npm snapshot ssl system-icu system-ssl -debug -doc -inspector -lto (-pax-kernel) -systemtap -test" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2022-11-24 09:24:59 UTC
Created attachment 836293 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-24 09:25:00 UTC
Created attachment 836295 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-24 09:25:02 UTC
Created attachment 836297 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-24 09:25:03 UTC
Created attachment 836299 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-24 09:25:04 UTC
Created attachment 836301 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-24 09:25:05 UTC
Created attachment 836303 [details]
net-libs:nodejs-18.12.1:20221124-090049.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-24 09:25:07 UTC
Created attachment 836305 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-24 09:25:08 UTC
Created attachment 836307 [details]
var.tmp.clang.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-07 17:18:18 UTC
-rtlib=libgcc is missing from the log, I think it's a hook issue.