Landing: f535d921b3c6

Project / Subsystem

gcc / gcc/testsuite

Date

2026-09-05

Author

Iain Sandoe

Commit

f535d921b3c6a73753dca16ad5925d3596232ac8

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/testsuite
patch_id
—
commit_hash
f535d921b3c6a73753dca16ad5925d3596232ac8
source_type
github
headline
Darwin LTO test now uses -shared option.
tldr
Darwin LTO test now includes -shared option for correct linking.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testsuite
  • • darwin
  • • lto
discussion_id_link
—
bugzilla_pr
—
date
2026-09-05T00:00:00.000Z

The Darwin LTO test suite previously failed to link due to missing symbols. This commit adds the necessary -shared option to the test case’s linker flags, resolving the issue and ensuring proper symbol resolution during the LTO process on Darwin systems.