Your message dated Tue, 05 Nov 2024 23:35:17 +0000
with message-id <[email protected]>
and subject line Bug#1085966: fixed in ghc 9.6.6-3
has caused the Debian Bug report #1085966,
regarding ghc: ftbfs: help: Use extra --ghc-options does not reduce binary size 
(based on ghc 9.6.6-2)
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.)


-- 
1085966: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085966
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ghc
Version: 9.6.6-2
Severity: important
Tags: ftbfs help
User: [email protected]
Usertags: loong64

Hi Ilias and LocutusOfBorg,

Based on ghc 9.6.6-2(use extra --ghc-options does not reduce binary size), compiling haskell-pandoc still throws errors.
1. extra --ghc-options in d/rules is as follows,
```
ifneq (,$(filter loong64, $(DEB_HOST_ARCH)))
  EXTRA_HADRIAN_FLAGS += "*.*.ghc.*.opts += -optc-mcmodel=medium"
endif

```

2. error log of haskell-pandoc is as follows,
```
Building test suite 'test-pandoc' for pandoc-3.1.11.1..
[58 of 58] Linking dist-ghc/build/test-pandoc/test-pandoc
/usr/bin/ld: dist-ghc/build/test-pandoc/test-pandoc-tmp/Tests/Helpers.o: relocation R_LARCH_B26 overflow 0x89f8bbc
Dump relocate record:
stack top        relocation name        symbol
......
dist-ghc/build/test-pandoc/test-pandoc-tmp/Tests/Helpers.o:(.text+0x4): relocation truncated to fit: R_LARCH_B26 against symbol `stg_ap_0_fast' defined in .text section in /usr/lib/ghc/lib/../lib/loongarch64-linux-ghc-9.6.6/rts-1.0.2/libHSrts-1.0.2_thr.a(Apply.thr_o)
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
ghc-9.6.6: `loongarch64-linux-gnu-gcc' failed in phase `Linker'. (Exit code: 1) -e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
......

```

For ghc, the full build log can be found at https://buildd.debian.org/status/logs.php?pkg=ghc&arch=loong64. For haskell-pandoc, the full build log can be found at https://buildd.debian.org/status/logs.php?pkg=haskell-pandoc&arch=loong64.

Please give us some suggestions.
Let's discuss and solve the problem together under this bug.
Your opinions are welcome.

Dandan

--- End Message ---
--- Begin Message ---
Source: ghc
Source-Version: 9.6.6-3
Done: Gianfranco Costamagna <[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.
Gianfranco Costamagna <[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: 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 
<[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1085966
Changes:
 ghc (9.6.6-3) unstable; urgency=medium
 .
   [ fanpeng <[email protected]> ]
   * 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
 fb2c9da3a954a5b7d57b75498ade392e765a1aea 8482 ghc_9.6.6-3_source.buildinfo
Checksums-Sha256:
 bb407db9a155f51b8afabfa7dda7b60d37ad90c117604e9d5f82b9daff61d597 2718 
ghc_9.6.6-3.dsc
 e5759650ff0aa5d88f6d900bff55057bd11c79373232b8852667aeae7c9a349f 69744 
ghc_9.6.6-3.debian.tar.xz
 27216afbfc3e7e624f56e857b76a9809f70237ce5851bbb16ff513c831459c79 8482 
ghc_9.6.6-3_source.buildinfo
Files:
 6b65e5ab78dbd7bdd8a154074b891e23 2718 haskell optional ghc_9.6.6-3.dsc
 42e5fa662ef6bf2e09235f876eed8672 69744 haskell optional 
ghc_9.6.6-3.debian.tar.xz
 e290588bcc395f3cf36c09ad999a6ce0 8482 haskell optional 
ghc_9.6.6-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmcqqUYACgkQ808JdE6f
XdmgrxAAx1eJn4AdMqCN1LVpQmNdyFjRipWNd30Zo/IF+UBAASzQWM0GE2/pM2Nd
d+RdiwspYhbIdnr8CbZIl69U7vMEw58W4Fjq6Lu22VVzOUnb5ExOuZhU65iuBdbT
tSsQ0u5Q+RNhDmIGtM740W6SxRFcYhvVGIwYigH8FVxpJ+Ohn8cDPDhXs6IrtoeV
Gx7F6RSXSbUBlHYO9cNZbSh9VQkBv2JtVZyhJLPywrb4BwY4hGJcPqusNX+rl6Pl
FC16ltHh1YjDJA9svMvP1ZRzFgqVG08QdhgqPOAj9kAbQqcGghphg75hgJxdgET/
B99UxDq/8dIGnzK1ylRXJHHRYjNDix6HzM/1nLkUpaN5mrKMWhOeccURkpGavj8O
GRUJzts448KMGz59mAQ9Z6B8N/Sz+WVjeXVMQhqeAwVGd34pYNCPtwCgQAxeHQSZ
hayEKEfbL950v9B3kQRCId9aoFeYZb4rwbspGFrNhtts8SrL0vzkGPcyDrATaaTa
ADI2fTGl4BMEPrQgYUdcgOIGzd/7AUrz4LcfAUWoAD6HUjKQm723NopjWot95mi4
XdDvFJcd1Aa9ZMyV/z7k88suddzSYaK3R1uvt5XMEEzxgCBPYsLZsz8tT7tevTRt
8bMJvfIUJEAcGyXAPQgAN/4xOam1vpdh75iKT31c7iDIYHixdak=
=YU2N
-----END PGP SIGNATURE-----

Attachment: pgpcRvc1JEkST.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

Reply via email to