On Wed, 14 Jan 2026 06:32:29 +0000 fanpeng wrote: > Package: ghc > Version: 9.10.3-1 > Severity: normal > X-Debbugs-Cc: [email protected] > > 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

