-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 errors since upgrading from llvm 13 to 14 #12589
Comments
Can you include the output of I understand this is with a self-built compiler binary, linked against LLVM 14 and building the compiler specs with LLVM 14 as well. Correct? Which version of the Crystal are the compiler and the source? |
$ crystal --version
Crystal 1.5.0 (2022-07-06)
LLVM: 14.0.6
Default target: x86_64-unknown-linux-gnu Yes, what you said is correct. In the above errors I was building 1.6.0 with 1.5.0. The same errors arose when building 1.5.0 using the prebuilt distribution, as well as building 1.6.0 with itself. |
What's the closest target for Solus? I'm asking to try to reproduce the issue (on macOS it works well). |
It's a Linux distribution with glibc and supports only amd64 architecture, so the target triple is But I can't reproduce the error on my machine (same target) with the same LLVM version. I'm using the package from linuxbrew. |
I will attempt to build using a prebuilt llvm. |
This is the backtrace I could obtain for the interpreter failure:
This is due to #13317. |
I package crystal for Solus, and since updating to LLVM 14 we get the following errors. Previously, with LLVM 13, all compiler specs passed and the interpreter worked. Both I and the LLVM maintainer are at a loss. I don't even know for sure if crystal is at fault here but no other packages have issues since the upgrade.
The compiler to all intents and purposes works fine (at least it can bootstrap itself), only the tests and interpreter fail. From #11905 I know that LLVM 14.0 should be supported.
The text was updated successfully, but these errors were encountered: