Your message dated Sun, 15 Mar 2026 10:49:18 +0000
with message-id <[email protected]>
and subject line Bug#1125455: fixed in ghc 9.10.3-4
has caused the Debian Bug report #1125455,
regarding ghc: enable ld override for loong64
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1125455: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125455
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
And the 0005-* patch is also required for C files.
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: loong64 (loongarch64)
Kernel: Linux 6.6.34-9.2.loongarch64 (SMP w/32 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages ghc depends on:
ii dpkg 1.22.21
ii gcc 4:15.2.0-4
ii libbsd-dev 0.12.2-2
ii libc6 2.41-12
ii libc6-dev 2.41-12
ii libffi-dev 3.5.2-2
ii libffi8 3.5.2-2
ii libgmp-dev 2:6.3.0+dfsg-5
ii libgmp10 2:6.3.0+dfsg-5
ii libncurses-dev 6.5+20250216-2
ii libnuma-dev 2.0.19-1
ii libnuma1 2.0.19-1
ii libtinfo6 6.5+20250216-2
ii llvm-18 1:18.1.8-18+b2
Versions of packages ghc recommends:
ii libstdc++-14-dev 14.3.0-8
Versions of packages ghc suggests:
pn ghc-doc <none>
pn ghc-prof <none>
ii perl 5.40.1-6
-- no debconf information
diff --git a/debian/control b/debian/control
index 77953ea..7156175 100644
--- 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,
diff --git a/debian/patches/series b/debian/patches/series
index 6ee5568..6c5d885 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -16,7 +16,7 @@ time_t-time
llvm-newer-version
alpha-fix-ieee_set_fp_control-invocation.patch
# 0004-llvmGen-Pass-mcmodel-medium-option-to-LLVM-backend-on-LoongArch.patch
-# 0005-Pass-the-mcmodel-medium-parameter-to-CC-via-GHC.patch
+0005-Pass-the-mcmodel-medium-parameter-to-CC-via-GHC.patch
hadrian-bootstrap-plan
hadrian-unreg-template-haskell
gnu-hurd
diff --git a/debian/rules b/debian/rules
index 5f69aae..cc83476 100755
--- a/debian/rules
+++ b/debian/rules
@@ -106,9 +106,10 @@ ifneq (,$(filter noopt, $(DEB_BUILD_OPTIONS)))
endif
ifneq (,$(filter loong64, $(DEB_HOST_ARCH)))
- EXTRA_HADRIAN_FLAGS += "*.*.ghc.c.opts += -optc-mcmodel=medium"
- EXTRA_HADRIAN_FLAGS += "*.*.ghc.hs.opts += -optc-mcmodel=medium"
- EXTRA_HADRIAN_FLAGS += "*.*.cc.c.opts += -optc-mcmodel=medium"
+# See https://gitlab.haskell.org/ghc/ghc/-/issues/25531
+# Llvm backend is not compatible with PLT, ld will generate wrong relocs.
+ EXTRA_CONFIGURE_FLAGS += --enable-ld-override
+ EXTRA_INSTALL_CONFIGURE_FLAGS += --enable-ld-override
endif
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
--- End Message ---
--- Begin Message ---
Source: ghc
Source-Version: 9.10.3-4
Done: Ilias Tsitsimpis <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ghc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ilias Tsitsimpis <[email protected]> (supplier of updated ghc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 07 Mar 2026 19:29:27 +0200
Source: ghc
Architecture: source
Version: 9.10.3-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group
<[email protected]>
Changed-By: Ilias Tsitsimpis <[email protected]>
Closes: 1125305 1125455 1128371
Changes:
ghc (9.10.3-4) unstable; urgency=medium
.
[ John Paul Adrian Glaubitz ]
* Build with -optc-no-integrated-cpp on hppa
* Build with --enable-ld-override on loong64 (Closes: #1125455)
* Drop --enable-unregisterised on loong64 after bootstrap
* Re-enable patch to pass -mcmodel=medium to LLVM backend on loong64
* Re-enable patch to pass -mcmodel=medium to CC on loong64
* Stop passing -optc-mcmodel=medium in EXTRA_HADRIAN_FLAGS on loong64
* Update patch to pass -mcmodel=medium to LLVM backend on loong64
.
[ Ilias Tsitsimpis ]
* Fix determinism of linker arguments (Closes: #1125305)
* Bump standards version to 4.7.3
* Bump debhelper compat to 13
* Add bash completion
* Backport patches to build on hurd-any (Closes: #1128371)
* Build-Depend on pkgconf instead of pkg-config
Checksums-Sha1:
8132312db5818b510e7054ec8e07192db79cee53 2842 ghc_9.10.3-4.dsc
8051b7d36542654c9ecdc224f5b44802f78517fd 67172 ghc_9.10.3-4.debian.tar.xz
a3f2cb3684f5d20e2141bfdc991a1211266489ee 6200 ghc_9.10.3-4_source.buildinfo
Checksums-Sha256:
deb3fa991632a0d756b12bb1aeb893e552c03e136810d0ffa80025d8746edb42 2842
ghc_9.10.3-4.dsc
f3c51edac5d0d64da10b0e289f3bb3a23105d31b06df9a9e5b6732220ecc61a7 67172
ghc_9.10.3-4.debian.tar.xz
4374bec50f79c804d9078373484ab2f8b4648271d1a1321030eea899462f248d 6200
ghc_9.10.3-4_source.buildinfo
Files:
754c61c3a37453f6ec550aed112a0400 2842 haskell optional ghc_9.10.3-4.dsc
04b3177543a50183413c09730c37c85f 67172 haskell optional
ghc_9.10.3-4.debian.tar.xz
78d1b5dff7527ce491e7ce16f7f9106e 6200 haskell optional
ghc_9.10.3-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEJ9c8pfW11+AaUTb116hngMxkQDwFAmm2i2QUHGlsaWFzdHNp
QGRlYmlhbi5vcmcACgkQ16hngMxkQDwb9hAAi2J4zNlGYP8MxXIlp00Z2wvQvqsC
Vupt+xrScP+jK5+YSY7FKiyGvZKDudKjZ0UsQTJZyujjvltjl7Z584y2NlKrOsRx
HVtWGVLHCW2NwxEzX1+T+Txdnrh4gexPOhv1Mit5vixwRCdi157BANp+lKSkAa9M
aEw9JkcK2lcFWN1Icm4j/ukGWTzUt+/jPCkjXxGhCiOIO07w+8XY3ggM7/FyDIvR
6iLefPZkYiIBIvdxU51l124kBiqtER7MwMOwHa0YTmL+yHTMXPzvRVbYPSvkzgXy
xLYTobyVTESJgztzXol6i4XoClsQZIs2Ve8X7Mb39FCXuHjUiPiDn7ROJ3TPGhPB
WYBBNcr7LdC7xPcnzuffDfdX6g/j9c8zI9ODKiCj0JJte9/p7clmeU075A96k6AI
eXUGQeHXG9TgahT5T/eWgDNKS6aTMkf/UonzrQTqlyndVf3qAuKf4SOV1XaAZ6yO
UQoqxSyaodM6tGXadQgPPT00O2nSre1cK61QtxQ2hh66VRjNvariJW2VVeS13S+F
qt8Z2K4cbSEixx124LYx61ri20zEP/LahRXck9a149dKUjsXBz37EAF4r6mVRXkw
AXoaTthE2EZusiLI3vrpnDGJqnhqwBK1eZa4lu7ssVBxy2vyBleQZbYBvxfbvn9v
BymhdB6LkLTt+6E=
=MN9L
-----END PGP SIGNATURE-----
pgpsoDoc4Z7i4.pgp
Description: PGP signature
--- End Message ---
_______________________________________________
Pkg-haskell-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-haskell-maintainers