-
Notifications
You must be signed in to change notification settings - Fork 13.3k
s390x: "LLVM ERROR: Cannot select" when building libcore #36230
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
Comments
:( |
rust-lang/llvm works fine so far. |
In case it helps you debug, here are the commits that differ between Debian's LLVM (which is what Ubuntu's is based on) - plus patches in debian/patches:
|
Thanks @infinity0. The list looks too short to me? Considering our fork is 3.9-ish and Debian's LLVM is 3.8.1. Is this log against our rust-llvm-2016-07-09 branch? That's what master is currently using. Since codegen is working fine with our llvm fork, this doesn't block us from e.g. releasing std/rustc for this target. Should we close this then? If someone tries to build std for this target using system llvm then they'll run into this issue but there isn't much we can do -- they'll will have to backport some patch and patch their llvm to fix this (likely) llvm bug. |
@japaric sorry, the log compares the LLVM that rust 1.11.0 was released with, with what Debian has. It has moved onto 3.9 in the meantime, right. But then you could try building using llvm-3.9-dev instead of llvm-3.8-dev. I expect I'll have to do that for the next 1.12.0 stable release, but I haven't tried this myself yet. |
@infinity0 @japaric Could one of you test this today? I assume it's still a problem... |
This is only a problem with LLVM 3.8 AFAIK. There are no problems with LLVM 3.9/4.0; proof of this is that we have a Closing as this not a problem on our side. |
Using system LLVM (Ubuntu's llvm-3.8-dev) I get this error when building libcore for s390x:
Meta
I'm going to try using rust-lang/llvm next. If that doesn't work, this issue would block #36006
cc @alexcrichton @brson
The text was updated successfully, but these errors were encountered: