Landing: 844c665f1701

Project / Subsystem

gcc / gcc/testsuite

Date

2026-08-14

Author

Iain Sandoe

Commit

844c665f1701e889b4883df65004dfc310445422

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/testsuite
patch_id
—
commit_hash
844c665f1701e889b4883df65004dfc310445422
source_type
github
headline
Darwin LTO tests now pass with undefined symbols
tldr
Darwin linker now allows undefined symbols in LTO test dynamically loaded objects, fixing test failures.
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-08-14T00:00:00.000Z

A fix for Darwin’s linker default behavior, which requires all symbols to be defined, resolves failures in several Link-Time Optimization (LTO) tests. Previously, these tests produced dynamically loaded objects with undefined symbols, causing them to fail on Darwin. The changes allow undefined symbols in these specific test cases, enabling the tests to run correctly.