From 830d300c3fb987f5030813975b1475e73a82120d Mon Sep 17 00:00:00 2001 From: pho Date: Thu, 5 Feb 2015 00:59:10 +0000 Subject: Add upstream Trac URL to patches/patch-rts_StgCRun.c --- lang/ghc7/TODO | 2 -- lang/ghc7/distinfo | 4 ++-- lang/ghc7/patches/patch-rts_StgCRun.c | 4 +++- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lang/ghc7') diff --git a/lang/ghc7/TODO b/lang/ghc7/TODO index b0af4873ebe..94f4a971312 100644 --- a/lang/ghc7/TODO +++ b/lang/ghc7/TODO @@ -13,8 +13,6 @@ wip/ghc TODO * ``BZIP2FLAGS`` * ``XZFLAGS`` -* Let ``./configure`` check for broken binutils and provide a better - fix for ``patch-rts_StgCRun.c``. * Build more bootstrapping compilers to support more platforms. diff --git a/lang/ghc7/distinfo b/lang/ghc7/distinfo index 2b0e90703b5..c0dd5989fbc 100644 --- a/lang/ghc7/distinfo +++ b/lang/ghc7/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2015/02/04 06:53:18 pho Exp $ +$NetBSD: distinfo,v 1.6 2015/02/05 00:59:10 pho Exp $ SHA1 (ghc-7.6.3-src.tar.bz2) = 8938e1ef08b37a4caa071fa169e79a3001d065ff RMD160 (ghc-7.6.3-src.tar.bz2) = 82a673ed38b7cf9a59afeb01057625fc761a822b @@ -12,5 +12,5 @@ SHA1 (patch-libraries_integer-simple_GHC_Integer_Type.hs) = b3140e169726f78f6d3b SHA1 (patch-libraries_unix_System_Posix_Files.hsc) = f2e0892f9ebb9d82ddaf71b014d9af33967848dc SHA1 (patch-mk_config.mk.in) = 90a156f6c455d4b2c5d10fdf65b3a170dcfc4892 SHA1 (patch-rts_Linker.c) = 39d1ca7a856a3ec25e493e97832ef255562c0719 -SHA1 (patch-rts_StgCRun.c) = dcbc883cb4826aeccac0be09647b7889c7809271 +SHA1 (patch-rts_StgCRun.c) = 5d4010dc250af25db0b5b2717c510752f4813e73 SHA1 (patch-rts_ghc.mk) = ad6f2e7dccc3027c7770164bfdab066cbfef3a6d diff --git a/lang/ghc7/patches/patch-rts_StgCRun.c b/lang/ghc7/patches/patch-rts_StgCRun.c index 849971ca85b..1ed9b60767f 100644 --- a/lang/ghc7/patches/patch-rts_StgCRun.c +++ b/lang/ghc7/patches/patch-rts_StgCRun.c @@ -1,4 +1,4 @@ -$NetBSD: patch-rts_StgCRun.c,v 1.1 2013/12/12 12:47:17 obache Exp $ +$NetBSD: patch-rts_StgCRun.c,v 1.2 2015/02/05 00:59:10 pho Exp $ We have to make the visiblity of StgRun and StgReturn to "hidden" not to trigger a bug in old binutils which results in: @@ -10,6 +10,8 @@ to trigger a bug in old binutils which results in: With this workaround we can no longer override those two symbols using LD_PRELOAD, but I think there is no reason to do so anyway. +This has already been fixed in the upstream: +https://ghc.haskell.org/trac/ghc/ticket/7813 --- rts/StgCRun.c.orig 2013-01-27 13:21:52.000000000 +0000 +++ rts/StgCRun.c -- cgit v1.2.3