Ticket #2794 (closed bug: wontfix)
Bootstrapping ghc-6.4.3 hangs in call to "ghc-pkg-inplace"
|Reported by:||cspiel||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
I want to bootstrap ghc-6.4.3 with ghc-6.2.2 on an i686 Linux system based on libc-2.2.4. The bootstrap make runs ok until the following command:
../utils/ghc-pkg/ghc-pkg-inplace --force --update-package <package.conf.inplace
which "hangs forever" while chewing up cpu cycles.
Cd-ing into ghc-pkg and issuing
produces exactly the same effect. An strace on the latter command results in an endless series of
sigreturn() = ? (mask now ) --- SIGVTALRM (Virtual timer expired) ---
When running ghc-pkg.bin under the control of gdb and interrupting with C-c always catches the execution inside of
which is a part of Cabal. However, the following trivial test program does not get stuck in that call:
-- Compile with: -- ghc -i../../lib/compat -L../../lib/compat -lghccompat \ -- -o use-readp use-readp.hs import Distribution.Compat.ReadP main :: IO () main = do putStr "start.\n"
I'm not familiar enough with the ghc build system (nor Haskell) to know what goes wrong here.