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-15301] Compiler Crash During Build on Swift 5.5 #57623

Closed
swift-ci opened this issue Oct 11, 2021 · 4 comments
Closed

[SR-15301] Compiler Crash During Build on Swift 5.5 #57623

swift-ci opened this issue Oct 11, 2021 · 4 comments
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-15301
Radar rdar://problem/84090826
Original Reporter KananaskisEnergy (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate
Environment

I am using AWS EC2 instances
Ubuntu Server 20.04
Swift 5.5
Swap enabled
attempted 1, 2, and 4 GB RAM

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

md5: b0d80bd7fc4c38423b4f61e057b7416e

duplicates:

  • SR-15048 cross-module-optimisation fails for Swift NIOSSL

Issue Description:

I was working on setting up Vapor Toolbox

I am using AWS EC2 instances
Ubuntu Server 20.04
Swift 5.5
Swap enabled
attempted 1, 2, and 4 GB RAM

I worked through the Swift instructions succesfully

I checked out the Vapor toolbox no issue

when I go to build Vapor Toolbox the compiler crashes
https://gist.github.com/stampsrule/4b1ae8481f3e9ada09e9d78105078f97

@ktoso
Copy link
Member

ktoso commented Oct 11, 2021

Thanks for reporting!

@swift-ci create

@eeckstein
Copy link
Member

KananaskisEnergy (JIRA User) I could not reproduce the issue. Can you give exact reproduction steps, e.g.

  • the exact swift 5.5 version you used

  • the project URL + commit SHA

  • the command line to build

@swift-ci
Copy link
Collaborator Author

Comment by Daniel Bell (JIRA)

I used Swift 5.5 from:
https://swift.org/builds/swift-5.5-release/ubuntu2004/swift-5.5-RELEASE/swift-5.5-RELEASE-ubuntu20.04.tar.gz
retrieved last week

The Project

[https://github.com/vapor/toolbox.git
]last commit SHA: 7575fe2faf21dd4e856fe9e1a7b4f5db6d5222b3

git clone https://github.com/vapor/toolbox.git 
cd toolbox 
make install

@eeckstein
Copy link
Member

This is a duplicate of https://bugs.swift.org/browse/SR-15048.
The fix is not yet included in the 5.5 release toolchain. But it's resolved in a recent 5.5 development snapshot.

@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

3 participants