
#8276: Building Haddock documentation panics with perf build on x86_64 Linux ---------------------------------------+---------------------------------- Reporter: jstolarek | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Documentation | Version: 7.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Comment (by darchon): I've attached a "hack" for haddock that makes the reported error go away. What it does, is only restore the static flags when it's likely that 'parseStaticFlags' will be called again. Now when I run "make" I get the same error as #8320. My guess is that there is some interaction between the use of 'staticFlags' in GHC's error reporting and the exception handling code in haddock (the use of 'finally'). Since I don't really understand what's going on, I'm classifying my patch as a hack. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8276#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler