Discussion:
Bug#1099208: RM: haskell-gi-gtk [armel armhf] -- ROM; FTBFS due to GHC bug
Add Reply
Ilias Tsitsimpis
2025-03-01 19:20:01 UTC
Reply
Permalink
Package: ftp.debian.org
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: haskell-gi-***@packages.debian.org, debian-***@lists.debian.org
Control: affects -1 + src:haskell-gi-gtk
User: ***@packages.debian.org
Usertags: remove
User: debian-***@lists.debian.org
Usertags: armel armhf

Please remove haskell-gi-gtk from armel and armhf. It FTBFS, probably
due to a GHC bug on these architectures.

Thanks,
--
Ilias
John Paul Adrian Glaubitz
2025-03-01 19:30:01 UTC
Reply
Permalink
Post by Ilias Tsitsimpis
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.

Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Ilias Tsitsimpis
2025-03-01 21:10:04 UTC
Reply
Permalink
Hi Adrian,
Post by John Paul Adrian Glaubitz
Post by Ilias Tsitsimpis
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
Loading...