GHC 6.5 on Mac Os X

Chris Brown cmb21 at
Wed Mar 29 17:39:57 EST 2006


I have managed to get through stage1 of the compilation - but now I  
get link errors!

TcTyDecls.o  stage1/typecheck/TcType.o  stage1/typecheck/TcUnify.o   
stage1/types/Class.o  stage1/types/FunDeps.o  stage1/types/ 
Generics.o  stage1/types/InstEnv.o  stage1/types/Kind.o  stage1/types/ 
TyCon.o  stage1/types/Type.o  stage1/types/TypeRep.o  stage1/types/ 
Unify.o  stage1/utils/Bag.o  stage1/utils/Binary.o  stage1/utils/ 
BitSet.o  stage1/utils/BufWrite.o  stage1/utils/Digraph.o  stage1/ 
utils/Encoding.o  stage1/utils/FastMutInt.o  stage1/utils/ 
FastString.o  stage1/utils/FastTypes.o  stage1/utils/FiniteMap.o   
stage1/utils/IOEnv.o  stage1/utils/ListSetOps.o  stage1/utils/ 
Maybes.o  stage1/utils/OrdList.o  stage1/utils/Outputable.o  stage1/ 
utils/Panic.o  stage1/utils/Pretty.o  stage1/utils/StringBuffer.o   
stage1/utils/UniqFM.o  stage1/utils/UniqSet.o  stage1/utils/Util.o   
ld: Undefined symbols:
<<ghc: 13296096 bytes, 3 GCs, 166208/166208 avg/max bytes residency  
(1 samples), 15M in use, 0.10 INIT (0.00 elapsed), 0.06 MUT (3.31  
elapsed), 0.04 GC (0.04 elapsed) :ghc>>
make: *** [stage1/ghc-6.5.20060117] Error 1

Could this also have something todo with the mangler?


On 29 Mar 2006, at 20:01, Wolfgang Thaller wrote:

> On 28-Mar-06, at 4:52 AM, Simon Marlow wrote:
>> This seems very strange indeed - I immediately suspect something  
>> odd with your hardware.  Try swapping out RAM, if you can.
>> Strange that it only seems to affect Perl (Perl is running the  
>> mangler that generates that .s file).  I suppose it's possible  
>> there could be something strange with your Perl - maybe try  
>> replacing that?
>> If you run GHC with -keep-tmp-files, you can capture the  
>> erroneous .s file for later inspection; that might give us more  
>> clues.
> We went through that off-list on the weekend. Perl really seems to  
> be misbehave in a strange, non-deterministic way on Christopher's  
> machine.
> I, too, suspect a strange hardware problem, but the fact is that I  
> am clueless. Did you know that the Catholic Church still has  
> trained exorcists?
> Cheers,
> Wolfgang

More information about the Glasgow-haskell-users mailing list