Skip to content

Report out of date interface files robustly

Suppose X.hi refers to Y.f77, but Y.hi is out of date and has no f77. Then you get a bad crash:

(GHC version 6.8.3 for i386-unknown-mingw32):
    tcIfaceGlobal (local): not found:
Please report this as a GHC bug

The solution lies within our grasp:

  • X.hi already contains a fingerprint for Y.hi
  • So, we should simply check Y.hi's fingerprint when we suck it in

(Currently we do this fingerprint checking only for the module we are currently compiling, to see if the bits it depends on have changed.)

Simon

Trac metadata
Trac field Value
Version 6.8.3
Type FeatureRequest
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