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

LLVM 9 crashes when linking in debug mode #176

Closed
JayFoxRox opened this issue Sep 29, 2019 · 7 comments
Closed

LLVM 9 crashes when linking in debug mode #176

JayFoxRox opened this issue Sep 29, 2019 · 7 comments
Labels
upstream issue Issues that track upstream problems

Comments

@JayFoxRox
Copy link
Member

JayFoxRox commented Sep 29, 2019

It is currently known to affect macOS and Linux, but it probably also affects other platfoms.

To avoid running into this issue in our CI, #173 disabled debug builds for our sample code.

@dracc
Copy link
Contributor

dracc commented Sep 30, 2019

Crashes for me too.

Tested on Debian Linux with lld-9.

@thrimbor
Copy link
Member

thrimbor commented Oct 2, 2019

I have successfully bisected the issue and submitted a patch upstream: https://reviews.llvm.org/D68352

@thrimbor
Copy link
Member

thrimbor commented Oct 9, 2019

The patch has now landed llvm/llvm-project@c3c5e0f

@JayFoxRox
Copy link
Member Author

Thanks! We should still wait until LLVM 9.0.1 is released (and tested) before closing this issue.

@thrimbor
Copy link
Member

LLVM 9.0.1 was released ~two weeks ago, but it doesn't include the patch, lld still crashes. LLVM 10 is supposed to get released on February 26th.

@JayFoxRox JayFoxRox pinned this issue Apr 10, 2020
@GXTX
Copy link
Contributor

GXTX commented Nov 29, 2020

Appears to be properly upstreamed. Untested on 10, tested on 11 working with DEBUG = y. Should this issue stay open?

@thrimbor
Copy link
Member

It's fixed in LLVM 10 and up. For people still running an OS that ships with LLVM 9 I recommend using the nxdk Docker image.

@thrimbor thrimbor added the upstream issue Issues that track upstream problems label Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream issue Issues that track upstream problems
Development

No branches or pull requests

4 participants