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-8310] Building swift-stdlib with Xcode fails #50838

Closed
dan-zheng opened this issue Jul 18, 2018 · 0 comments
Closed

[SR-8310] Building swift-stdlib with Xcode fails #50838

dan-zheng opened this issue Jul 18, 2018 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. swift for tensorflow

Comments

@dan-zheng
Copy link
Collaborator

Previous ID SR-8310
Radar None
Original Reporter @dan-zheng
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Swift for TensorFlow
Labels Bug
Assignee None
Priority Medium

md5: 2e39a7e993bd0d94b6c7defcfc5e7d27

duplicates:

  • SR-7961 Build Error: undefined_arch

Issue Description:

I ran the following build script command:

./swift/utils/build-script --skip-build-benchmarks --release --xcode --debug-swift

It eventually fails when building the swift stdlib with the following error (same for other Swift runtime files):

clang:-1: no such file or directory: '/Users/danielzheng/swift-dan/build/Xcode-ReleaseAssert+swift-DebugAssert/swift-macosx-x86_64/stdlib/public/runtime/Swift.build/Debug/swiftRuntime-macosx-x86_64.build/Objects-normal/undefined_arch/AnyHashableSupport.o'

The problem is "undefined_arch" is set instead of "x86_64", for some reason.
Currently, my manual fix is to open build/Xcode-ReleaseAssert+swift-DebugAssert/swift-macosx-x86_64/Swift.xcodeproj/project.pbxproj and manually replace all instances of "undefined_arch" with "x86_64".

@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. swift for tensorflow
Projects
None yet
Development

No branches or pull requests

1 participant