patch applied (ghc): FIX -stubdir bug: the .hc file was #including
the wrong _stub.h filename
Simon Marlow
simonmar at microsoft.com
Wed Sep 26 10:42:49 EDT 2007
Wed Sep 26 06:45:39 PDT 2007 Simon Marlow <simonmar at microsoft.com>
* FIX -stubdir bug: the .hc file was #including the wrong _stub.h filename
Using -stubdir together with hierarchical modules, -fvia-C, and --make
is essentially broken in 6.6.x. Recently discovered by Cabal's use of
-stubdir.
Test cases: driver027/driver028 (I've updated them to use -fvia-C, in
order to test for this bug).
M ./compiler/main/CodeOutput.lhs -3 +3
M ./compiler/main/DriverPipeline.hs -2 +2
M ./compiler/main/DynFlags.hs -6 +8
M ./compiler/main/Finder.lhs -2 +16
More information about the Cvs-ghc
mailing list