#1574·mold

mold fails to link chrome's libcrashpad_handler_trampoline

Author: agrieveCreated May 1, 2026Updated May 14, 2026

Filed crbug with a mold --repro attachment: https://crbug.com/508678496

Trying to link this executable with mold gives:

mold: error: undefined symbol: std::__Cr::thread::hardware_concurrency()
>>> referenced by sysinfo.cc
>>>               obj/third_party/abseil-cpp/absl/base/base/sysinfo.o:(void absl::base_internal::CallOnceImpl<absl::base_internal::NumCPUs()::$_0>(std::__Cr::atomic<unsigned int>*, absl::base_internal::SchedulingMode, absl::base_internal::NumCPUs()::$_0&&))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

It links fine with lld.

This is on x64 Android.