Bug#1085966: fixed in ghc 9.6.6-3
fanpeng
fanpeng at loongson.cn
Wed Nov 6 07:42:07 GMT 2024
On Wed, 6 Nov 2024 14:48:52 +0800 fanpeng wrote:
debian/patches/7e2d3eb507da184cf3337d36715fd82a81643d91.patch
This patch is for GHC-9.6, 9.8 and later versions that already contain this change.
And it's only part of the fix for build errors, the -optc-mcmodel=medium option is still needed.
> On Tue, 05 Nov 2024 23:35:17 +0000 Debian FTP Masters wrote:
>
> Some necessary explanations:
> 1. Patch for GHC source code: Modified the relocation type of GHC
> intrinsic functions, which can be adjusted according to-optc-mcmodel
> instead of the default R_LARCH_B26.
> 2. Modification of several other haskell related packages: This is due
> to the limited jump range of the B26 in default mode. After testing,
> changing these packages solves the problem.
> Maybe it's a bit silly, but I don't think it's possible to change the
> default mcmodel of GHC.
>
> Please let me know if there is a better solution. Thanks.
>
> > Source: ghc
> > Source-Version: 9.6.6-3
> > Done: Gianfranco Costamagna
> >
> > 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 1085966 at bugs.debian.org,
> > and the maintainer will reopen the bug report if appropriate.
> >
> > Debian distribution maintenance software
> > pp.
> > Gianfranco Costamagna (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 ftpmaster at ftp-master.debian.org)
> >
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > Format: 1.8
> > Date: Wed, 06 Nov 2024 00:21:23 +0100
> > Source: ghc
> > Built-For-Profiles: noudeb
> > Architecture: source
> > Version: 9.6.6-3
> > Distribution: unstable
> > Urgency: medium
> > Maintainer: Debian Haskell Group
> > Changed-By: Gianfranco Costamagna
> > Closes: 1085966
> > Changes:
> > ghc (9.6.6-3) unstable; urgency=medium
> > .
> > [ fanpeng ]
> > * debian/patches/7e2d3eb507da184cf3337d36715fd82a81643d91.patch:
> > - upstream fix for loong64 build failures (Closes: #1085966)
> > Checksums-Sha1:
> > 2cacab30e397e351b786dcb61b9a763fd0b3c87a 2718 ghc_9.6.6-3.dsc
> > 3309afcbca81dd49018371b9be7e1c287e049206 69744
ghc_9.6.6-3.debian.tar.xz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20241106/90c80bc6/attachment.htm>
More information about the Pkg-haskell-maintainers
mailing list