ghc.git
2 years agoUse native x86_64 instructions on x32
Debian Haskell Group [Wed, 13 Dec 2023 10:28:47 +0000 (12:28 +0200)]
Use native x86_64 instructions on x32

This patch enables a few native 64-bit integer instructions
on x32 which are available on this architecture despite using
32-bit pointers. These instructions are present on x86_64 but
not on x86 and ghc checks the size of (void *) to determine
that. This method fails on x32 since despite using 32-bit
pointers and hence sizeof(void *) == 4, it still uses the
full x86_64 instruction set and software-emulated variants
of the aforementioned 64-bit integer instructions are
therefore not present in the toolchain which will make ghc
fail to build on x32.
See: https://ghc.haskell.org/trac/ghc/ticket/11571

Gbp-Pq: Name x32-use-native-x86_64-insn.patch

2 years agobuildpath-abi-stability
Debian Haskell Group [Wed, 13 Dec 2023 10:28:47 +0000 (12:28 +0200)]
buildpath-abi-stability

Forwarded to https://ghc.haskell.org/trac/ghc/ticket/10424

Forwarded to https://ghc.haskell.org/trac/ghc/ticket/10424

Gbp-Pq: Name buildpath-abi-stability.patch

2 years agoDo not emit a warning if the .haddock file is missing
Joachim Breitner [Wed, 13 Dec 2023 10:28:47 +0000 (12:28 +0200)]
Do not emit a warning if the .haddock file is missing

As it is quite common on Debian installations to install the -dev package
without the -doc package.

Gbp-Pq: Name no-missing-haddock-file-warning

2 years agoUse VFPv3-D16 FPU for ARM builds
Jani Monoses [Wed, 13 Dec 2023 10:28:47 +0000 (12:28 +0200)]
Use VFPv3-D16 FPU for ARM builds

Upstream-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914

Jani writes: The D16 part was Debian/Ubuntu specific, IIRC we define hardfloat
in that particular variant (16 double registers) or we had a different naming
for some reason.

Gbp-Pq: Name ARM-VFPv3D16

2 years agoghc (9.4.7-2) unstable; urgency=medium
Ilias Tsitsimpis [Wed, 13 Dec 2023 10:28:47 +0000 (12:28 +0200)]
ghc (9.4.7-2) unstable; urgency=medium

  * Remove files generated by gen_contents_index at installation time (Closes:
    #1055817)
  * Canonicalize paths in gen_contents_index (Closes: #1055070)
  * Backport upstream fix for CLRRI opcode on ppc64{el,} (Closes: #1054894)
  * Pass number of parallel jobs from DEB_BUILD_OPTIONS to hadrian.
    Code adapted from the debian/rules file for src:cmake.
    Thanks to John Paul Adrian Glaubitz for the fix (Closes: #1056742).
  * Restore --disable-ld-override for affected architectures (Closes: #1056636)

[dgit import unpatched ghc 9.4.7-2]

2 years agoImport ghc_9.4.7-2.debian.tar.xz
Ilias Tsitsimpis [Wed, 13 Dec 2023 10:28:47 +0000 (12:28 +0200)]
Import ghc_9.4.7-2.debian.tar.xz

[dgit import tarball ghc 9.4.7-2 ghc_9.4.7-2.debian.tar.xz]

2 years agoImport ghc_9.4.7.orig.tar.xz
Ilias Tsitsimpis [Tue, 10 Oct 2023 19:08:48 +0000 (22:08 +0300)]
Import ghc_9.4.7.orig.tar.xz

[dgit import orig ghc_9.4.7.orig.tar.xz]