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-13386] Build failed on Swift master branch with Xcode #55826

Open
swift-ci opened this issue Aug 13, 2020 · 2 comments
Open

[SR-13386] Build failed on Swift master branch with Xcode #55826

swift-ci opened this issue Aug 13, 2020 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-13386
Radar rdar://problem/67361259
Original Reporter Gabriel Igliozzi (JIRA User)
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: 79b2afdfa8e72fa502a6d98f6eec4733

Issue Description:

After following exactly the guidelines for building Swift, I ran the command:

utils/build-script --release-debuginfo --debug-swift --xcode --extra-cmake-options="-DCMAKE_OSX_ARCHITECTURES=x86_64"

But the build failed by giving me this error: output_log.txtWhich from my not experienced perspective could be the error.

I am running on Xcode 12 beta 3 and Catalina 10.15.6

@typesanitizer
Copy link

@swift-ci create

@beccadax
Copy link
Contributor

Seems like something is constructing a command line that uses `-filelist`, expecting to call “ld” directly, but it actually tries to use “clang++” as the linker:

    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ [snip] -filelist /Users/gabeiglio/Desktop/Developer/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/tools/clang/tools/clang-shlib/LLVM.build/RelWithDebInfo/clang-cpp.build/Objects-normal/x86_64/clang-cpp.LinkFileList [snip]
ld: warning: argument missing after -force_load
ld: file not found: -filelist
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

No branches or pull requests

3 participants