Open hasufell opened 7 months ago
Thanks for that, double-checked that ghc --info
emits ("Merge objects command", "ld")
(though oddly enough, it still seems to think ("ld is GNU ld", "YES")
-- I don't know if that's correct, but that's a GHC bug if it is).
Now I just need to figure out/prod stack
to enable the same (given that https://gitlab.haskell.org/ghc/ghc/-/issues/24565 was triggered when running a stack
-vendored ghc
in a packaging context, not my usual usage of a ghcup
-vendored ghc
in a dev context)
EDIT: First result when googling this https://www.haskell.org/ghcup/guide/#stack-integration. Probably best solution for now.
It seems that 2a7f32ec8caf638a9c14c6ba223e2a489db9620c reverts the change to use --disable-ld-override
"for now".
Is the plan to enable --disable-ld-override
in future, is there an issue which is block it being used now?
I want some more time to pass and reflect on it.
@alt-romes talked to me about that at ZuriHac.
Thanks sounds good, just wanted to check in about what the status was there.
Repoening.
GHC constantly tries to overwrite distro defaults and selects
ld.gold
very aggressively even ifld.bfd
is the system default.Major source distros advice against using ld.gold as default and we should follow their lead.
As such, I propose to:
--disable-ld-override
Sparked by discussion: https://gitlab.haskell.org/ghc/ghc/-/issues/24565