[commit: ghc] master: Fix #8009 : Failure to compile on powerpc64-linux. (ffe2e22)

Erik de Castro erikd at mega-nerd.com
Sat Jun 22 14:36:30 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/ffe2e22c11518994108f1f319764fe898e899086

>---------------------------------------------------------------

commit ffe2e22c11518994108f1f319764fe898e899086
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Sat Jun 22 22:00:01 2013 +1000

    Fix #8009 : Failure to compile on powerpc64-linux.
    
    Add definitions for stg_C_FINALIZER_LIST and n_capabilities.

>---------------------------------------------------------------

 includes/stg/MiscClosures.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index ca5280f..8717687 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -98,6 +98,7 @@ RTS_FUN(stg_BCO);
 RTS_ENTRY(stg_EVACUATED);
 RTS_ENTRY(stg_WEAK);
 RTS_ENTRY(stg_DEAD_WEAK);
+RTS_ENTRY(stg_C_FINALIZER_LIST);
 RTS_ENTRY(stg_STABLE_NAME);
 RTS_ENTRY(stg_MVAR_CLEAN);
 RTS_ENTRY(stg_MVAR_DIRTY);
@@ -483,6 +484,9 @@ extern StgWord      CCS_SYSTEM[];
 extern unsigned int RTS_VAR(CC_ID);            /* global ids */
 extern unsigned int RTS_VAR(CCS_ID);
 
+// Capability.c
+extern unsigned int n_capabilities;
+
 #endif
 
 #endif /* STGMISCCLOSURES_H */





More information about the ghc-commits mailing list