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-9538] Can't build compiler for Xcode #51988

Closed
swift-ci opened this issue Dec 18, 2018 · 1 comment
Closed

[SR-9538] Can't build compiler for Xcode #51988

swift-ci opened this issue Dec 18, 2018 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-9538
Radar None
Original Reporter Zollerboy1 (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate
Environment

MacBook (Retina, 12-inch, Early 2015)

macOS 10.14.1

Xcode 10.1 (10B61)

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

md5: eb6af991356fdc4bbc4f5e0ef0090495

duplicates:

  • SR-7959 Error building Swift compiler using Xcode 10

Issue Description:

I'm trying to build my own copy of the swift compiler (5.0-dev, commit 38aa5d3).

If I run
$ ./swift/utils/build-script --release --debug-swift
it works fine and spits out a working compiler. The disadvantage of it is, that I have no Xcode Project with this method.

Fortunately there is the possibility to run a command like
$ ./swift/utils/build-script --release --debug-swift --xcode

I tried to run this, but this time there is an error:

error: Build input file cannot be found: '/Users/admin/local/swift-source/build/Xcode-ReleaseAssert+swift-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/8/SwiftNativeNSXXXBase.mm'

** BUILD FAILED **

The following build commands failed:
{{ CompileC /Users/admin/local/swift-source/build/Xcode-ReleaseAssert+swift-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/Swift.build/Debug/swiftStdlibStubs-macosx-x86_64.build/Objects-normal/x86_64/SwiftNativeNSXXXBase.o /Users/admin/local/swift-source/build/Xcode-ReleaseAssert+swift-DebugAssert/swift-macosx-x86_64/stdlib/public/stubs/8/SwiftNativeNSXXXBase.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler}}
(1 failure)
./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 65, aborting

@belkadan
Copy link
Contributor

Yep, no one has had time to look into this yet. :-( You can sometimes get further if you delete that "8" directory and try again.

@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
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

2 participants