-
-
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
Compiler bug in shards nightly build #7480
Comments
We should definitely revert #6945 , I just saw it and it makes no sense at all. Require LLVM stuff in every program? Why? And how does that fix anything? |
No, this isn't requiring LLVM in every program - only statically linked ones in musl. It puts this hack which is in distribution-scripts, in mainstream. |
Hmmm... okay. Now I'm not sure #6945 is the reason it's failing. |
I can compile |
|
That's what #6945 fixed, and previously the hack in distribution-scripts, right? |
In fact we can run I'll compile |
We must revert #6945 anyway. I accepted the initial patch (link against |
@ysbaddaden I agree. Let's revert it. Maybe that will also solve this issue.
Any ideas how this can be achieved? |
I've tested with Maybe it has to do with the debian multi-stage build. |
Yeah, I was not yet able to reproduce the error locally (running manual steps) as well. Seems like it somehow depends on the CI environment. |
@straight-shoota nevertheless I was able to reproduce it with distribution-scripts. I highly suspect that the Debian-Alpine multistage build has to do with the issue. |
After reverting the commit ead1b6b75eca42da56981474f242133e36ce89d0,when building on Alpine in the multi-stage build, the compilation succeed. We can revert this commit, then find a proper solution after #7479 merged. |
Thanks @j8r for investigating! So when we revert #6945 builds should be working again. This issue is still about a compiler error which isn't fixed by reverting #6945. It is just avoided. However, it seems to be difficult to reproduce this compiler error. A proper solution to #6934 would be to fix #4276 as @ysbaddaden suggested. |
Could this be given a better title? |
Duplicate of #4276 ? |
Should we assume this is fixed now? However the original error |
Closing. We haven't been able to isolate the bug in two years, so it doesn't make sense to keep this open. Might already be fixed by now. |
The most recent nightly builds are failing at
dist_linux
(anddist_linux32
) step while compiling shards 0.8.1 (https://circleci.com/gh/crystal-lang/crystal/19143). MacOS (dist_darwin
) seems to be unaffected (https://circleci.com/gh/crystal-lang/crystal/19145).The same build works fine with a Crystal 0.27.2 compiler. The last successful nightly build was on February 8 (https://circleci.com/gh/crystal-lang/crystal/18125) with 0da24ec and the first failing build was on February 11 (https://circleci.com/gh/crystal-lang/crystal/18365) with d956786. For some reason, there seems to have been no nightly builds on February 9 and 10.
Changes between these commits: 0da24ec...d956786
The text was updated successfully, but these errors were encountered: