Skip to content
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

[SR-14714] Builds with non-swift/main Clang fail with unknown LLVM argument #57064

typesanitizer opened this issue Jun 3, 2021 · 1 comment
bug A deviation from expected or documented behavior


Copy link

typesanitizer commented Jun 3, 2021

Previous ID SR-14714
Radar None
Original Reporter @typesanitizer
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Labels Bug
Assignee @typesanitizer
Priority Medium

md5: fd5b0bc5b599c610309ca3d2800d24e4

Issue Description:

There was a new LLVM flag added recently.


This creates a problem when building the project with --xcode since that uses the toolchain compiler, which doesn't support that LLVM flag (it's a new flag).

This issue doesn't arise with the Ninja build, since it uses the locally built Clang, unless SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER is set to TRUE.

See #36805 for more discussion. We should probably back out passing that flag until we can figure out a more robust solution.

Copy link

typesanitizer commented Jun 3, 2021

Revert PRs: swift: #37752 swift-driver: apple/swift-driver#695

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
bug A deviation from expected or documented behavior
None yet

No branches or pull requests

1 participant