Landing: fe881353f13d
Project / Subsystem
gcc / gcc
Date
2024-05-05
Author
Iain Sandoe
Commit
fe881353f13d8b7212faf1f91e6eb022f9edd233
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- fe881353f13d8b7212faf1f91e6eb022f9edd233
- source_type
- github
- headline
- Darwin test suite now XFAILs -g3 tests with dyld on current OS versions.
- tldr
- Tests using -g3 debugging on Darwin are now marked as expected failures for current OS versions due to incompatibility with dyld's static linker.
- author
- Iain Sandoe
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • testsuite
- • darwin
- • debugging
- • dwarf
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2024-05-05T00:00:00.000Z
The GCC test suite on Darwin has been updated to mark certain tests as expected failures (XFAIL) when they are compiled with the -g3 debugging flag on current operating system versions. This is a workaround for a known incompatibility where Darwin’s default static linker, dyld, does not correctly handle the output generated by -g3. Since there is no immediate fix for this linker limitation, marking these tests as XFAIL prevents spurious failures in the test suite.