[GHC] #8301: error BaseReg must be in a register for THREADED_RTS
GHC
ghc-devs at haskell.org
Sun Sep 15 00:44:52 CEST 2013
#8301: error BaseReg must be in a register for THREADED_RTS
----------------------------------------+-----------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: Linux | Architecture: powerpc64
Type of failure: Building GHC failed | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
----------------------------------------+-----------------------------
Comment (by erikd):
The code in question from includes/stg/Regs.h is:
{{{
#if defined(REG_Base) && !defined(NO_GLOBAL_REG_DECLS)
GLOBAL_REG_DECL(StgRegTable *,BaseReg,REG_Base)
#define ASSIGN_BaseReg(e) (BaseReg = (e))
#else
#if defined(THREADED_RTS) && !defined(NOSMP)
#error BaseReg must be in a register for THREADED_RTS
#endif
#define BaseReg (&((struct PartCapability_ *)MainCapability)->r)
#define ASSIGN_BaseReg(e) (e)
#endif
}}}
The git log suggests this file hasn't changed in over a year.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8301#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list