Landing: 5f1256233b6a
Project / Subsystem
gcc / gcc
Date
2026-07-05
Author
Rainer Orth
Commit
5f1256233b6a192677dcb4d8a32672c86967120d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 5f1256233b6a192677dcb4d8a32672c86967120d
- source_type
- github
- headline
- Hardcode Solaris v2 mapfile syntax with Solaris ld
- tldr
- Simplifies Solaris linker mapfile handling by removing obsolete checks.
- author
- Rainer Orth
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • solaris
- • linker
- • build
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-05T00:00:00.000Z
This commit hardcodes the use of Solaris v2 mapfile syntax for GCC’s Solaris linker (ld). Previously, GCC supported both v1 and v2 mapfile syntaxes, distinguished by configure-time checks. As Solaris 11.0 introduced v2 syntax, and only newer versions are now supported, these checks are no longer necessary. The change also prevents issues during non-bootstrap builds where the build compiler’s linker might differ from the stage1 compiler’s linker. Mapfiles are now unconditionally used if the built compiler employs Solaris ld.