https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110624
Bug ID: 110624
Summary: Xcode 15 ld warns about -macosx_version_min
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: iains at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-apple-darwin23.0.0
Target: x86_64-apple-darwin23.0.0
Build: x86_64-apple-darwin23.0.0
When bootstrapping current trunk on macOS 14.0 beta 3 with Xcode 15 beta 3,
every single link test in the testsuite fails with excess errors since ld now
warns
-macosx_version_min has been renamed to -macos_version_min
I'm currently working on patches to prune that message in the testsuite, plus
large additional patches to the gm2 testsuite to perform the pruning at all.
Ultimately, this should be handled in the driver, though: the warning is new
in Xcode 15 beta 3 (beta 2 didn't have it). However, ld accepts the new form
back to at least Xcode 13 (haven't looked further yet), and it's the only one
documented in ld(1).