Skip to content

[overlay] Support the older @rpath Darwin library for _Builtin_float's $ld$previous$ symbols #74920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

ian-twilightcoder
Copy link
Contributor

The _Builtin_float symbols were moved twice, most recently from the OS Darwin library, but previously they were in the embedded @rpath Darwin library. @_originallyDefinedIn doesn't support multiple install names, but it can be replaced with -module-abi-name, and then multiple $ld$previous$ symbols can be used. Update the Platform and Concurrency magic symbols to use $ld$previous$ everywhere.

rdar://130107191

@ian-twilightcoder ian-twilightcoder requested review from ktoso and a team as code owners July 3, 2024 00:06
@ian-twilightcoder ian-twilightcoder requested review from hyp, DougGregor, lorentey, ktoso and a team and removed request for a team and ktoso July 3, 2024 00:08
@ian-twilightcoder ian-twilightcoder force-pushed the builtin_float_module-abi-name branch 6 times, most recently from 6b8c83a to 63f11c8 Compare July 5, 2024 19:26
Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The concurrency back-deployment versions aren't quite right (see comments), but otherwise this LGTM

@ian-twilightcoder ian-twilightcoder force-pushed the builtin_float_module-abi-name branch from 63f11c8 to fba34f8 Compare July 8, 2024 21:32
Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

…s $ld$previous$ symbols

The _Builtin_float symbols were moved twice, most recently from the OS Darwin library, but previously they were in the embedded @rpath Darwin library. @_originallyDefinedIn doesn't support multiple install names, but it can be replaced with -module-abi-name, and then multiple $ld$previous$ symbols can be used.
Update the Platform and Concurrency magic symbols to use $ld$previous$ everywhere.

rdar://130107191
@ian-twilightcoder ian-twilightcoder force-pushed the builtin_float_module-abi-name branch from fba34f8 to 9e9d66e Compare July 9, 2024 16:13
@ian-twilightcoder
Copy link
Contributor Author

@swift-ci smoke test

@ian-twilightcoder ian-twilightcoder merged commit dad0a21 into swiftlang:main Jul 9, 2024
3 checks passed
@ian-twilightcoder ian-twilightcoder deleted the builtin_float_module-abi-name branch July 9, 2024 21:14
ian-twilightcoder added a commit to ian-twilightcoder/swift that referenced this pull request Sep 11, 2024
…ailing on macCatalyst

When I did swiftlang#74920 I forgot to update test/Concurrency/Backdeploy/linking_maccatalyst.swift the same way linking.swift got updated.
ian-twilightcoder added a commit to ian-twilightcoder/swift that referenced this pull request Sep 11, 2024
…ailing on macCatalyst

When I did swiftlang#74920 I forgot to update test/Concurrency/Backdeploy/linking_maccatalyst.swift the same way linking.swift got updated.
ian-twilightcoder added a commit to ian-twilightcoder/swift that referenced this pull request Sep 11, 2024
…ailing on macCatalyst

When I did swiftlang#74920 I forgot to update test/Concurrency/Backdeploy/linking_maccatalyst.swift the same way linking.swift got updated.

rdar://132710925
ian-twilightcoder added a commit to ian-twilightcoder/swift that referenced this pull request Nov 9, 2024
…t is failing on macCatalyst

When I did swiftlang#74920 I forgot to update test/Concurrency/Backdeploy/linking_maccatalyst.swift the same way linking.swift got updated.

rdar://132710925
ian-twilightcoder added a commit to ian-twilightcoder/swift that referenced this pull request Nov 9, 2024
…ift is failing on macCatalyst

When I did swiftlang#74920 I forgot to update test/Concurrency/Backdeploy/linking_maccatalyst.swift the same way linking.swift got updated.

rdar://132710925
ian-twilightcoder added a commit to ian-twilightcoder/swift that referenced this pull request Nov 9, 2024
…ift is failing on macCatalyst

When I did swiftlang#74920 I forgot to update test/Concurrency/Backdeploy/linking_maccatalyst.swift the same way linking.swift got updated.

rdar://132710925
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants