Landing: fde12ce90e7e
Project / Subsystem
gcc / build
Date
2026-07-01
Author
Rainer Orth
Commit
fde12ce90e7e7a1162dde1f4a1a21c9f2f628092
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- build
- patch_id
- —
- commit_hash
- fde12ce90e7e7a1162dde1f4a1a21c9f2f628092
- source_type
- github
- headline
- Fix pthread detection on Solaris 11.4 in ax_pthread.m4
- tldr
- Corrected autoconf macro to properly detect pthread support on modern Solaris systems.
- author
- Rainer Orth
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • build
- • autoconf
- • solaris
- • threading
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-01T00:00:00.000Z
This commit fixes an issue where autoconf’s AX_PTHREAD macro incorrectly reported a lack of pthread support on Solaris 11.4, preventing libraries like libcaf_shmem from being built. The fix adjusts the macro to only require the pre-XPG7 system header behavior for older Solaris versions, as newer versions no longer define _REENTRANT in the same way.