Skip to content

mold fails to link chrome's libcrashpad_handler_trampoline #1574

@agrieve

Description

@agrieve

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions