Landing: 316c6dddbb48
Project / Subsystem
gcc / configure
Date
2026-09-18
Author
Christophe Lyon
Commit
316c6dddbb4858c2c34b58b3bddc6b85923d2799
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- configure
- patch_id
- —
- commit_hash
- 316c6dddbb4858c2c34b58b3bddc6b85923d2799
- source_type
- github
- headline
- Fix assembler check for --gdwarf-4 option
- tldr
- Ensures assembler check for DWARF 4 debug info works across architectures.
- author
- Christophe Lyon
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • configure
- • dwarf
- • assembler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-18T00:00:00.000Z
The configuration script’s check for assembler support of the --gdwarf-4 option used a hard-coded ret instruction. This instruction is not universally supported across all architectures, such as ARM. The patch replaces ret with a generic $insn placeholder, making the check more portable and reliable.