Files
Konstantin Belousov 9dae9b31d2 libthr: require both _Unwind_ForcedUnwind and _Unwind_GetCFA for !PIC
Static linking must bring in both symbols for the unwind to work.

The landing pads added by 2734bbbcba reference _Unwind_Resume and
__gcc_personality_v0. In a static link, these pull UnwindLevel1.o
from libgcc_eh.a, which also defines _Unwind_ForcedUnwind, but
not UnwindLevel1-gcc-ext.o, which defines _Unwind_GetCFA. Unless
something else pulls that object in, as libcxxrt does for C++ programs,
thread_unwind_stop() calls a NULL _Unwind_GetCFA on every thread exit.

Reported and tested by:	dch
Fixes:	2734bbbcba ("libthr: Create landing pad in thr_once in C++ exception")
Sponsored by:	The FreeBSD Foundation
2026-11-07 01:21:08 +02:00
..
2026-01-13 10:19:04 -05:00
2026-09-01 15:28:28 +00:00
2024-10-14 10:26:17 -07:00
2025-01-01 15:11:06 -06:00
2024-10-14 10:26:17 -07:00
2026-01-06 12:56:50 -05:00
2026-10-26 10:35:42 +00:00
2026-09-13 18:09:38 -07:00
2026-09-01 14:49:24 +02:00
2025-10-03 19:46:55 +02:00
2026-03-15 00:41:29 -03:00
2025-11-24 10:47:10 -05:00
2025-08-08 13:27:26 -05:00
2024-10-08 16:13:39 -03:00
2026-10-18 11:24:20 -07:00
2024-10-14 10:26:17 -07:00
2024-11-12 12:11:51 -05:00
2026-10-21 13:24:44 +00:00
2025-09-30 09:14:05 +01:00
2026-01-06 04:26:53 +00:00
2026-03-13 23:49:53 +00:00
2026-04-08 14:22:45 -07:00
2026-01-15 07:28:28 +01:00
2026-09-15 10:22:38 -04:00