Landing: a34c8174991b

Project / Subsystem

gcc / gcc

Date

2026-08-18

Author

Iain Sandoe

Commit

a34c8174991b9ee33ff5b3d8a4ad928723e7b457

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
a34c8174991b9ee33ff5b3d8a4ad928723e7b457
source_type
github
headline
testsuite, c++, Darwin: Add crt to LTO link line for darwin9
tldr
Ensures Darwin LTO test cases correctly link by including necessary crt components.
author
Iain Sandoe
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gcc
  • • testsuite
  • • c++
  • • lto
  • • darwin
discussion_id_link
—
bugzilla_pr
—
date
2026-08-18T00:00:00.000Z

The C++ LTO (Link-Time Optimization) test cases for Darwin 8 and 9 in GCC’s testsuite have been updated. These tests manually craft link lines, and on these older Darwin versions, a specific crt (C runtime) component is required to correctly build shared libraries. This change adds the necessary -dylib0.o flag to the link line for these tests.