Skip to content

[6.2][cherrypick] Use LLVM-default spellings for amd64 on OpenBSD. #1898

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

Open
wants to merge 1 commit into
base: release/6.2
Choose a base branch
from

Conversation

3405691582
Copy link
Member

  • Explanation:

OpenBSD spells the common 64-bit x86 architecture as amd64, while LLVM defaults it to x86_64. A while back we tried to stick with the amd64 spelling, but this was difficult to make the change properly and consistently. A while back we decided to just stick with LLVM spellings, but there are a few minor cases missing.

This change is necessary for properly finding swiftrt.o.

  • Scope:

Changes are intended to affect OpenBSD only.

  • Issues:

See OpenBSD port issue in #78437

  • Original PRs:

#1876

  • Risk:

Minimal, as changes are intended to affect only OpenBSD.

  • Testing:

Original change has passed CI.

  • Reviewers:

@DougGregor

OpenBSD spells the common 64-bit x86 architecture as amd64, while LLVM
defaults it to x86_64. A while back we tried to stick with the amd64
spelling, but this was difficult to make the change properly and
consistently. A while back we decided to just stick with LLVM spellings,
but there are a few minor cases missing.

This change is necessary for properly finding swiftrt.o.
@3405691582 3405691582 requested a review from a team as a code owner May 13, 2025 22:06
@3405691582
Copy link
Member Author

@swift-ci please test.

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.

2 participants