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-2610] Build script should detect invalid host arch #45215

Closed
swift-ci opened this issue Sep 11, 2016 · 3 comments
Closed

[SR-2610] Build script should detect invalid host arch #45215

swift-ci opened this issue Sep 11, 2016 · 3 comments
Labels
build-script Area → utils: The build script good first issue Good for newcomers improvement

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-2610
Radar None
Original Reporter gambogi (JIRA User)
Type Improvement
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 1
Component/s Source Tooling
Labels Improvement, BuildScript, StarterBug
Assignee hughbe (JIRA)
Priority Medium

md5: af84a5c9820437d6c254b726956bc2af

Issue Description:

When attempting to build on an i386 machine currently produces the following error:

user@host:~/projects/swift$ utils/build-script
Traceback (most recent call last):
  File "utils/build-script", line 2112, in <module>
    sys.exit(main())
  File "utils/build-script", line 2108, in main
    return main_normal()
  File "utils/build-script", line 1261, in main_normal
    default=StdlibDeploymentTarget.host_target().name)
AttributeError: 'NoneType' object has no attribute 'name'

I believe this is caused by having an invalid host arch, and should be caught by the script and signaled in a more clear way.

@swift-ci
Copy link
Collaborator Author

swift-ci commented Oct 6, 2016

Comment by Chris Donnelly (JIRA)

uname -a
Linux lennyoveo 4.8.0-040800-generic #201610022031 SMP Mon Oct 3 00:57:02 UTC 2016 i686 i686 i686 GNU/Linux

Badly handles 32bit when it SHOULD be able to build on 32bit machines. Swift 3 should have a lot wider range of supported hardware by now.

@swift-ci
Copy link
Collaborator Author

Comment by Hugh Bellamy (JIRA)

See #7711

@swift-ci
Copy link
Collaborator Author

Comment by Doug Coleman (JIRA)

Resolved by #7711

@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
build-script Area → utils: The build script good first issue Good for newcomers improvement
Projects
None yet
Development

No branches or pull requests

1 participant