-
Notifications
You must be signed in to change notification settings - Fork 196
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
[5.10] Fix forwarding of -ld-path
#1454
Conversation
@swift-ci test |
@kabiroberai would you mind having a look at the failing macOS test? Could it be something caused by incorrect conflict resolution during cherry-picking? |
@MaxDesiatov I think you need to apply the hunk from SwiftDriverTests.swift, specifically the change from |
@swift-ci test |
@swift-ci test windows |
@swift-ci test |
@swift-ci test windows |
@MaxDesiatov I just checked out your branch and it seems the change from |
I'm curious though why tests on Linux are passing then. Is the test that covers your change not running on Linux then? |
I'm confused by that too — the test should run on Linux — but one thing I noticed is that the Linux CI log doesn't include any tests from SwiftDriverTests.swift. Maybe it's a bug with Linux test discovery? |
Update: I checked out the Jenkins branch on Linux (Jammy) and ran |
@artemcm have you seen this issue with Linux CI before? Could it be that those tests are disabled on Linux CI explicitly for some reason? |
@swift-ci test |
# Conflicts: # Sources/SwiftDriver/Jobs/WindowsToolchain+LinkerSupport.swift
The Clang linker driver spells this as --ld-path so we can't forward the argument wholesale anymore, since we spell it -ld-path. (cherry picked from commit 9a357ee) # Conflicts: # Sources/SwiftDriver/Jobs/WindowsToolchain+LinkerSupport.swift
Add missing `-` when forwarding as `--ld-path`
d093478
to
ccc179c
Compare
@swift-ci test |
@swift-ci test windows |
1 similar comment
@swift-ci test windows |
This reverts commit 57d0a55 and PR #6939. Now that swiftlang/swift-driver#1447 and its 5.10 counterpart swiftlang/swift-driver#1454 were merged, we can reapply the fix for Swift SDKs linker metadata not being handled.
This reverts commit 57d0a55 and PR #6939. Now that swiftlang/swift-driver#1447 and its 5.10 counterpart swiftlang/swift-driver#1454 were merged, we can reapply the fix for Swift SDKs linker metadata not being handled. Resolves rdar://117049947.
Cherry-pick of #1447.
The Clang linker driver spells this as
--ld-path
so we can't forward the argument wholesale anymore, since we spell it-ld-path
.(cherry picked from commit 9a357ee)