GHC silently turns off dynamic output, should this be an error?
jwlato at gmail.com
Tue Jun 24 21:16:01 UTC 2014
On Jun 24, 2014 1:36 PM, "Ian Lynagh" <igloo at earth.li> wrote:
> On Mon, Jun 23, 2014 at 12:58:16PM -0500, Christopher Rodrigues wrote:
> > Additionally, is it ever valid to have a pair of .hi and .dyn_hi files
> > different interface hashes?
> You can, for example, compile package foo the vanilla way with -O, and
> the dynamic way without -O. You'll then get mismatched hashes.
Also, any file that uses Template Haskell could potentially generate
different code at each compilation. But IMHO this isn't something ghc
should try to support.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs