[GHC] #11773: linux/powepc : ghc-stage1 segfaults when building unregisterised

#11773: linux/powepc : ghc-stage1 segfaults when building unregisterised --------------------------------+---------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 Keywords: | Operating System: Unknown/Multiple Architecture: powerpc | Type of failure: Building GHC failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: --------------------------------+---------------------------------------- Building unregisterised to test code paths that don't get tested in the registerised compile mode. The segfault: {{{ "inplace/bin/ghc-stage1" -static -O -H64m -Wall -Iincludes -Iincludes/dist \ -Iincludes/dist-derivedconstants/header -Iincludes/dist- ghcconstants/header \ -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -optc-DNOSMP \ -dcmm-lint -i -irts -irts/dist/build -irts/dist/build/autogen \ -Irts/dist/build -Irts/dist/build/autogen -O2 -Wnoncanonical-monad- instances \ -c rts/StgStartup.cmm -o rts/dist/build/StgStartup.o }}} seems to occur on powerpc, but not on x86_64 or armhf. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11773 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11773: linux/powepc : ghc-stage1 segfaults when building unregisterised ----------------------------------------+------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------------+------------------------------- Comment (by erikd): If I add `-v2` to this command line I get: {{{ Created temporary directory: /tmp/ghc8899_0 *** C Compiler: *** ParseCmm [/tmp/ghc8899_0/ghc_1.cmmcpp]: !!! ParseCmm [/tmp/ghc8899_0/ghc_1.cmmcpp]: finished in 0.61 milliseconds, allocated 1.019 megabytes *** Deleting temp files: Warning: deleting non-existent /tmp/ghc8899_0/ghc_4.c Warning: deleting non-existent /tmp/ghc8899_0/ghc_3.hc *** Deleting temp dirs: ghc-stage1: panic! (the 'impossible' happened) (GHC version 8.1.20160330 for powerpc-unknown-linux): hscCmmFile: no_mod }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11773#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11773: linux/powepc : ghc-stage1 segfaults when building unregisterised ----------------------------------------+------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------------+------------------------------- Comment (by erikd): GHC 7.10 builds ungreisterised just fine. I then managed to track down the commit that introduced this, 4905b83a2d. Need to go over that with a fine toothed comb. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11773#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11773: linux/powepc : ghc-stage1 segfaults when building unregisterised ----------------------------------------+------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: #11784 | Differential Rev(s): Wiki Page: | ----------------------------------------+------------------------------- Changes (by erikd): * related: => #11784 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11773#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11773: linux/powepc : ghc-stage1 segfaults when building unregisterised ----------------------------------------+------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: #11784 | Differential Rev(s): Wiki Page: | ----------------------------------------+------------------------------- Changes (by bgamari): * milestone: 8.2.1 => 8.4.1 Comment: This will likely not happen for 8.2; bumping to 8.4. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11773#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11773: linux/powepc : ghc-stage1 segfaults when building unregisterised ----------------------------------------+------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: #11784 | Differential Rev(s): Wiki Page: | ----------------------------------------+------------------------------- Changes (by bgamari): * milestone: 8.6.1 => Comment: erikd, any word on this? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11773#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC