Landing: f361709b3d7c
Project / Subsystem
gcc / libgm2
Date
2026-09-10
Author
Iain Sandoe
Commit
f361709b3d7cd4151568485da7c5bab67a81b7e8
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libgm2
- patch_id
- —
- commit_hash
- f361709b3d7cd4151568485da7c5bab67a81b7e8
- source_type
- github
- headline
- libgm2: Update clock_gettime configuration to match libstdc++ for broader compatibility.
- tldr
- libgm2's configuration now probes for clock_gettime even on non-POSIX compliant systems, improving cross-platform support.
- author
- Iain Sandoe
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libgm2
- • configure
- • portability
- • time
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-10T00:00:00.000Z
This commit modifies libgm2’s configuration process to align with libstdc++, allowing it to detect and use clock_gettime and nanosleep even on platforms that do not strictly claim POSIX compliance. Previously, the configuration tests were gated by POSIX compliance flags, preventing the discovery of these APIs on systems like Darwin where they have long been available.
By removing this strict gating, libgm2 can now leverage these modern time-keeping functions on a wider range of operating systems, improving its portability and reliability.