Bug#1125455: ghc: enable ld override for loong64
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Wed Jan 14 09:47:22 GMT 2026
Hi fanpeng,
Please always CC debian-loongarch at lists.debian.org when reporting loong64 bugs!
On Wed, 2026-01-14 at 06:32 +0000, fanpeng wrote:
> On Loong64, NCG is currently not supported in 9.10, while Llvm backend
> incompatible with tables-next-to-code, which will generate PLT for non-
> function symbols.
>
> Only lld can correctly link it.
> Specifics can be seen: https://gitlab.haskell.org/ghc/ghc/-/issues/25531
Thanks for your patch! For the initial bootstrap, I have switched ghc on loong64
to use the unregisterised backend now [1]. Once we have successfully bootstrapped
ghc on loong64, we can integrate your patch.
Thanks,
Adrian
> [1] https://salsa.debian.org/haskell-team/DHG_packages/-/commit/90816e0d313eceec469552fd4a42846bf30642ea
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the Pkg-haskell-maintainers
mailing list