diff --git a/lib/libthr/thread/thr_exit.c b/lib/libthr/thread/thr_exit.c index 4c9692ccf1a5..8929ed5a9f11 100644 --- a/lib/libthr/thread/thr_exit.c +++ b/lib/libthr/thread/thr_exit.c @@ -241,7 +241,7 @@ _pthread_exit_mask(void *status, sigset_t *mask) thread_uw_init(); if (uwl_forcedunwind != NULL) { #else - if (_Unwind_ForcedUnwind != NULL) { + if (_Unwind_ForcedUnwind != NULL && _Unwind_GetCFA != NULL) { #endif if (curthread->unwind_disabled) { if (message_printed == 0) {