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-11577] Compiler hangs indefinitely on compiling package SwiftSoup with optimizations #53982

Closed
swift-ci opened this issue Oct 7, 2019 · 4 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself optimized only Flag: An issue whose reproduction requires optimized compilation

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Oct 7, 2019

Previous ID SR-11577
Radar rdar://problem/56041242
Original Reporter kiliankoe (JIRA User)
Type Bug
Status Closed
Resolution Done

Attachment: Download

Environment

Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
Target: x86_64-apple-darwin18.7.0

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

md5: 293d9e8ce566f7378be7d40e00551c8d

Issue Description:

This appears to be the cause of scinfu/SwiftSoup#125

On trying to compile SwiftSoup with `swift build -Xswiftc -O`, the compiler apparently hangs on trying to compile Node.swift.

@swift-ci
Copy link
Collaborator Author

swift-ci commented Oct 7, 2019

Comment by Helge Heß (JIRA)

Attached a log of the call which is hanging for me `swift build -j 1 -v c release`. It's consuming 100% CPU, so maybe it would eventually complete :)

@belkadan
Copy link
Contributor

belkadan commented Oct 7, 2019

@gottesmm, is this the one you just fixed?

@swift-ci create

@gottesmm
Copy link
Member

gottesmm commented Oct 7, 2019

helge (JIRA User) can you guys try with a nightly snapshot or with this attached snapshot:

#27423 (comment)

@swift-ci
Copy link
Collaborator Author

swift-ci commented Oct 7, 2019

Comment by Kilian Koeltzsch (JIRA)

Building optimized SwiftSoup with the linked toolchain works for me, thanks!

@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 optimized only Flag: An issue whose reproduction requires optimized compilation
Projects
None yet
Development

No branches or pull requests

3 participants