-
Notifications
You must be signed in to change notification settings - Fork 6
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
clodl fails on executables built with ghc-8.10.2 #34
Comments
It's rules_haskell who is adding -no-pie to the linking flags. Commenting this line makes clodl build fine: https://github.com/tweag/rules_haskell/blob/42b8b43623b82a6b7cfb151f01986735a135e0a9/haskell/private/actions/link.bzl#L113 |
Once GHC 8.8.5, 8.10.3, and 9.0.1 are released we'll be able to fix this in rules_haskell. |
I made a temporary hack until this is fixed. https://github.com/tweag/rules_haskell/compare/fd/no-pie-hack |
Seems related to this:
tweag/rules_haskell#1418
GHC is passing
-no-pie
to the linker when building the haskell binary, and the subsequent attempt to link the wrapper fails probably because of that.The text was updated successfully, but these errors were encountered: