ghc.git
9 years agoMerge ghc (8.0.1-17) import into refs/heads/workingbranch
Clint Adams [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
Merge ghc (8.0.1-17) import into refs/heads/workingbranch

8 years agoMerge ghc (8.0.1-14) import into refs/heads/workingbranch
Raspbian Automatic git importer [Thu, 22 Dec 2016 06:09:12 +0000 (06:09 +0000)]
Merge ghc (8.0.1-14) import into refs/heads/workingbranch

8 years agoMerge ghc (7.10.3-10) import into refs/heads/workingbranch
Raspbian Automatic git importer [Thu, 22 Dec 2016 06:09:59 +0000 (06:09 +0000)]
Merge ghc (7.10.3-10) import into refs/heads/workingbranch

8 years agoMerge ghc (7.10.3-9) import into refs/heads/workingbranch
Raspbian Automatic git importer [Thu, 22 Dec 2016 06:09:15 +0000 (06:09 +0000)]
Merge ghc (7.10.3-9) import into refs/heads/workingbranch

8 years agoMerge ghc (7.6.3-21) import into refs/heads/workingbranch
Raspbian Automatic git importer [Thu, 22 Dec 2016 06:09:51 +0000 (06:09 +0000)]
Merge ghc (7.6.3-21) import into refs/heads/workingbranch

9 years agoAdd relocation type R_X86_64_REX_GOTPCRELX
Tamar Christina [Sun, 5 Jun 2016 07:59:05 +0000 (09:59 +0200)]
Add relocation type R_X86_64_REX_GOTPCRELX

Summary:
Adding support for the `R_X86_64_REX_GOTPCRELX` relocation type.
This relocation is treated by the linker the same as the `R_X86_64_GOTPCRELX` type
`G + GOT + A - P` to generate relative offsets to the GOT.
The `REX` prefix has no influence in this stage.

This is based on https://github.com/hjl-tools/x86-psABI/wiki/x86-64-psABI-r252.pdf

Test Plan: ./validate

Reviewers: erikd, austin, bgamari, simonmar

Reviewed By: erikd

Subscribers: thomie, #ghc_windows_task_force

Differential Revision: https://phabricator.haskell.org/D2303

GHC Trac Issues: #12147

Gbp-Pq: Name R_X86_64_REX_GOTPCRELX

9 years agosmp-arm-fix
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
smp-arm-fix

Gbp-Pq: Name smp-arm-fix.patch

9 years agoosdecommitmemory-compat
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
osdecommitmemory-compat

Gbp-Pq: Name osdecommitmemory-compat.patch

9 years agoPPC/CodeGen: fix lwa instruction generation
Peter Trommler [Sat, 1 Oct 2016 21:56:31 +0000 (17:56 -0400)]
PPC/CodeGen: fix lwa instruction generation

Opcode lwa is a 64-bit opcode and allows a DS-form only.  This patch
generates lwa opcodes only when the offset is a multiple of 4.

Fixes #12621

Test Plan: validate

Reviewers: erikd, hvr, simonmar, austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2547

GHC Trac Issues: #12621

Gbp-Pq: Name fix-ppc-lwa-generation

9 years agox32-use-native-x86_64-insn
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
x32-use-native-x86_64-insn

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

9 years agoGet linker flags correctly from GHC ≥ 7.8
Anders Kaseorg [Thu, 19 May 2016 07:18:02 +0000 (03:18 -0400)]
Get linker flags correctly from GHC ≥ 7.8

GHC 7.8 renamed "Gcc Linker flags" to "C compiler link flags" and "Ld
Linker flags" to "ld flags"
(https://ghc.haskell.org/trac/ghc/ticket/4862).

Without this corresponding fix in Cabal, the old-time package fails to
compile on Ubuntu yakkety amd64, where the system GCC now defaults to
-pie and GHC has

    $ ghc --info | grep -i pie
     ,("C compiler flags","-fno-PIE -fno-stack-protector")
     ,("C compiler link flags","-no-pie")
     ,("ld flags","-no-pie")

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit c993a0c6660aa10d8c79ed0cc4961c59acfc91c8)

Gbp-Pq: Name get-linker-flags-correctly

9 years agocompiler-cmm-PprC-sparc-alignment
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
compiler-cmm-PprC-sparc-alignment

Gbp-Pq: Name compiler-cmm-PprC-sparc-alignment.patch

9 years agoAvoid find_tycon panic if datacon is not in scope
Adam Gundry [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
Avoid find_tycon panic if datacon is not in scope

When using TH to splice expressions involving record field construction,
the parent datacon may not be in scope.  We shouldn't panic about this,
because we will be renaming Exact RdrNames which don't require any
disambiguation.

Reviewers: austin, bgamari
Reviewed By: bgamari
Differential Revision: https://phabricator.haskell.org/D2321
GHC Trac Issues: #12130

Origin: upstream, https://git.haskell.org/ghc.git/commitdiff/694e0f3a08030

Gbp-Pq: Name find-tycon-panic

9 years agono-pie
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
no-pie

Gbp-Pq: Name no-pie

9 years agoStgCmmPrim: Add missing MO_WriteBarrier
Ben Gamari [Wed, 31 Aug 2016 01:08:05 +0000 (21:08 -0400)]
StgCmmPrim: Add missing MO_WriteBarrier

StgCmmPrim: Add missing MO_WriteBarrier

Test Plan: Good question

Reviewers: austin, trommler, simonmar, rrnewton

Reviewed By: simonmar

Subscribers: RyanGlScott, thomie

Differential Revision: https://phabricator.haskell.org/D2495

GHC Trac Issues: #12469

(cherry picked from commit d40d6df74a9fca382a84709ac9bc862897fbec18)

Gbp-Pq: Name add-missing-MO_WriteBarrier

9 years agodo-not-use-SHELL
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
do-not-use-SHELL

Gbp-Pq: Name do-not-use-SHELL

9 years agoreproducible-tmp-names
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
reproducible-tmp-names

This is an attempt to make GHC build reproducible. The name of .c files may end
up in the resulting binary (in the debug section), but not the directory.

Instead of using the process id, create a hash from the command line arguments,
and assume that is going to be unique.

Gbp-Pq: Name reproducible-tmp-names

9 years agobuildpath-abi-stability
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
buildpath-abi-stability

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

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

9 years agohurd
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
hurd

Provided by “Pino” via Samuel Thibault. Not yet pushed upstream.

Gbp-Pq: Name hurd.diff

9 years agono-missing-haddock-file-warning
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
no-missing-haddock-file-warning

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

9 years agoARM-VFPv3D16
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
ARM-VFPv3D16

Gbp-Pq: Name ARM-VFPv3D16

9 years agouse-debian-gen_contents_index
Debian Haskell Group [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
use-debian-gen_contents_index

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

Gbp-Pq: Name use-debian-gen_contents_index

9 years agoghc (8.0.1-17) unstable; urgency=medium
Clint Adams [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
ghc (8.0.1-17) unstable; urgency=medium

  * Add upstream patch "Add relocation type R_X86_64_REX_GOTPCRELX".

[dgit import unpatched ghc 8.0.1-17]

9 years agoImport ghc_8.0.1-17.debian.tar.xz
Clint Adams [Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)]
Import ghc_8.0.1-17.debian.tar.xz

[dgit import tarball ghc 8.0.1-17 ghc_8.0.1-17.debian.tar.xz]

9 years agoPPC/CodeGen: fix lwa instruction generation
Peter Trommler [Sat, 1 Oct 2016 21:56:31 +0000 (17:56 -0400)]
PPC/CodeGen: fix lwa instruction generation

Opcode lwa is a 64-bit opcode and allows a DS-form only.  This patch
generates lwa opcodes only when the offset is a multiple of 4.

Fixes #12621

Test Plan: validate

Reviewers: erikd, hvr, simonmar, austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2547

GHC Trac Issues: #12621

Gbp-Pq: Name fix-ppc-lwa-generation

9 years agox32-use-native-x86_64-insn
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
x32-use-native-x86_64-insn

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

9 years agoGet linker flags correctly from GHC ≥ 7.8
Anders Kaseorg [Thu, 19 May 2016 07:18:02 +0000 (03:18 -0400)]
Get linker flags correctly from GHC ≥ 7.8

GHC 7.8 renamed "Gcc Linker flags" to "C compiler link flags" and "Ld
Linker flags" to "ld flags"
(https://ghc.haskell.org/trac/ghc/ticket/4862).

Without this corresponding fix in Cabal, the old-time package fails to
compile on Ubuntu yakkety amd64, where the system GCC now defaults to
-pie and GHC has

    $ ghc --info | grep -i pie
     ,("C compiler flags","-fno-PIE -fno-stack-protector")
     ,("C compiler link flags","-no-pie")
     ,("ld flags","-no-pie")

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit c993a0c6660aa10d8c79ed0cc4961c59acfc91c8)

Gbp-Pq: Name get-linker-flags-correctly

9 years agocompiler-cmm-PprC-sparc-alignment
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
compiler-cmm-PprC-sparc-alignment

Gbp-Pq: Name compiler-cmm-PprC-sparc-alignment.patch

9 years agoAvoid find_tycon panic if datacon is not in scope
Adam Gundry [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
Avoid find_tycon panic if datacon is not in scope

When using TH to splice expressions involving record field construction,
the parent datacon may not be in scope.  We shouldn't panic about this,
because we will be renaming Exact RdrNames which don't require any
disambiguation.

Reviewers: austin, bgamari
Reviewed By: bgamari
Differential Revision: https://phabricator.haskell.org/D2321
GHC Trac Issues: #12130

Origin: upstream, https://git.haskell.org/ghc.git/commitdiff/694e0f3a08030

Gbp-Pq: Name find-tycon-panic

9 years agono-pie
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
no-pie

Gbp-Pq: Name no-pie

9 years agoStgCmmPrim: Add missing MO_WriteBarrier
Ben Gamari [Wed, 31 Aug 2016 01:08:05 +0000 (21:08 -0400)]
StgCmmPrim: Add missing MO_WriteBarrier

StgCmmPrim: Add missing MO_WriteBarrier

Test Plan: Good question

Reviewers: austin, trommler, simonmar, rrnewton

Reviewed By: simonmar

Subscribers: RyanGlScott, thomie

Differential Revision: https://phabricator.haskell.org/D2495

GHC Trac Issues: #12469

(cherry picked from commit d40d6df74a9fca382a84709ac9bc862897fbec18)

Gbp-Pq: Name add-missing-MO_WriteBarrier

9 years agodo-not-use-SHELL
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
do-not-use-SHELL

Gbp-Pq: Name do-not-use-SHELL

9 years agoreproducible-tmp-names
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
reproducible-tmp-names

This is an attempt to make GHC build reproducible. The name of .c files may end
up in the resulting binary (in the debug section), but not the directory.

Instead of using the process id, create a hash from the command line arguments,
and assume that is going to be unique.

Gbp-Pq: Name reproducible-tmp-names

9 years agobuildpath-abi-stability
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
buildpath-abi-stability

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

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

9 years agohurd
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
hurd

Provided by “Pino” via Samuel Thibault. Not yet pushed upstream.

Gbp-Pq: Name hurd.diff

9 years agono-missing-haddock-file-warning
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
no-missing-haddock-file-warning

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

9 years agoARM-VFPv3D16
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
ARM-VFPv3D16

Gbp-Pq: Name ARM-VFPv3D16

9 years agouse-debian-gen_contents_index
Debian Haskell Group [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
use-debian-gen_contents_index

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

Gbp-Pq: Name use-debian-gen_contents_index

9 years agoghc (8.0.1-14) unstable; urgency=medium
Clint Adams [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
ghc (8.0.1-14) unstable; urgency=medium

  * Upload to unstable.

[dgit import unpatched ghc 8.0.1-14]

9 years agoImport ghc_8.0.1-14.debian.tar.xz
Clint Adams [Mon, 14 Nov 2016 16:35:40 +0000 (16:35 +0000)]
Import ghc_8.0.1-14.debian.tar.xz

[dgit import tarball ghc 8.0.1-14 ghc_8.0.1-14.debian.tar.xz]

9 years agoStgCmmPrim: Add missing MO_WriteBarrier
Ben Gamari [Wed, 31 Aug 2016 01:08:05 +0000 (21:08 -0400)]
StgCmmPrim: Add missing MO_WriteBarrier

StgCmmPrim: Add missing MO_WriteBarrier

Test Plan: Good question

Reviewers: austin, trommler, simonmar, rrnewton

Reviewed By: simonmar

Subscribers: RyanGlScott, thomie

Differential Revision: https://phabricator.haskell.org/D2495

GHC Trac Issues: #12469

(cherry picked from commit d40d6df74a9fca382a84709ac9bc862897fbec18)

Gbp-Pq: Name add-missing-MO_WriteBarrier

9 years agoPPC: Implement SMP primitives using gcc built-ins
Peter Trommler [Mon, 16 May 2016 11:19:09 +0000 (13:19 +0200)]
PPC: Implement SMP primitives using gcc built-ins

PPC: Implement SMP primitives using gcc built-ins

The SMP primitives were missing appropriate memory barriers
(sync, isync instructions) on all PowerPCs.

Use the built-ins _sync_* provided by gcc and clang. This
reduces code size significantly.

Remove broken mark for concprog001 on powerpc64. The referenced
ticket number (11259) was wrong.

Test Plan: validate on powerpc and ARM

Reviewers: erikd, austin, simonmar, bgamari, hvr

Reviewed By: bgamari, hvr

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2225

GHC Trac Issues: #12070

(cherry picked from commit 563a4857abcee4a6e43c68323274309c58f42aa0)

Gbp-Pq: Name ppc-smp-primitives

9 years agodo-not-use-SHELL
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
do-not-use-SHELL

Gbp-Pq: Name do-not-use-SHELL

9 years agosparc64-initial-platform-support
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
sparc64-initial-platform-support

Gbp-Pq: Name sparc64-initial-platform-support.patch

9 years agosh4-platform-detection-support
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
sh4-platform-detection-support

Gbp-Pq: Name sh4-platform-detection-support.patch

9 years agocabal-show-detail-direct
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
cabal-show-detail-direct

commit 3792d212a6f60573ef43dd72088a353725d09461
Author: Joachim Breitner <mail@joachim-breitner.de>
Date:   Thu Nov 5 11:31:12 2015 +0100

    test: New mode --show-details=direct

    This mode implements #2911, and allows to connect the test runner
    directly to stdout/stdin. This is more reliable in the presence of no
    threading, i.e. a work-arond for #2398.

    I make the test suite use this, so that it passes again, despite
    printing lots of stuff. Once #2398 is fixed properly, the test suite
    should probably be extended to test all the various --show-details
    modes.

Gbp-Pq: Name cabal-show-detail-direct.patch

9 years agoreproducible-tmp-names
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
reproducible-tmp-names

This is an attempt to make GHC build reproducible. The name of .c files may end
up in the resulting binary (in the debug section), but not the directory.

Instead of using the process id, create a hash from the command line arguments,
and assume that is going to be unique.

Gbp-Pq: Name reproducible-tmp-names

9 years agobuildpath-abi-stability
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
buildpath-abi-stability

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

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

9 years agohurd
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
hurd

Provided by “Pino” via Samuel Thibault. Not yet pushed upstream.

Gbp-Pq: Name hurd.diff

9 years agono-missing-haddock-file-warning
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
no-missing-haddock-file-warning

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

9 years agoARM-VFPv3D16
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
ARM-VFPv3D16

Gbp-Pq: Name ARM-VFPv3D16

9 years agouse-debian-gen_contents_index
Debian Haskell Group [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
use-debian-gen_contents_index

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

Gbp-Pq: Name use-debian-gen_contents_index

9 years agoghc (7.10.3-10) unstable; urgency=medium
Clint Adams [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
ghc (7.10.3-10) unstable; urgency=medium

  [ Balint Reczey ]
  * Disable PIE to fix build when PIE is the default in gcc
    (change taken/revised from Ubuntu, Closes: #712228)

  [ Clint Adams ]
  * Backport upstream 563a4857abcee4a6e43c68323274309c58f42aa0 to use gcc's
    SMP primitives instead of GHC's broken ones.
  * Backport upstream 7053019e7b04842dd7364039381d8c4c069489a2 to add a
    missing MO_WriteBarrier to emitPrimOp.

[dgit import unpatched ghc 7.10.3-10]

9 years agoImport ghc_7.10.3-10.debian.tar.xz
Clint Adams [Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)]
Import ghc_7.10.3-10.debian.tar.xz

[dgit import tarball ghc 7.10.3-10 ghc_7.10.3-10.debian.tar.xz]

9 years agodo-not-use-SHELL
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
do-not-use-SHELL

Gbp-Pq: Name do-not-use-SHELL

9 years agosparc64-initial-platform-support
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
sparc64-initial-platform-support

Gbp-Pq: Name sparc64-initial-platform-support.patch

9 years agosh4-platform-detection-support
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
sh4-platform-detection-support

Gbp-Pq: Name sh4-platform-detection-support.patch

9 years agocabal-show-detail-direct
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
cabal-show-detail-direct

commit 3792d212a6f60573ef43dd72088a353725d09461
Author: Joachim Breitner <mail@joachim-breitner.de>
Date:   Thu Nov 5 11:31:12 2015 +0100

    test: New mode --show-details=direct

    This mode implements #2911, and allows to connect the test runner
    directly to stdout/stdin. This is more reliable in the presence of no
    threading, i.e. a work-arond for #2398.

    I make the test suite use this, so that it passes again, despite
    printing lots of stuff. Once #2398 is fixed properly, the test suite
    should probably be extended to test all the various --show-details
    modes.

Gbp-Pq: Name cabal-show-detail-direct.patch

9 years agoreproducible-tmp-names
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
reproducible-tmp-names

This is an attempt to make GHC build reproducible. The name of .c files may end
up in the resulting binary (in the debug section), but not the directory.

Instead of using the process id, create a hash from the command line arguments,
and assume that is going to be unique.

Gbp-Pq: Name reproducible-tmp-names

9 years agobuildpath-abi-stability
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
buildpath-abi-stability

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

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

9 years agohurd
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
hurd

Provided by “Pino” via Samuel Thibault. Not yet pushed upstream.

Gbp-Pq: Name hurd.diff

9 years agono-missing-haddock-file-warning
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
no-missing-haddock-file-warning

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

9 years agoARM-VFPv3D16
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
ARM-VFPv3D16

Gbp-Pq: Name ARM-VFPv3D16

9 years agouse-debian-gen_contents_index
Debian Haskell Group [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
use-debian-gen_contents_index

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

Gbp-Pq: Name use-debian-gen_contents_index

9 years agoghc (7.10.3-9) unstable; urgency=medium
Joachim Breitner [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
ghc (7.10.3-9) unstable; urgency=medium

  * Improve debian/watch file.

[dgit import unpatched ghc 7.10.3-9]

9 years agoImport ghc_7.10.3-9.debian.tar.xz
Joachim Breitner [Mon, 23 May 2016 14:12:09 +0000 (14:12 +0000)]
Import ghc_7.10.3-9.debian.tar.xz

[dgit import tarball ghc 7.10.3-9 ghc_7.10.3-9.debian.tar.xz]

9 years agoImport ghc_8.0.1.orig.tar.xz
Joachim Breitner [Sat, 21 May 2016 15:03:18 +0000 (15:03 +0000)]
Import ghc_8.0.1.orig.tar.xz

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

10 years agoImport ghc_7.10.3.orig.tar.xz
Clint Adams [Thu, 3 Dec 2015 15:38:40 +0000 (15:38 +0000)]
Import ghc_7.10.3.orig.tar.xz

[dgit import orig ghc_7.10.3.orig.tar.xz]

10 years agoppc64el
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
ppc64el

Gbp-Pq: Name ppc64el.patch

10 years agoarm64
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
arm64

Gbp-Pq: Name arm64.patch

10 years agobit-big-endian
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
bit-big-endian

commit a4b1a43542b11d09dd3b603d82c5a0e99da67d74
Author: Austin Seipp <austin@well-typed.com>
Date:   Fri Nov 1 22:17:01 2013 -0500

    Fix loop on 64bit Big-Endian platforms (#8134)

    This is a fun one.

    In the RTS, `cas` expects a pointer to StgWord which will translate to
    unsigned long (8 bytes under LP64.) But we had previously declared
    token_locked as *StgBool* - which evaluates to 'int' (4 bytes under
    LP64.) That means we fail to provide enough storage for the cas
    primitive, causing it to corrupt memory on a 64bit platform.

    Hilariously, this somehow did not affect little-endian platforms (ARM,
    x86, etc) before. That's because to clear our lock token, we would say:

        token_locked = 0;

    But because token_locked is 32bits technically, this only writes to
    half of the 64bit quantity. On a Big-Endian machine, this won't do
    anything. That is, token_locked starts as 0:

     / token_locked
     |
     v
     0x00000000

    and the first cas modifies the memory to:

     / valid    / corrupted
     |          |
     v          v
     0x00000000 0x00000001

    We then clear token_locked, but this doesn't change the corrupted 4
    bytes of memory. And then we try to lock the token again, spinning until
    it is released - clearly a deadlock.

    Related: Windows (amd64) doesn't follow LP64, but LLP64, where both
    int and long are 4 bytes, so this shouldn't change anything on these
    platforms.

    Thanks to Reid Barton for helping the diagnosis. Also, thanks to Jens
    Peterson who confirmed this also fixes building GHC on Fedora/ppc64 and
    Fedora/s390x.

Authored-by: Gustavo Luiz Duarte <gustavold@linux.vnet.ibm.com>
Signed-off-by: Austin Seipp <austin@well-typed.com>
Gbp-Pq: Name 64-bit-big-endian

10 years agoAvoid generating empty llvm.used definitions.
Geoffrey Mainland [Wed, 12 Jun 2013 12:31:49 +0000 (13:31 +0100)]
Avoid generating empty llvm.used definitions.

Avoid generating empty llvm.used definitions.

LLVM 3.3rc3 complains when the llvm.used global is an empty array, so don't
define llvm.used at all when it would be empty.

Gbp-Pq: Name llvm-3.3-compat

10 years agoHandle sign bit when generating veneer for ARM Thumb branch relocation
Colin Watson [Mon, 8 Apr 2013 23:02:27 +0000 (00:02 +0100)]
Handle sign bit when generating veneer for ARM Thumb branch relocation

Gbp-Pq: Name Handle-sign-bit-when-generating-veneer-for-ARM-Thumb.patch

10 years agono-missing-haddock-file-warning
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
no-missing-haddock-file-warning

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

10 years agoARM-VFPv3D16
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
ARM-VFPv3D16

Gbp-Pq: Name ARM-VFPv3D16

10 years agouse-debian-gen_contents_index
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
use-debian-gen_contents_index

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

Gbp-Pq: Name use-debian-gen_contents_index

10 years agohaddock-hardcode-ghc-paths
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
haddock-hardcode-ghc-paths

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

Gbp-Pq: Name haddock-hardcode-ghc-paths

10 years agosystem-libffi
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
system-libffi

This patch could be replaced by a configure call if
http://hackage.haskell.org/trac/ghc/ticket/5743 were fixed.

Gbp-Pq: Name system-libffi

10 years agocabal-bug-1087
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
cabal-bug-1087

 Preprocessed files would be written to dist/build instead of
 dist/build/my-test-suite/my-test-suite-tmp, causing them not to be
 found during compilation.

 Fixes #1087.
Author: Johan Tibell <johan.tibell@gmail.com>
Origin: https://github.com/haskell/cabal/commit/dd691fa6791d67981388ec044b28343879d8c2b1

Gbp-Pq: Name cabal-bug-1087.patch

10 years agoghc-ignore-ANN-annotation
Debian Haskell Group [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
ghc-ignore-ANN-annotation

Gbp-Pq: Name ghc-ignore-ANN-annotation.patch

10 years agoghc (7.6.3-21) unstable; urgency=medium
Joachim Breitner [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
ghc (7.6.3-21) unstable; urgency=medium

  * Fix watch file.
  * Let ghc-haddock break on ghc-doc (<< 7.6.3-20~). If I used piuparts
    correctly, this finally closes: #781649.

[dgit import unpatched ghc 7.6.3-21]

10 years agoImport ghc_7.6.3-21.debian.tar.xz
Joachim Breitner [Wed, 1 Apr 2015 11:35:10 +0000 (11:35 +0000)]
Import ghc_7.6.3-21.debian.tar.xz

[dgit import tarball ghc 7.6.3-21 ghc_7.6.3-21.debian.tar.xz]

12 years agoImport ghc_7.6.3.orig.tar.bz2
Joachim Breitner [Sun, 21 Apr 2013 17:12:24 +0000 (17:12 +0000)]
Import ghc_7.6.3.orig.tar.bz2

[dgit import orig ghc_7.6.3.orig.tar.bz2]

13 years agono-useless-timer
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
no-useless-timer

commit a73d0a21c875ff539c2240e431eaf87173a92bd3
Author: Ian Lynagh <igloo@earth.li>
Date:   Sun Jan 15 19:21:38 2012 +0000

    Fix a #define

    I don't think it was causing any problems, but
        TimeToUS(x+y)
    would have evaluated to
        x + (y / 1000)

    MERGED from commit 54121fffb5ee069d9b7a5628104ff1114ea87182

    On the 7.4 branch, this was causing a wrong conversion in
    getDelayTarget.

Signed-off-by: Paolo Capriotti <p.capriotti@gmail.com>
Gbp-Pq: Name no-useless-timer

13 years agoPPC: Handle right shift of > 31 bits. Fix #5900.
Erik de Castro Lopo [Sat, 16 Jun 2012 15:48:05 +0000 (10:48 -0500)]
PPC: Handle right shift of > 31 bits. Fix #5900.

Gbp-Pq: Name fix-PPC-right-shift-bug

13 years agomemcpy-ffi
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
memcpy-ffi

commit 40c1106c338e209f07023d165f32bff0f75e2e54
Author: Paolo Capriotti <p.capriotti@gmail.com>
Date:   Wed May 2 15:24:46 2012 +0100
Description:
    Cast memory primops in the C backend (#5976)

    To prevent conflicts with GCC builtins, generate identical code for
    calls to mem primos and FFI calls.

    Based on a patch by Joachim Breitner.
Bug: http://hackage.haskell.org/trac/ghc/ticket/5967
Origin: http://hackage.haskell.org/trac/ghc/changeset/40c1106c338e209f07023d165f32bff0f75e2e54

Gbp-Pq: Name memcpy-ffi.patch

13 years agono-missing-haddock-file-warning
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
no-missing-haddock-file-warning

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

13 years agohurd-is-ELF
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
hurd-is-ELF

Gbp-Pq: Name hurd-is-ELF

13 years agoARM-VFPv3D16
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
ARM-VFPv3D16

Gbp-Pq: Name ARM-VFPv3D16

13 years agoarmhf_llvm_abi
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
armhf_llvm_abi

Gbp-Pq: Name armhf_llvm_abi

13 years agouse-llvm-3.0
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
use-llvm-3.0

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

Gbp-Pq: Name use-llvm-3.0

13 years agono_ghci_on_powerpc
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
no_ghci_on_powerpc

Gbp-Pq: Name no_ghci_on_powerpc

13 years agohaddock-no-library
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
haddock-no-library

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

Gbp-Pq: Name haddock-no-library

13 years agouse-debian-gen_contents_index
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
use-debian-gen_contents_index

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

Gbp-Pq: Name use-debian-gen_contents_index

13 years agohaddock-hardcode-ghc-paths
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
haddock-hardcode-ghc-paths

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

Gbp-Pq: Name haddock-hardcode-ghc-paths

13 years agosystem-libffi
Debian Haskell Group [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
system-libffi

This patch could be replaced by a configure call if
http://hackage.haskell.org/trac/ghc/ticket/5743 were fixed.

Gbp-Pq: Name system-libffi

13 years agofix ARM StgCRun to not save and restore r11/fp register twice
Karel Gardas [Tue, 14 Feb 2012 07:03:07 +0000 (08:03 +0100)]
fix ARM StgCRun to not save and restore r11/fp register twice

Gbp-Pq: Name fix-ARM-StgCRun-to-not-save-and-restore-r11-fp-regis

13 years agofix ARM's StgCRun clobbered register list for both ARM and Thumb modes
Karel Gardas [Tue, 14 Feb 2012 07:01:47 +0000 (08:01 +0100)]
fix ARM's StgCRun clobbered register list for both ARM and Thumb modes

Gbp-Pq: Name fix-ARM-s-StgCRun-clobbered-register-list-for-both-A

13 years agoghc (7.4.1-4) unstable; urgency=low
Joachim Breitner [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
ghc (7.4.1-4) unstable; urgency=low

  [ Erik de Castro Lopo ]
  * Add debian/patches/fix-PPC-right-shift-bug which fixes upstream GHC bug:
    http://hackage.haskell.org/trac/ghc/ticket/6156 (Closes: #677591)
  * Refresh other patches.
  * debian/contol: Add myself to uploaders and set DM-Upload-Allowed to yes.

  [ Joachim Breitner ]
  * debian/patches/no-useless-timer: Backported from GHC 7.4.2, (Closes:
    #677096)
  * Make sure GHC is using ld.bfd, as it passes arguments not understood by
    the gold linker (Closes: #673081)
  * Use a saner priority for the runhaskell alternative. (Closes: #676970).
    TODO for later: Consider removing the alternatives code altogether.

[dgit import unpatched ghc 7.4.1-4]

13 years agoImport ghc_7.4.1-4.debian.tar.gz
Joachim Breitner [Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)]
Import ghc_7.4.1-4.debian.tar.gz

[dgit import tarball ghc 7.4.1-4 ghc_7.4.1-4.debian.tar.gz]