ghc.git
4 years agoDefuzz fuzzy quilt patches and/or disable broken quilt patches archive/raspbian/8.8.4-3+rpi1 raspbian/8.8.4-3+rpi1
Raspbian automatic forward porter [Sat, 9 Oct 2021 20:41:29 +0000 (21:41 +0100)]
Defuzz fuzzy quilt patches and/or disable broken quilt patches

4 years agoMerge version 8.8.4-2+rpi2 and 8.8.4-3 to produce 8.8.4-3+rpi1
Raspbian automatic forward porter [Sat, 9 Oct 2021 20:41:06 +0000 (21:41 +0100)]
Merge version 8.8.4-2+rpi2 and 8.8.4-3 to produce 8.8.4-3+rpi1

4 years agoMerge ghc (8.8.4-3) import into refs/heads/workingbranch
Ilias Tsitsimpis [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Merge ghc (8.8.4-3) import into refs/heads/workingbranch

4 years agoFix build with newer Sphinx
Debian Haskell Group [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Fix build with newer Sphinx

Origin: https://gitlab.haskell.org/ghc/ghc/-/commit/83407ffc7acc00cc025b9f6ed063add9ab9f9bcc
Bug-Debian: https://bugs.debian.org/995429

This is a partial cherry-pick of 83407ffc7acc00cc025b9f6ed063add9ab9f9bcc.

Gbp-Pq: Name newer-sphinx

4 years agoFix build with newer autoconf (2.71)
Matthias Klose [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Fix build with newer autoconf (2.71)

Bug-Debian: https://bugs.debian.org/995036
Applied-Upstream: https://gitlab.haskell.org/ghc/ghc/-/commit/ad2ef3a13f1eb000eab8e3d64592373b91a52806

Gbp-Pq: Name newer-autoconf

4 years ago[PATCH] FFI: Fix pass small ints in foreign call wrappers
Peter Trommler [Thu, 11 Jun 2020 06:31:22 +0000 (08:31 +0200)]
[PATCH] FFI: Fix pass small ints in foreign call wrappers

The Haskell calling convention requires integer parameters smaller
than wordsize to be promoted to wordsize (where the upper bits are
don't care). To access such small integer parameter read a word from
the parameter array and then cast that word to the small integer
target type.

Fixes #15933

Gbp-Pq: Name fix-big-endian-ffi

4 years agoRemove hard-coded googleapis font URL
Debian Haskell Group [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Remove hard-coded googleapis font URL

Bug: https://github.com/haskell/haddock/issues/1211
Bug-Debian: https://bugs.debian.org/963690

Gbp-Pq: Name haddock-remove-googleapis-fonts

4 years ago[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Wed, 11 Dec 2019 06:47:16 +0000 (07:47 +0100)]
[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Gbp-Pq: Name 11f8eef5a9625c77f78a829406c446b615ed6168.patch

4 years ago[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Mon, 9 Dec 2019 14:41:57 +0000 (15:41 +0100)]
[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Include header file `ghcautoconf.h` where the CPP macro
`WORDS_BIGENDIAN` is defined. This finally fixes #17337 (in conjunction
with commit 6c59cc71dc).

Gbp-Pq: Name 3c12355ece0fa14e534c71a9f7327eda9773fad9.patch

4 years agoDo not define hs_atomic{read,write}64() on non-64bit
Ilias Tsitsimpis [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Do not define hs_atomic{read,write}64() on non-64bit

Bug: https://gitlab.haskell.org/ghc/ghc/issues/17886
Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2804

Gbp-Pq: Name fix-32bit-atomic

4 years agollvm-targets: Add arm-unknown-linux-gnueabi
Ilias Tsitsimpis [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
llvm-targets: Add arm-unknown-linux-gnueabi

Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2789

Add arm-unknown-linux-gnueabi, which is used by Debian's ARM EABI port
(armel), as an LLVM target.

Gbp-Pq: Name llvm-arm-unknown-linux-gnueabi.patch

4 years agoUse LLVM 9
Debian Haskell Group [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Use LLVM 9

Backport commits 8c5cb80698 and 8e5851f070 to use LLVM 9.

Gbp-Pq: Name llvm-11.patch

4 years agoAllow unregisterised ghc-8.6 to build newer GHC
Debian Haskell Group [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Allow unregisterised ghc-8.6 to build newer GHC

Commit af9b744bbf1 introduced a regression stopping existing unregisterised
compilers from being able to compile newer versions of GHC. The problem is
that the bootstrap compiler uses the newer `includes/stg/MiscClosures.h` file
where some defines have been renamed, resulting in the following error:
.
 error: ‘stg_atomicModifyMutVarzh’ undeclared (first use in this function); did you mean ‘stg_atomicModifyMutVar2zh’?
.
 For more information, see https://gitlab.haskell.org/ghc/ghc/issues/17111.
.
 This patch can be removed, once ghc-8.6 is no longer the bootstrap compiler.
Author: Ilias Tsitsimpis <iliastsi@debian.org>
Bug: https://gitlab.haskell.org/ghc/ghc/issues/17111

Gbp-Pq: Name fix-build-using-unregisterised-v8.6

4 years agolocal-mathjax
Debian Haskell Group [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
local-mathjax

===================================================================

Gbp-Pq: Name local-mathjax

4 years agoAdd kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4
Svante Signell [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Add kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4

Bug-Debian: https://bugs.debian.org/913140

Gbp-Pq: Name kfreebsd-aclocal.m4

4 years agoUse the stage1 binaries for install
John Paul Adrian Glaubitz [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Use the stage1 binaries for install

Last-Update: 2017-01-29

In order to be able to perform a cross-build, we need to use
the stage1 binaries during installation. Both ghc and ghc-pkg
are run during the install target and therefore must be able
to run on the build machine.

Gbp-Pq: Name use-stage1-binaries-for-install.patch

4 years agoUse native x86_64 instructions on x32
Debian Haskell Group [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
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

4 years agobuildpath-abi-stability
Debian Haskell Group [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
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

4 years agoDo not emit a warning if the .haddock file is missing
Joachim Breitner [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
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

4 years agoUse VFPv3-D16 FPU for ARM builds
Jani Monoses [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Use VFPv3-D16 FPU for ARM builds

Upstream-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914
Launchpad-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

4 years agouse-debian-gen_contents_index
Debian Haskell Group [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
use-debian-gen_contents_index

===================================================================

Gbp-Pq: Name use-debian-gen_contents_index

4 years agoghc (8.8.4-3) unstable; urgency=medium
Ilias Tsitsimpis [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
ghc (8.8.4-3) unstable; urgency=medium

  * Disable parallel install to fix races with missing directories
    (Closes: #944493)
  * Fix FTBFS with autoconf 2.71. Thanks to Matthias Klose for the patch
    (Closes: #995036)
  * Fix FTBFS with Sphinx 4.2.0 (Closes: #995429)

[dgit import unpatched ghc 8.8.4-3]

4 years agoImport ghc_8.8.4-3.debian.tar.xz
Ilias Tsitsimpis [Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)]
Import ghc_8.8.4-3.debian.tar.xz

[dgit import tarball ghc 8.8.4-3 ghc_8.8.4-3.debian.tar.xz]

4 years agoMerge ghc (8.8.4-2+rpi2) import into refs/heads/workingbranch
Peter Michael Green [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
Merge ghc (8.8.4-2+rpi2) import into refs/heads/workingbranch

4 years ago[PATCH] [configure] Fix _AC_PROG_CC_99
Moritz Angermann [Wed, 17 Feb 2021 13:13:07 +0000 (21:13 +0800)]
[PATCH] [configure] Fix _AC_PROG_CC_99

_AC_PROG_CC_99 isn't available anymore in recent autoconf versions.
This broke on aarch64-darwin.

Gbp-Pq: Name autoconf-2.71.patch

4 years ago[PATCH] FFI: Fix pass small ints in foreign call wrappers
Peter Trommler [Thu, 11 Jun 2020 06:31:22 +0000 (08:31 +0200)]
[PATCH] FFI: Fix pass small ints in foreign call wrappers

The Haskell calling convention requires integer parameters smaller
than wordsize to be promoted to wordsize (where the upper bits are
don't care). To access such small integer parameter read a word from
the parameter array and then cast that word to the small integer
target type.

Fixes #15933

Gbp-Pq: Name fix-big-endian-ffi

4 years agoRemove hard-coded googleapis font URL
Debian Haskell Group [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
Remove hard-coded googleapis font URL

Bug: https://github.com/haskell/haddock/issues/1211
Bug-Debian: https://bugs.debian.org/963690

Gbp-Pq: Name haddock-remove-googleapis-fonts

4 years ago[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Wed, 11 Dec 2019 06:47:16 +0000 (07:47 +0100)]
[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Gbp-Pq: Name 11f8eef5a9625c77f78a829406c446b615ed6168.patch

4 years ago[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Mon, 9 Dec 2019 14:41:57 +0000 (15:41 +0100)]
[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Include header file `ghcautoconf.h` where the CPP macro
`WORDS_BIGENDIAN` is defined. This finally fixes #17337 (in conjunction
with commit 6c59cc71dc).

Gbp-Pq: Name 3c12355ece0fa14e534c71a9f7327eda9773fad9.patch

4 years agoDo not define hs_atomic{read,write}64() on non-64bit
Ilias Tsitsimpis [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
Do not define hs_atomic{read,write}64() on non-64bit

Bug: https://gitlab.haskell.org/ghc/ghc/issues/17886
Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2804

Gbp-Pq: Name fix-32bit-atomic

4 years agollvm-targets: Add arm-unknown-linux-gnueabi
Ilias Tsitsimpis [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
llvm-targets: Add arm-unknown-linux-gnueabi

Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2789

Add arm-unknown-linux-gnueabi, which is used by Debian's ARM EABI port
(armel), as an LLVM target.

Gbp-Pq: Name llvm-arm-unknown-linux-gnueabi.patch

4 years agoUse LLVM 9
Debian Haskell Group [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
Use LLVM 9

Backport commits 8c5cb80698 and 8e5851f070 to use LLVM 9.

Gbp-Pq: Name llvm-11.patch

4 years agoAllow unregisterised ghc-8.6 to build newer GHC
Debian Haskell Group [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
Allow unregisterised ghc-8.6 to build newer GHC

Commit af9b744bbf1 introduced a regression stopping existing unregisterised
compilers from being able to compile newer versions of GHC. The problem is
that the bootstrap compiler uses the newer `includes/stg/MiscClosures.h` file
where some defines have been renamed, resulting in the following error:
.
 error: ‘stg_atomicModifyMutVarzh’ undeclared (first use in this function); did you mean ‘stg_atomicModifyMutVar2zh’?
.
 For more information, see https://gitlab.haskell.org/ghc/ghc/issues/17111.
.
 This patch can be removed, once ghc-8.6 is no longer the bootstrap compiler.
Author: Ilias Tsitsimpis <iliastsi@debian.org>
Bug: https://gitlab.haskell.org/ghc/ghc/issues/17111

Gbp-Pq: Name fix-build-using-unregisterised-v8.6

4 years agolocal-mathjax
Debian Haskell Group [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
local-mathjax

===================================================================

Gbp-Pq: Name local-mathjax

4 years agoAdd kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4
Svante Signell [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
Add kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4

Bug-Debian: https://bugs.debian.org/913140

Gbp-Pq: Name kfreebsd-aclocal.m4

4 years agoUse the stage1 binaries for install
John Paul Adrian Glaubitz [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
Use the stage1 binaries for install

Last-Update: 2017-01-29

In order to be able to perform a cross-build, we need to use
the stage1 binaries during installation. Both ghc and ghc-pkg
are run during the install target and therefore must be able
to run on the build machine.

Gbp-Pq: Name use-stage1-binaries-for-install.patch

4 years agoUse native x86_64 instructions on x32
Debian Haskell Group [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
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

4 years agobuildpath-abi-stability
Debian Haskell Group [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
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

4 years agoDo not emit a warning if the .haddock file is missing
Joachim Breitner [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
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

4 years agoUse VFPv3-D16 FPU for ARM builds
Jani Monoses [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
Use VFPv3-D16 FPU for ARM builds

Upstream-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914
Launchpad-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

4 years agouse-debian-gen_contents_index
Debian Haskell Group [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
use-debian-gen_contents_index

===================================================================

Gbp-Pq: Name use-debian-gen_contents_index

4 years agoghc (8.8.4-2+rpi2) bookworm-staging; urgency=medium
Peter Michael Green [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
ghc (8.8.4-2+rpi2) bookworm-staging; urgency=medium

  * Add upstream patch to fix build with new autoconf.

[dgit import unpatched ghc 8.8.4-2+rpi2]

4 years agoImport ghc_8.8.4-2+rpi2.debian.tar.xz
Peter Michael Green [Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)]
Import ghc_8.8.4-2+rpi2.debian.tar.xz

[dgit import tarball ghc 8.8.4-2+rpi2 ghc_8.8.4-2+rpi2.debian.tar.xz]

4 years agoMerge version 8.8.4-1+rpi1 and 8.8.4-2 to produce 8.8.4-2+rpi1 bullseye-staging archive/raspbian/8.8.4-2+rpi1 raspbian/8.8.4-2+rpi1
Raspbian automatic forward porter [Sun, 27 Dec 2020 19:30:12 +0000 (19:30 +0000)]
Merge version 8.8.4-1+rpi1 and 8.8.4-2 to produce 8.8.4-2+rpi1

4 years agoMerge ghc (8.8.4-2) import into refs/heads/workingbranch
Gianfranco Costamagna [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
Merge ghc (8.8.4-2) import into refs/heads/workingbranch

4 years ago[PATCH] FFI: Fix pass small ints in foreign call wrappers
Peter Trommler [Thu, 11 Jun 2020 06:31:22 +0000 (08:31 +0200)]
[PATCH] FFI: Fix pass small ints in foreign call wrappers

The Haskell calling convention requires integer parameters smaller
than wordsize to be promoted to wordsize (where the upper bits are
don't care). To access such small integer parameter read a word from
the parameter array and then cast that word to the small integer
target type.

Fixes #15933

Gbp-Pq: Name fix-big-endian-ffi

4 years agoRemove hard-coded googleapis font URL
Debian Haskell Group [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
Remove hard-coded googleapis font URL

Bug: https://github.com/haskell/haddock/issues/1211
Bug-Debian: https://bugs.debian.org/963690

Gbp-Pq: Name haddock-remove-googleapis-fonts

4 years ago[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Wed, 11 Dec 2019 06:47:16 +0000 (07:47 +0100)]
[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Gbp-Pq: Name 11f8eef5a9625c77f78a829406c446b615ed6168.patch

4 years ago[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Mon, 9 Dec 2019 14:41:57 +0000 (15:41 +0100)]
[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Include header file `ghcautoconf.h` where the CPP macro
`WORDS_BIGENDIAN` is defined. This finally fixes #17337 (in conjunction
with commit 6c59cc71dc).

Gbp-Pq: Name 3c12355ece0fa14e534c71a9f7327eda9773fad9.patch

4 years agoDo not define hs_atomic{read,write}64() on non-64bit
Ilias Tsitsimpis [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
Do not define hs_atomic{read,write}64() on non-64bit

Bug: https://gitlab.haskell.org/ghc/ghc/issues/17886
Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2804

Gbp-Pq: Name fix-32bit-atomic

4 years agollvm-targets: Add arm-unknown-linux-gnueabi
Ilias Tsitsimpis [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
llvm-targets: Add arm-unknown-linux-gnueabi

Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2789

Add arm-unknown-linux-gnueabi, which is used by Debian's ARM EABI port
(armel), as an LLVM target.

Gbp-Pq: Name llvm-arm-unknown-linux-gnueabi.patch

4 years agoUse LLVM 9
Debian Haskell Group [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
Use LLVM 9

Backport commits 8c5cb80698 and 8e5851f070 to use LLVM 9.

Gbp-Pq: Name llvm-11.patch

4 years agoAllow unregisterised ghc-8.6 to build newer GHC
Debian Haskell Group [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
Allow unregisterised ghc-8.6 to build newer GHC

Commit af9b744bbf1 introduced a regression stopping existing unregisterised
compilers from being able to compile newer versions of GHC. The problem is
that the bootstrap compiler uses the newer `includes/stg/MiscClosures.h` file
where some defines have been renamed, resulting in the following error:
.
 error: ‘stg_atomicModifyMutVarzh’ undeclared (first use in this function); did you mean ‘stg_atomicModifyMutVar2zh’?
.
 For more information, see https://gitlab.haskell.org/ghc/ghc/issues/17111.
.
 This patch can be removed, once ghc-8.6 is no longer the bootstrap compiler.
Author: Ilias Tsitsimpis <iliastsi@debian.org>
Bug: https://gitlab.haskell.org/ghc/ghc/issues/17111

Gbp-Pq: Name fix-build-using-unregisterised-v8.6

4 years agolocal-mathjax
Debian Haskell Group [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
local-mathjax

===================================================================

Gbp-Pq: Name local-mathjax

4 years agoAdd kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4
Svante Signell [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
Add kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4

Bug-Debian: https://bugs.debian.org/913140

Gbp-Pq: Name kfreebsd-aclocal.m4

4 years agoUse the stage1 binaries for install
John Paul Adrian Glaubitz [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
Use the stage1 binaries for install

Last-Update: 2017-01-29

In order to be able to perform a cross-build, we need to use
the stage1 binaries during installation. Both ghc and ghc-pkg
are run during the install target and therefore must be able
to run on the build machine.

Gbp-Pq: Name use-stage1-binaries-for-install.patch

4 years agoUse native x86_64 instructions on x32
Debian Haskell Group [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
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

4 years agobuildpath-abi-stability
Debian Haskell Group [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
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

4 years agoDo not emit a warning if the .haddock file is missing
Joachim Breitner [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
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

4 years agoUse VFPv3-D16 FPU for ARM builds
Jani Monoses [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
Use VFPv3-D16 FPU for ARM builds

Upstream-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914
Launchpad-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

4 years agouse-debian-gen_contents_index
Debian Haskell Group [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
use-debian-gen_contents_index

===================================================================

Gbp-Pq: Name use-debian-gen_contents_index

4 years agoghc (8.8.4-2) unstable; urgency=medium
Gianfranco Costamagna [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
ghc (8.8.4-2) unstable; urgency=medium

  [ Ilias Tsitsimpis ]
  * Correctly set 'haddock-interfaces' for base libraries (Closes: #968446)
  * Remove files generated by postinst script (Closes: #909922)
  * Add myself as an uploader

  [ Gianfranco Costamagna ]
  * Lower parallel builds to 2 on Ubuntu armhf, to speed up build process.

  [ Adrian Bunk ]
  * Update to llvm-11. (Closes: #974794)

[dgit import unpatched ghc 8.8.4-2]

4 years agoImport ghc_8.8.4-2.debian.tar.xz
Gianfranco Costamagna [Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)]
Import ghc_8.8.4-2.debian.tar.xz

[dgit import tarball ghc 8.8.4-2 ghc_8.8.4-2.debian.tar.xz]

5 years agoMerge version 8.8.3-3+rpi1 and 8.8.4-1 to produce 8.8.4-1+rpi1 archive/raspbian/8.8.4-1+rpi1 raspbian/8.8.4-1+rpi1
Raspbian automatic forward porter [Sat, 17 Oct 2020 14:42:06 +0000 (15:42 +0100)]
Merge version 8.8.3-3+rpi1 and 8.8.4-1 to produce 8.8.4-1+rpi1

5 years agoMerge version 8.8.1+dfsg1+is+8.6.5+dfsg1-3+rpi1 and 8.8.3-3 to produce 8.8.3-3+rpi1 archive/raspbian/8.8.3-3+rpi1 raspbian/8.8.3-3+rpi1
Raspbian automatic forward porter [Wed, 12 Aug 2020 23:11:38 +0000 (00:11 +0100)]
Merge version 8.8.1+dfsg1+is+8.6.5+dfsg1-3+rpi1 and 8.8.3-3 to produce 8.8.3-3+rpi1

5 years agoImport ghc_8.8.4.orig.tar.xz
Ilias Tsitsimpis [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Import ghc_8.8.4.orig.tar.xz

[dgit import orig ghc_8.8.4.orig.tar.xz]

5 years agoMerge ghc (8.8.4-1) import into refs/heads/workingbranch
Ilias Tsitsimpis [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Merge ghc (8.8.4-1) import into refs/heads/workingbranch

5 years ago[PATCH] FFI: Fix pass small ints in foreign call wrappers
Peter Trommler [Thu, 11 Jun 2020 06:31:22 +0000 (08:31 +0200)]
[PATCH] FFI: Fix pass small ints in foreign call wrappers

The Haskell calling convention requires integer parameters smaller
than wordsize to be promoted to wordsize (where the upper bits are
don't care). To access such small integer parameter read a word from
the parameter array and then cast that word to the small integer
target type.

Fixes #15933

Gbp-Pq: Name fix-big-endian-ffi

5 years agoRemove hard-coded googleapis font URL
Debian Haskell Group [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Remove hard-coded googleapis font URL

Bug: https://github.com/haskell/haddock/issues/1211
Bug-Debian: https://bugs.debian.org/963690

Gbp-Pq: Name haddock-remove-googleapis-fonts

5 years ago[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Wed, 11 Dec 2019 06:47:16 +0000 (07:47 +0100)]
[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Gbp-Pq: Name 11f8eef5a9625c77f78a829406c446b615ed6168.patch

5 years ago[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Mon, 9 Dec 2019 14:41:57 +0000 (15:41 +0100)]
[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Include header file `ghcautoconf.h` where the CPP macro
`WORDS_BIGENDIAN` is defined. This finally fixes #17337 (in conjunction
with commit 6c59cc71dc).

Gbp-Pq: Name 3c12355ece0fa14e534c71a9f7327eda9773fad9.patch

5 years agoDo not define hs_atomic{read,write}64() on non-64bit
Ilias Tsitsimpis [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Do not define hs_atomic{read,write}64() on non-64bit

Bug: https://gitlab.haskell.org/ghc/ghc/issues/17886
Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2804

Gbp-Pq: Name fix-32bit-atomic

5 years agollvm-targets: Add arm-unknown-linux-gnueabi
Ilias Tsitsimpis [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
llvm-targets: Add arm-unknown-linux-gnueabi

Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2789

Add arm-unknown-linux-gnueabi, which is used by Debian's ARM EABI port
(armel), as an LLVM target.

Gbp-Pq: Name llvm-arm-unknown-linux-gnueabi.patch

5 years agoUse LLVM 9
Debian Haskell Group [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Use LLVM 9

Backport commits 8c5cb80698 and 8e5851f070 to use LLVM 9.

Gbp-Pq: Name llvm-9.patch

5 years agoAllow unregisterised ghc-8.6 to build newer GHC
Debian Haskell Group [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Allow unregisterised ghc-8.6 to build newer GHC

Commit af9b744bbf1 introduced a regression stopping existing unregisterised
compilers from being able to compile newer versions of GHC. The problem is
that the bootstrap compiler uses the newer `includes/stg/MiscClosures.h` file
where some defines have been renamed, resulting in the following error:
.
 error: ‘stg_atomicModifyMutVarzh’ undeclared (first use in this function); did you mean ‘stg_atomicModifyMutVar2zh’?
.
 For more information, see https://gitlab.haskell.org/ghc/ghc/issues/17111.
.
 This patch can be removed, once ghc-8.6 is no longer the bootstrap compiler.
Author: Ilias Tsitsimpis <iliastsi@debian.org>
Bug: https://gitlab.haskell.org/ghc/ghc/issues/17111

Gbp-Pq: Name fix-build-using-unregisterised-v8.6

5 years agolocal-mathjax
Debian Haskell Group [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
local-mathjax

===================================================================

Gbp-Pq: Name local-mathjax

5 years agoAdd kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4
Svante Signell [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Add kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4

Bug-Debian: https://bugs.debian.org/913140

Gbp-Pq: Name kfreebsd-aclocal.m4

5 years agoUse the stage1 binaries for install
John Paul Adrian Glaubitz [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Use the stage1 binaries for install

Last-Update: 2017-01-29

In order to be able to perform a cross-build, we need to use
the stage1 binaries during installation. Both ghc and ghc-pkg
are run during the install target and therefore must be able
to run on the build machine.

Gbp-Pq: Name use-stage1-binaries-for-install.patch

5 years agoUse native x86_64 instructions on x32
Debian Haskell Group [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
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

5 years agobuildpath-abi-stability
Debian Haskell Group [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
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

5 years agoDo not emit a warning if the .haddock file is missing
Joachim Breitner [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
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

5 years agoUse VFPv3-D16 FPU for ARM builds
Jani Monoses [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Use VFPv3-D16 FPU for ARM builds

Upstream-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914
Launchpad-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

5 years agouse-debian-gen_contents_index
Debian Haskell Group [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
use-debian-gen_contents_index

===================================================================

Gbp-Pq: Name use-debian-gen_contents_index

5 years agoghc (8.8.4-1) unstable; urgency=medium
Ilias Tsitsimpis [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
ghc (8.8.4-1) unstable; urgency=medium

  * New upstream release
  * Fix gen_contents_index to use ghc-pkg to parse the package database
    (Closes: #966069)
  * Use locally-installed MathJax.js when generating library docs
    (Closes: #890627)
  * Patch Haddock to remove hard-coded googleapis font URL (Closes: #963690)
  * Backport upstream patch to fix FFI on unregisterised big endian machines

[dgit import unpatched ghc 8.8.4-1]

5 years agoImport ghc_8.8.4-1.debian.tar.xz
Ilias Tsitsimpis [Tue, 11 Aug 2020 14:12:43 +0000 (15:12 +0100)]
Import ghc_8.8.4-1.debian.tar.xz

[dgit import tarball ghc 8.8.4-1 ghc_8.8.4-1.debian.tar.xz]

5 years agoMerge ghc (8.8.3-3) import into refs/heads/workingbranch
Gianfranco Costamagna [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
Merge ghc (8.8.3-3) import into refs/heads/workingbranch

5 years ago[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Wed, 11 Dec 2019 06:47:16 +0000 (07:47 +0100)]
[PATCH] fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Gbp-Pq: Name 11f8eef5a9625c77f78a829406c446b615ed6168.patch

5 years ago[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Stefan Schulze Frielinghaus [Mon, 9 Dec 2019 14:41:57 +0000 (15:41 +0100)]
[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Include header file `ghcautoconf.h` where the CPP macro
`WORDS_BIGENDIAN` is defined. This finally fixes #17337 (in conjunction
with commit 6c59cc71dc).

Gbp-Pq: Name 3c12355ece0fa14e534c71a9f7327eda9773fad9.patch

5 years agoDo not define hs_atomic{read,write}64() on non-64bit
Ilias Tsitsimpis [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
Do not define hs_atomic{read,write}64() on non-64bit

Bug: https://gitlab.haskell.org/ghc/ghc/issues/17886
Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2804

Gbp-Pq: Name fix-32bit-atomic

5 years agollvm-targets: Add arm-unknown-linux-gnueabi
Ilias Tsitsimpis [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
llvm-targets: Add arm-unknown-linux-gnueabi

Forwarded: https://gitlab.haskell.org/ghc/ghc/merge_requests/2789

Add arm-unknown-linux-gnueabi, which is used by Debian's ARM EABI port
(armel), as an LLVM target.

Gbp-Pq: Name llvm-arm-unknown-linux-gnueabi.patch

5 years agoUse LLVM 9
Debian Haskell Group [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
Use LLVM 9

Backport commits 8c5cb80698 and 8e5851f070 to use LLVM 9.

Gbp-Pq: Name llvm-9.patch

5 years agoAllow unregisterised ghc-8.6 to build newer GHC
Debian Haskell Group [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
Allow unregisterised ghc-8.6 to build newer GHC

Commit af9b744bbf1 introduced a regression stopping existing unregisterised
compilers from being able to compile newer versions of GHC. The problem is
that the bootstrap compiler uses the newer `includes/stg/MiscClosures.h` file
where some defines have been renamed, resulting in the following error:
.
 error: ‘stg_atomicModifyMutVarzh’ undeclared (first use in this function); did you mean ‘stg_atomicModifyMutVar2zh’?
.
 For more information, see https://gitlab.haskell.org/ghc/ghc/issues/17111.
.
 This patch can be removed, once ghc-8.6 is no longer the bootstrap compiler.
Author: Ilias Tsitsimpis <iliastsi@debian.org>
Bug: https://gitlab.haskell.org/ghc/ghc/issues/17111

Gbp-Pq: Name fix-build-using-unregisterised-v8.6

5 years agolocal-mathjax
Debian Haskell Group [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
local-mathjax

Gbp-Pq: Name local-mathjax

5 years agoAdd kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4
Svante Signell [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
Add kfreebsdgnu to GHC_CONVERT_OS in aclocal.m4

Bug-Debian: https://bugs.debian.org/913140

Gbp-Pq: Name kfreebsd-aclocal.m4

5 years agoUse the stage1 binaries for install
John Paul Adrian Glaubitz [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
Use the stage1 binaries for install

Last-Update: 2017-01-29

In order to be able to perform a cross-build, we need to use
the stage1 binaries during installation. Both ghc and ghc-pkg
are run during the install target and therefore must be able
to run on the build machine.

Gbp-Pq: Name use-stage1-binaries-for-install.patch

5 years agoUse native x86_64 instructions on x32
Debian Haskell Group [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
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

5 years agobuildpath-abi-stability
Debian Haskell Group [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
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

5 years agoDo not emit a warning if the .haddock file is missing
Joachim Breitner [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
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

5 years agoUse VFPv3-D16 FPU for ARM builds
Jani Monoses [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
Use VFPv3-D16 FPU for ARM builds

Upstream-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914
Launchpad-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

5 years agouse-debian-gen_contents_index
Debian Haskell Group [Fri, 31 Jul 2020 15:48:26 +0000 (16:48 +0100)]
use-debian-gen_contents_index

===================================================================

Gbp-Pq: Name use-debian-gen_contents_index