Page MenuHomeFreeBSD

Export std::get_new_handler() from libcxxrt.so
ClosedPublic

Authored by arichardson on Aug 8 2017, 3:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 3, 7:01 PM
Unknown Object (File)
Wed, Nov 12, 11:01 AM
Unknown Object (File)
Mon, Nov 10, 4:52 AM
Unknown Object (File)
Oct 30 2025, 6:05 PM
Unknown Object (File)
Oct 30 2025, 6:05 PM
Unknown Object (File)
Oct 30 2025, 6:05 PM
Unknown Object (File)
Oct 30 2025, 1:26 PM
Unknown Object (File)
Oct 30 2025, 6:25 AM
Subscribers

Details

Summary

When trying to build world for MIPS64 with clang I was getting
linker errors because of a missing reference to std::get_new_handler().
It turns out std::get_new_handler() was not listed in Version.map so it was
marked as a local symbol in libcxxrt.so.

Obtained from: CheriBSD (https://github.com/CTSRD-CHERI/cheribsd/commit/f33ca065031020e307e21bef9a2074e777111f1e)

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12390
Build 12666: arc lint + arc unit

Event Timeline

lib/libcxxrt/Version.map
329

For consistency with stdlibc++ this should go in GLIBCXX_3.4.20, but I don't really know why this is done.

This revision is now accepted and ready to land.Nov 2 2017, 12:06 PM
This revision was automatically updated to reflect the committed changes.