[PATCH] make UNREG build as a platform with 0 hardware registers

2014-05-01 Thread slyich
From: Sergei Trofimovich sly...@gentoo.org 83a003fcaec93dbfd5b46837f2bf3353412b9877 introduced optimization which likes to know if a reg is a hardware reg via 'globalRegMaybe': But --enable-unregisterised does not define that function: ghc-stage1: panic! (the 'impossible' happened)

[PATCH] compiler/ghc.mk: restore GhcHcOpts variable handling

2014-02-15 Thread slyich
From: Sergei Trofimovich sly...@gentoo.org Signed-off-by: Sergei Trofimovich sly...@gentoo.org --- compiler/ghc.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 4977e28..d902b7f 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk

[PATCH] rts: unrust 'libbfd' debug symbols parser

2014-02-15 Thread slyich
From: Sergei Trofimovich sly...@gentoo.org Signed-off-by: Sergei Trofimovich sly...@gentoo.org --- configure.ac | 3 ++- rts/Printer.c| 10 -- rts/RtsStartup.c | 6 ++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index

[PATCH] includes/stg/SMP.h: use 'NOSMP' instead of never defined 'WITHSMP'

2014-02-15 Thread slyich
From: Sergei Trofimovich sly...@gentoo.org Signed-off-by: Sergei Trofimovich sly...@gentoo.org --- includes/stg/SMP.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/stg/SMP.h b/includes/stg/SMP.h index 01663dd..8d819c7 100644 --- a/includes/stg/SMP.h +++

[PATCH 2/2] System.IO.Unsafe: cleanup: make unsafeFixIO pseudocode more valid

2013-09-18 Thread slyich
From: Sergei Trofimovich sly...@gentoo.org Signed-off-by: Sergei Trofimovich sly...@gentoo.org --- System/IO/Unsafe.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/IO/Unsafe.hs b/System/IO/Unsafe.hs index 1971e9f..67068c5 100644 --- a/System/IO/Unsafe.hs +++

[PATCH 1/2] System.IO.Unsafe: fix doc typo: 'System.IO.IO' to 'System.IO'

2013-09-18 Thread slyich
From: Sergei Trofimovich sly...@gentoo.org Signed-off-by: Sergei Trofimovich sly...@gentoo.org --- System/IO/Unsafe.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/IO/Unsafe.hs b/System/IO/Unsafe.hs index eb6eef6..1971e9f 100644 --- a/System/IO/Unsafe.hs +++