Skip to content

ghc fails sans error message.

HPDF-1.4, which is available on Hackage, compiles successfully with ghc-6.8.2. However, attempting to compile the same with ghc-6.8.3 fails, but GHC does not produce any kind of error message. By turning up the verbosity, it appears the problem is in the simplification pass:

[11 of 30] Compiling Graphics.PDF.Coordinates ( Graphics/PDF/Coordinates.hs, dist/build/Graphics/PDF/Coordinates.o )
*** Parser:
*** Renamer/typechecker:
*** Desugar:
    Result size = 1147
*** Simplify:
    Result size = 781
    Result size = 769
    Result size = 769
*** Specialise:
    Result size = 769
*** Float out (not lambdas, not constants):
    Result size = 823
*** Float inwards:
    Result size = 823
*** Simplify:
/usr/local/bin/ghc returned ExitFailure 4

This result was obtained on Darwin-PPC. I would check to see if this fails on an Intel box as well, but I don't have convenient access to one at the moment.

Trac metadata
Trac field Value
Version 6.8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information