[GHC] #8134: ghc enters a loop while building 7.6.3 for powerpc64 platform.

GHC ghc-devs at haskell.org
Fri Oct 25 17:31:15 UTC 2013


#8134: ghc enters a loop while building 7.6.3 for powerpc64 platform.
-------------------------------------+-----------------------------
        Reporter:  k0da              |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:  7.6.3
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  powerpc64
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-----------------------------

Comment (by gustavold):

 I've built 7.6.3 with -debug and used that to rebuild 7.6.3 to reproduce
 this issue. I did get stuck as expected. Then passing -v4, ghc gets more
 verbose but I didn't find anything obvious in the output:


 {{{
 Running phase HsPp HsSrcFile
 Running phase Unlit HsSrcFile
 *** Literate pre-processor:
 '/usr/local/lib/ghc-7.6.3/unlit' '-h' 'compiler/rename/RnSource.lhs'
 'compiler/rename/RnSource.lhs' '/tmp/ghc42706_0/ghc42706_103.lpp'
 Running phase Cpp HsSrcFile
 *** C pre-processor:
 '/usr/bin/gcc' '-E' '-undef' '-traditional' '-fno-stack-protector' '-Wl
 ,--hash-size=31' '-Wl,--reduce-memory-overheads' '-v' '-I'
 'compiler/stage1/build' '-I' 'compiler/stage1/build' '-I'
 'compiler/stage1/build/autogen' '-I' 'compiler/stage1' '-I' 'compiler/.'
 '-I' 'compiler/parser' '-I' 'compiler/utils' '-I'
 '/usr/local/lib/ghc-7.6.3/process-1.1.0.2/include' '-I'
 '/usr/local/lib/ghc-7.6.3/old-time-1.1.0.1/include' '-I'
 '/usr/local/lib/ghc-7.6.3/directory-1.2.0.1/include' '-I'
 '/usr/local/lib/ghc-7.6.3/unix-2.6.0.1/include' '-I'
 '/usr/local/lib/ghc-7.6.3/bytestring-0.10.0.2/include' '-I'
 '/usr/local/lib/ghc-7.6.3/time-1.4.0.1/include' '-I'
 '/usr/local/lib/ghc-7.6.3/base-4.6.0.1/include' '-I'
 '/usr/local/lib/ghc-7.6.3/include' '-D__GLASGOW_HASKELL__=706'
 '-Dlinux_BUILD_OS=1' '-Dpowerpc64_BUILD_ARCH=1' '-Dlinux_HOST_OS=1'
 '-Dpowerpc64_HOST_ARCH=1' '-include'
 'compiler/stage1/build/autogen/cabal_macros.h' '-DNO_REGS' '-DSTAGE=1'
 '-x' 'c' '/tmp/ghc42706_0/ghc42706_103.lpp' '-o'
 '/tmp/ghc42706_0/ghc42706_209.hscpp'
 }}}

 Any hints on debug parameters I could pass to ghc to help tracking this
 down.

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


More information about the ghc-tickets mailing list