#6167: Compile stalls with pause returning ERESTARTNOHAND
---------------------------------+------------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.6.1
Component: Compiler | Version: 7.4.1
Keywords: | Os: Linux
Architecture: Unknown/Multiple | Failure: Building GHC failed
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by erikd):
* architecture: powerpc => Unknown/Multiple
Comment:
I am a member of the Debian Haskell Group and we have not seen this
problem with any other arch so it does look like a PowerPC specific issue.
Debian's GHC is built without explicitly turning off the registered build.
I therefore assume that it is registered and using the native backend.
When I compile GHC from git, I am setting -fasm (BuildFlavour = devel2,
"stage = 2" still commented out).
If I add -v to the command that hangs I get:
{{{
Glasgow Haskell Compiler, Version 7.5.20120630, stage 1 booted by GHC
version 7.4.1
Using binary package database: /home/erikd/Git/ghc-upstream-
git/inplace/lib/package.conf.d/package.cache
wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-inplace
wired-in package integer-gmp mapped to integer-gmp-0.3.0.0-inplace
wired-in package base mapped to base-4.6.0.0-inplace
wired-in package rts mapped to builtin_rts
wired-in package template-haskell mapped to template-
haskell-2.6.0.0-inplace
wired-in package dph-seq not found.
wired-in package dph-par not found.
Hsc static flags: -static
Created temporary directory: /tmp/ghc30901_0
*** C pre-processor:
'/usr/bin/gcc' '-E' '-undef' '-traditional' '-fno-stack-protector' '-Wl
,--hash-size=31' '-Wl,--reduce-memory-overheads' '-I'
'libraries/containers/dist-install/build' '-I' 'libraries/containers/dist-
install/build' '-I' 'libraries/containers/dist-install/build/autogen' '-I'
'libraries/containers/include' '-I' '/home/erikd/Git/ghc-upstream-
git/libraries/array/include' '-I' '/home/erikd/Git/ghc-upstream-
git/libraries/base/include' '-I' '/home/erikd/Git/ghc-upstream-
git/rts/dist/build' '-I' '/home/erikd/Git/ghc-upstream-git/includes' '-I'
'/home/erikd/Git/ghc-upstream-git/includes/dist-ghcconstants/header' '-I'
'/home/erikd/Git/ghc-upstream-git/includes/dist-derivedconstants/header'
'-D__GLASGOW_HASKELL__=705' '-Dlinux_BUILD_OS=1' '-Dpowerpc_BUILD_ARCH=1'
'-Dlinux_HOST_OS=1' '-Dpowerpc_HOST_ARCH=1' '-include'
'libraries/containers/dist-install/build/autogen/cabal_macros.h' '-x' 'c'
'libraries/containers/Data/Sequence.hs' '-o'
'/tmp/ghc30901_0/ghc30901_0.hscpp'
*** Checking old interface for containers-0.5.0.0:Data.Sequence:
*** Parser:
*** Renamer/typechecker:
<hang>
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6167#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs