Index: uspace/lib/cpp/src/__bits/runtime.cpp
===================================================================
--- uspace/lib/cpp/src/__bits/runtime.cpp	(revision 222774a69b1583c34db4419abfda9fa6a1031f74)
+++ uspace/lib/cpp/src/__bits/runtime.cpp	(revision 78e5a7357b11d2664295c3ff11456ebcc05901b7)
@@ -1,3 +1,4 @@
 /*
+ * Copyright (c) 2026 Jiri Svoboda
  * Copyright (c) 2018 Jaroslav Jindrak
  * All rights reserved.
@@ -71,4 +72,13 @@
     }
 
+    /**
+     * Called when an object destructor exits due to an exception
+     * during stack unwinding.
+     */
+    extern "C" void __cxa_call_terminate()
+    {
+        std::terminate();
+    }
+
 #ifdef __arm__
     extern "C" int __aeabi_atexit(void* p, void (*f)(void*), void* d)
