On Mon, Nov 01, 2010 at 11:21:16AM +0000, Simon Peyton-Jones wrote: > Roman reports a missing 'make' dependency. See below. > > Also, if I add INLINE pragmas to fromInteger and toEnum for Word8 and run > 'make' in the ghc subdirectory, I get: > > Undefined symbols: > "_base_GHCziWord_zdfBitsWord8zuzdcfromInteger_closure", referenced from: > _base_SystemziPosixziTypes_zdfNumCCc_closure in > libHSbase-4.3.0.0.a(Types.o) > _base_ForeignziCziTypes_zdfNumCUChar_closure in > libHSbase-4.3.0.0.a(Types.o) > > I think make doesn't rebuild these libraries.
I'm not sure this is a missing dependency problem. I get these timestamps: 14:49 libraries/base/dist-install/build/GHC/Word.o 14:49 libraries/base/dist-install/build/GHC/Word.hi 14:49 libraries/base/dist-install/build/Data/Word.o 12:33 libraries/base/dist-install/build/Data/Word.hi 12:34 libraries/utf8-string/dist-install/build/Codec/Binary/UTF8/String.o 12:34 libraries/utf8-string/dist-install/build/Codec/Binary/UTF8/String.hi and GHC had said: "inplace/bin/ghc-stage1" [...] libraries/base/./Data/Word.hs -o libraries/base/dist-install/build/Data/Word.o compilation IS NOT required so it looks like it's GHC's recompilation checker which is at fault, although it's possible that there's another import path from ...String to GHC.Word that has gone wrong. Thanks Ian _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
