[GHC] #8820: 7.8 RC1 unregisterised fails selfbootstrap on 64 bit Linux

#8820: 7.8 RC1 unregisterised fails selfbootstrap on 64 bit Linux ----------------------------------+---------------------------------------- Reporter: trommler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.1-rc1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Building GHC failed Unknown/Multiple | Test Case: Difficulty: Unknown | Blocking: Blocked By: | Related Tickets: #8819 | ----------------------------------+---------------------------------------- Selfbootstrap of an unregisterised ghc fails on 64 bit PowerPC and AMD but not on 32 bit (PowerPC or Intel): {{{ [10021s] "inplace/bin/ghc-stage1" -static -H32m -O -optc-mminimal-toc -optc-fno-builtin -Iincludes -Iincludes/dist -Iincludes/dist- derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -package-name rts -optc-DNOSMP -dcmm-lint -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/StgStartup.cmm -o rts/dist/build/StgStartup.o [10021s] ghc-stage1: panic! (the 'impossible' happened) [10021s] (GHC version 7.8.0.20140220 for powerpc64-unknown-linux): [10021s] no ppt [10021s] ct ct: _cj::P64 = P64[(old + 16)]; [10021s] _ck::P64 = R1; [10021s] goto cl; [10021s] [10021s] Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} I disabled gcc's built in functions through {{{-fno-builtin}}} which got rid of a load of warnings (incompatible types for the built-ins) but still fails as shown above. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8820 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8820: 7.8 RC1 unregisterised fails selfbootstrap on 64 bit Linux ----------------------------------------+---------------------------------- Reporter: trommler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: #8819 ----------------------------------------+---------------------------------- Comment (by thoughtpolice): Isn't this the same as #8748? If so, it's already fixed in RC2. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8820#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8820: 7.8 RC1 unregisterised fails selfbootstrap on 64 bit Linux ----------------------------------------+---------------------------------- Reporter: trommler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: #8819 ----------------------------------------+---------------------------------- Comment (by trommler): Replying to [comment:1 thoughtpolice]:
Isn't this the same as #8748? If so, it's already fixed in RC2. No it isn't. I'm at commit 8a2989c5df76712d5cd52ff918d4e6c1a741a90b and I managed to bootstrap RC2 up to that commit.
This ticket is about self-bootstrapping using RC2 which I did for openSUSE's ghc so far. IIRC a selfbootstrapped ghc is required because of ABI changes between releases. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8820#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8820: 7.8 RC1 unregisterised fails selfbootstrap on 64 bit Linux ----------------------------------------+---------------------------------- Reporter: trommler | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.8.1-rc1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: #8819 ----------------------------------------+---------------------------------- Changes (by trommler): * status: new => closed * resolution: => fixed Comment: This seems to be fixed in the official RC2. Selfbootstrap, however, fails now at a later step. I will close this ticket and file a new ticket against RC2. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8820#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC