ghc.git
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]

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]