-
Notifications
You must be signed in to change notification settings - Fork 697
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
lld: error: unknown argument: -r #8780
Comments
Thank you for the report. First step in inspecting this would be to upgrade your cabal to something reasonable (e.g version 3.8). 2.4 is ancient. |
Actually, GHC 9.4 on Windows requires cabal 3.8 or later |
Oh, sorry. I didn't know that. I'll upgrade to 3.8 and let you know later. |
@ulysses4ever, upgrading Cabal to 3.8 helped. Thank you and sorry for the spam :D |
@kkurkiewicz Not all! This particular restriction on cabal from GHC 9.4 on Windows is rather annoying, and I tend to forget about it myself once in a while. Happy hacking! |
Describe the bug
I'm not sure if this really is a bug, but, trying to upgrade my project from GHC 8.6.5 to 9.4.4, every time I run
cabal install -w ghc-9.4.4 --dependencies-only
, the command proceeds to build the first library from mybuild-depends
list and does build it (seemingly without any errors), but then simply displays the linking error and throwsExitFailure 1
.To Reproduce
System information
cabal
,ghc
versionsAdditional context
The text was updated successfully, but these errors were encountered: