-
Notifications
You must be signed in to change notification settings - Fork 79
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
GHC RTS linker errors when upgrading from 8.8 to 8.10 #1413
Comments
@patrickt I will try to repro. |
I can reproduce. Starting from a stock Debian stable (buster) image with Bazel installed. |
Minimal repro:
after having edited the test GHC version to be 8.10.1 instead of 8.8.3. The linker error appears on Debian buster with GHC bindists, and on NixOS with a Nixpkgs-sourced toolchain. And it appears at link time on a very simple package. So it's a general "support for GHC 8.10" issue. |
@patrickt looks like it's the same issue biting again: #1327 (comment). |
@patrickt I have repro'd as well, using |
This workaround for
I recognize that is not what is desired. You want GHC 8.10. Looking into that... |
Oh, I see that github/semantic#595 was resolved by using the the fix for that on rules_haskell. That's good, but it means that using an earlier version of rules_haskell in |
Does #1424 fix this issue? |
@patrickt Is this fixed for you? |
@robinbb Yes! Feel free to close this. |
Hey, everyone! 👋 @rewinfrey and I have been running into some strange behavior on our CI boxes, and we were wondering if anyone has any insights or advice. When we upgraded our targeted GHC version (within
rules_haskell_toolchains
), we started seeing a bunch of linker errors, of the formNote that the
base
andtemplate-haskell
packages also run into this problem, if you scroll down all the way. A build with thesandbox_debug
option didn’t shed a huge amount of light on the situation: it seems to be mounting and remounting a bunch of directories and making an occasional call tosigaction
, which fails. However, I don’t see a smoking gun in the scrollback.Things we’ve tried thus far:
rules_haskell
andbazel
to the newest/specified versionstest
vs.build
made a difference (no)To Reproduce
We haven’t been able to reproduce this on a local machine, unfortunately; the best way I know how to reproduce this is to fork
semantic
and push a branch that bumps the GHC version in theWORKSPACE
. The PR on which we’re seeing this is github/semantic#620.Environment
HEAD
(aabeedc18f5e5db030ca1aa0c10a7dc14e4a4a55
)Additional context
As always, I appreciate your time and attention!
The text was updated successfully, but these errors were encountered: