Hi Adrian,

On Sat, Mar 01, 2025 at 08:23PM, John Paul Adrian Glaubitz wrote:
> On Sat, 2025-03-01 at 21:10 +0200, Ilias Tsitsimpis wrote:
> > Please remove haskell-gi-gtk from armel and armhf. It FTBFS, probably
> > due to a GHC bug on these architectures.
> 
> Can you try disabling binutils-gold for armhf and armel?
> 
> It's still explicitly enabled and I think that's flawed given the fact
> that binutils-gold is completely unmaintained upstream. It will introduce
> all kinds of random bugs.

We explicitly enable gold on armhf and armel because BFD doesn't work on
these architectures. Here is the upstream issue:

  https://sourceware.org/bugzilla/show_bug.cgi?id=16177

GHC checks for this bug at build time:

  
https://gitlab.haskell.org/ghc/ghc/-/blob/3a18c0fa2edcd61b0c3b470661791b09501c4c2b/m4/check_ld_copy_bug.m4

The debian/rules file for GHC also explains why we still use the gold
linker on armhf and armel:

  
https://salsa.debian.org/haskell-team/DHG_packages/-/blob/0e0c337b7b0617688ff6d8a7731bb1edd954b427/p/ghc/debian/rules#L65

Until this is fixed, we need to stick to gold.

-- 
Ilias

Reply via email to