[GHC] #9055: unregisterised build fails with: globalRegMaybe not defined for this platform

GHC ghc-devs at haskell.org
Tue May 13 12:21:03 UTC 2014


#9055: unregisterised build fails with: globalRegMaybe not defined for this
platform
---------------------------------------+-----------------------------------
        Reporter:  trommler            |            Owner:
            Type:  bug                 |           Status:  patch
        Priority:  normal              |        Milestone:  7.10.1
       Component:  Compiler            |          Version:  7.9
      Resolution:                      |         Keywords:
Operating System:  Unknown/Multiple    |     Architecture:
 Type of failure:  Compile-time crash  |  Unknown/Multiple
       Test Case:                      |       Difficulty:  Unknown
        Blocking:                      |       Blocked By:
                                       |  Related Tickets:
---------------------------------------+-----------------------------------

Comment (by Simon Marlow <marlowsd@…>):

 In [changeset:"214ad2d24cda4aaef541df3e213d5c4845f95c71/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="214ad2d24cda4aaef541df3e213d5c4845f95c71"
 Fix globalRegMaybe for unregisterised build.

 In commit 83a003f globalRegMaybe will be called but panics
 for unregisterised compilers.

 In an unregisterised compiler there are no global registers
 so always return `Nothing`.

 Fixes #9055.
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9055#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list