Hello Dandan,

On Wed, 2026-01-14 at 16:12 +0800, zhangdandan wrote:
> 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>,

The patch by fanpeng already adds lld to debian/control for loong64:

--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,8 @@ Build-Depends:
   hadrian:native (<< 9.10.4~) <!pkg.ghc.nohadrian>,
   llvm-21 (>= 1:21.1.6) [armel armhf s390x riscv64 loong64],
   clang-21 [armel armhf s390x riscv64 loong64],
+  lld-21 [loong64],
+  lld [loong64],
   libgmp-dev,
   libffi-dev,
   libncurses-dev,

Your patch is not correct as it add "lld" as an unconditional build dependency 
to the ghc
package. However, lld is only available on a limited set of architectures 
rendering the
ghc package BD-Uninstallable on the architectures without lld support.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to