[GHC] #9055: unregisterised build fails with: globalRegMaybe not defined for this platform
#9055: unregisterised build fails with: globalRegMaybe not defined for this platform -----------------------------------+--------------------------------------- Reporter: trommler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.9 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Compile-time crash Unknown/Multiple | Test Case: Difficulty: Unknown | Blocking: Blocked By: | Related Tickets: | -----------------------------------+--------------------------------------- Building HEAD fails with: {{{ make[1]: *** [rts/dist/build/Updates.o] Error 1 ghc-stage1: panic! (the 'impossible' happened) (GHC version 7.9.20140429 for powerpc64-unknown-linux): globalRegMaybe not defined for this platform }}} on Linux powerpc64 and x86_64 (unregisterised). -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9055> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9055: unregisterised build fails with: globalRegMaybe not defined for this platform ---------------------------------------+----------------------------------- Reporter: trommler | Owner: Type: bug | Status: new Priority: normal | Milestone: 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 trommler): I reverted changeset:83a003f and GHC does not panic anymore. I only tried that on x86_64. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9055#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9055: unregisterised build fails with: globalRegMaybe not defined for this platform ---------------------------------------+----------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: new Priority: normal | Milestone: 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: ---------------------------------------+----------------------------------- Changes (by trommler): * owner: => trommler Comment: Fix is coming. I am validating right now. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9055#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9055: unregisterised build fails with: globalRegMaybe not defined for this platform ---------------------------------------+----------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: patch Priority: normal | Milestone: 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: ---------------------------------------+----------------------------------- Changes (by trommler): * status: new => patch Comment: Validated attached patch on x86_64. Will do powerpc64 tonight. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9055#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9055: unregisterised build fails with: globalRegMaybe not defined for this platform ---------------------------------------+----------------------------------- Reporter: trommler | Owner: Type: bug | Status: patch Priority: normal | Milestone: 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: ---------------------------------------+----------------------------------- Changes (by trommler): * owner: trommler => -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9055#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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: ---------------------------------------+----------------------------------- Changes (by trommler): * milestone: => 7.10.1 Comment: We should merge this into 7.8.3 if changeset:83a003f goes in 7.8.3. For now I'm setting milestone to 7.10.1. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9055#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#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
#9055: unregisterised build fails with: globalRegMaybe not defined for this platform ---------------------------------------+----------------------------------- Reporter: trommler | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.1 Component: Compiler | Version: 7.9 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time crash | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ---------------------------------------+----------------------------------- Changes (by simonmar): * status: patch => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9055#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC