Page MenuHomeFreeBSD

libcxxrt: Add a stub implementation of __cxa_call_terminate
ClosedPublic

Authored by jhb on Jul 17 2024, 7:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 9, 6:32 PM
Unknown Object (File)
Tue, Dec 9, 1:57 AM
Unknown Object (File)
Sun, Dec 7, 9:59 PM
Unknown Object (File)
Sat, Dec 6, 1:06 AM
Unknown Object (File)
Thu, Dec 4, 12:35 PM
Unknown Object (File)
Thu, Nov 20, 6:17 PM
Unknown Object (File)
Wed, Nov 12, 7:18 AM
Unknown Object (File)
Nov 11 2025, 9:56 AM
Subscribers
None

Details

Summary

This function is called by GCC 14 if a destructor invoked during
exception unwinding throws an exception.

Obtained from: libcxxrt commit 391a3dcc1054e18c2f0dff4e14d6d79ac95399d7

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58686
Build 55574: arc lint + arc unit

Event Timeline

I am not at all confident that this implementation is correct, and I've opened an upstream issue at https://github.com/libcxxrt/libcxxrt/issues/35

This has now been merged upstream to libcxxrt at https://github.com/libcxxrt/libcxxrt/pull/36. This is the last change needed to permit building amd64 with GCC 14.

This revision is now accepted and ready to land.Aug 20 2024, 8:49 PM