Skip to content

GHC doesn't create dyn_o-boot files

Take any set of modules with a loop broken by an hs-boot, and run ghc --make -dynamic-too on it. Suppose A.hs imports B.hs, which source imports A.hs-boot; then compiling these you will get A.{hi,o,dyn_hi,dyn_o}, B.{hi,o,dyn_hi,dyn_o}, and ONLY A.{hi-boot,o-boot,dyn_hi-boot}: A.dyn_o-boot is missing.

Trac metadata
Trac field Value
Version 7.11
Type Bug
TypeOfFailure OtherFailure
Priority low
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