[GHC] #9176: GHC not generating dyn_hi files
GHC
ghc-devs at haskell.org
Sun Jun 22 17:33:36 UTC 2014
#9176: GHC not generating dyn_hi files
-----------------------------+----------------------------------
Reporter: heatsink | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.9
Resolution: | Keywords: dynamic
Operating System: MacOS X | Architecture: x86_64 (amd64)
Type of failure: Other | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-----------------------------+----------------------------------
Comment (by heatsink):
The dyn_hi file goes missing because GHC detects a bad module interface
hash and disables dynamic-too. It's disabled in `findAndReadIface` by
assigning False to `canGenerateDynamicToo`. That flag stops
`hscWriteIface` from writing a dyn_hi file.
GHC will print diagnostic messages if it's run with `-ddump-if-trace`, so
you can see this happening.
IMO, this condition should be an error because GHC does not generate the
file it was told to generate.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9176#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list