Bug#1125455: ghc: enable ld override for loong64
zhangdandan
zhangdandan at loongson.cn
Wed Jan 14 08:12:51 GMT 2026
On Wed, 14 Jan 2026 06:32:29 +0000 fanpeng wrote:
> Package: ghc
> Version: 9.10.3-1
> Severity: normal
> X-Debbugs-Cc: fanpeng at loongson.cn
>
> Dear Maintainer,
>
> 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
>
Need to add lld dependency in d/control.
```
diff --git a/debian/control b/debian/control
index 77953ea..cec1e37 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends:
binutils-gold [armel armhf],
gcc,
g++,
+ lld,
pkg-config,
ghc:native (>= 9.6),
hadrian:native (>= 9.10.3~) <!pkg.ghc.nohadrian>,
```
Dandan Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20260114/b9387bf1/attachment.htm>
More information about the Pkg-haskell-maintainers
mailing list