Your message dated Sun, 15 Sep 2024 10:04:57 +0000
with message-id <[email protected]>
and subject line Bug#1071167: fixed in haskell-zlib 0.6.3.0-3
has caused the Debian Bug report #1071167,
regarding haskell-zlib: Use extra --ghc-options in d/rules on 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.)
--
1071167: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071167
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: haskell-zlib
Version: 0.6.3.0-2
Severity: important
Tags: patch
User: [email protected]
Usertags: loong64
Dear maintainers,
Compiling the haskell-pandoc failed for loong64 in the Debian Package
Auto-Building environment.
The error log is as follows,
```
[58 of 58] Linking dist-ghc/build/test-pandoc/test-pandoc
/usr/bin/ld.bfd:
/usr/lib/ghc/lib/../lib/loongarch64-linux-ghc-9.4.7/rts-1.0.2/libHSrts-1.0.2_thr.a(NonMovingMark.thr_o):
relocation R_LARCH_B26 overflow 0xfffffffff5fec6a4
Dump relocate record:
stack top relocation name symbol
at
/usr/lib/gcc/loongarch64-linux-gnu/13/../../../loongarch64-linux-gnu/crt1.o(.text+0x0):
...
0x0000000000000000 R_LARCH_NONE `<nameless>' + 3(0x3)
......
```
The Full log can be found at
https://buildd.debian.org/status/logs.php?pkg=haskell-pandoc&ver=3.1.3-1&arch=loong64.
After analysis, we need to add extra --ghc-options in d/rules on loong64
to increase jump-instructions' range.
Please consider the patch I attached.
Your opinions are welcome.
Thanks,
Dandan Zhang
diff -Nru haskell-zlib-0.6.3.0/debian/rules haskell-zlib-0.6.3.0/debian/rules
--- haskell-zlib-0.6.3.0/debian/rules 2021-11-27 12:52:06.000000000 +0000
+++ haskell-zlib-0.6.3.0/debian/rules 2023-08-27 09:40:15.000000000 +0000
@@ -4,3 +4,8 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
+
+ifneq (,$(filter $(DEB_BUILD_ARCH),loong64))
+DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc-mcmodel=medium"
+endif
+
--- End Message ---
--- Begin Message ---
Source: haskell-zlib
Source-Version: 0.6.3.0-3
Done: Ilias Tsitsimpis <[email protected]>
We believe that the bug you reported is fixed in the latest version of
haskell-zlib, 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 haskell-zlib
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: Sun, 15 Sep 2024 12:24:22 +0300
Source: haskell-zlib
Architecture: source
Version: 0.6.3.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group
<[email protected]>
Changed-By: Ilias Tsitsimpis <[email protected]>
Closes: 1071167
Changes:
haskell-zlib (0.6.3.0-3) unstable; urgency=medium
.
[ zhangdandan <[email protected]> ]
* Use extra --ghc-options in d/rules on loong64 (Closes: #1071167)
.
[ Ilias Tsitsimpis ]
* Declare compliance with Debian policy 4.7.0
* Sourceful upload for GHC 9.6
Checksums-Sha1:
b46fec0a30670ae840824ba2993019dc782ac7fc 2288 haskell-zlib_0.6.3.0-3.dsc
61bcd9aaf7779dbfdf97773ffd79812c32f1ed19 5332
haskell-zlib_0.6.3.0-3.debian.tar.xz
3b54a9666aa19a27b50d501b962db10e86d97985 6196
haskell-zlib_0.6.3.0-3_source.buildinfo
Checksums-Sha256:
4432eebde1d155f27938986999f1bff056ff2ff416ac71585827b4cc12fd95bb 2288
haskell-zlib_0.6.3.0-3.dsc
8ea340f5b09a58b35aac27dc998918f8faa4be5738bd8384d307a518863ada16 5332
haskell-zlib_0.6.3.0-3.debian.tar.xz
87d6d2ac4a5beab2b7857e4656f419fbb26e6cd983e854174eeaf615502020f4 6196
haskell-zlib_0.6.3.0-3_source.buildinfo
Files:
150b39b7ec4f983c68b51595bfc3c869 2288 haskell optional
haskell-zlib_0.6.3.0-3.dsc
a33427b9ca17810427ac9e9b1c7b18ab 5332 haskell optional
haskell-zlib_0.6.3.0-3.debian.tar.xz
65096b31096fb435c2c43e3c7daaa652 6196 haskell optional
haskell-zlib_0.6.3.0-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEJ9c8pfW11+AaUTb116hngMxkQDwFAmbmrf4UHGlsaWFzdHNp
QGRlYmlhbi5vcmcACgkQ16hngMxkQDxySA/+IlY6JaDH82l0wyeqLcmibKbKWquC
xyyUxuva4T7Ew+GdHZrn2GOmYkVeXKhaBEO2VgyCs1fE04kBaUHyCOdpIn6zjHJ9
JTqCs32Ib2wpZc0wyz/eTsALxI5TEjDfPwqtHRxbng/sB0HMEabFcGISKfcaKz4t
NpbIRZ+BONO5R6NIbGwakgLZYrVvBmWNyrFSALJrw4IgGROH5uwtjlK+gWVUd5ot
h2BQgMDt2k3EdPw7jMPwiOsR8rlIgbVfu+tNZMjJitSkD2GytkHrcGpvR02MEbZC
z6O36W9fQa4MeyQY/AIMwR4mfZymhNXOPjmXyGwg/Jiy9rZmwL0IzBSDDU/xaL+Y
ntiv1R++vk++HzGkiFA5say2DTotUwV4TycobfISCq/bUZUMe/DzCMoATl/Zn0q6
K5aaZM3Z2EgtreeBDFbbJ9bOf7hgik7NQbk0ownpJnDlCp00FRU23jDsO9H+pgkz
tzPqNx8Bm1AvU6j/Buk2HFuea40R6CxSVqjKPeXK/qrwBvlbfn1xmhVlRXuSLDf8
03Ew1hhEUU0w50Gtn4U9lIDZaEKY8q0AglyUvpI6WN8gCsXZUuEt+UIYUc842o+/
Pp+5sqXZqR4eZJ8earj/Xrhbw35iMINx3USt3oQb8/zy54j/ZiLcfkejHev/2dtT
w7opuA7e9E0bKko=
=ZL8G
-----END PGP SIGNATURE-----
pgp0S5O2WsKJd.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