Landing: c0c911821bad
Project / Subsystem
gcc / testsuite
Date
2026-05-01
Author
Xi Ruoyao
Commit
c0c911821bad196a2abb71e56564bf8c0dfcf231
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- testsuite
- patch_id
- —
- commit_hash
- c0c911821bad196a2abb71e56564bf8c0dfcf231
- source_type
- github
- headline
- Testsuite: Prevent linking top-level assembly tests as PIE.
- tldr
- Top-level assembly tests are now linked without PIE to avoid runtime text relocations.
- author
- Xi Ruoyao
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • pie
- • assembly
- discussion_id_link
- github:gcc-mirror/gcc#70150
- bugzilla_pr
- —
- date
- 2026-05-01T00:00:00.000Z
Top-level assembly tests in the GCC testsuite are now explicitly linked without Position Independent Executable (PIE) enabled. Linking these tests as PIE can result in the linker creating runtime text relocations, leading to warnings or errors. The -no-pie option is added to the testsuite directives to prevent this issue and ensure the tests execute correctly. This addresses PR testsuite/70150.