[GHC] #8301: error BaseReg must be in a register for THREADED_RTS
GHC
ghc-devs
Sat Oct 12 03:01:58 UTC 2013
#8301: error BaseReg must be in a register for THREADED_RTS
----------------------------------------+-----------------------------
Reporter: erikd | Owner: simonmar
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
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 root of this problem is the following error assertion:
{{{
#if defined(THREADED_RTS) && !defined(NOSMP)
#error BaseReg must be in a register for THREADED_RTS
#endif
}}}
which then causes a cascade of undefined identifier errors.
The fix is to come up with a valid way to define `BaseReg` for this case.
Unfortunately how to do that is not obvious to me at the moment.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8301#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list