Re: GHC 6.2.2 Compile problem on Mac OS X 10.4

2005-06-23 Thread Wolfgang Thaller

Hi,

I am trying to make an unregisterised build. As my host machine, i use
a Mac running Mac OS X 10.4. When building ghc 6.2.2 on the host  
machine (also running GHC 6.2.2), i get the error attached below  
when doing 'make all' in ghc/. Does anyone

have an idea how to solve this ?

thanks,
Remko



/tmp/ghc6793.s:83646:Fixup of 78156 too large for field width of 16  
bits
/tmp/ghc6793.s:83644:Fixup of 78164 too large for field width of 16  
bits


It looks like you have -fasm in your mk/build.mk. In 6.2.2, the  
native code generator has a problem that can cause an error like the  
one you encountered, so try removing the -fasm or adding -fvia-C.


Cheers,

Wolfgang

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


GHC 6.2.2 Compile problem on Mac OS X 10.4

2005-06-23 Thread Remko Troncon

Hi,

I am trying to make an unregisterised build. As my host machine, i use
a Mac running Mac OS X 10.4. When building ghc 6.2.2 on the host  
machine (also running GHC 6.2.2), i get the error attached below when  
doing 'make all' in ghc/. Does anyone

have an idea how to solve this ?

thanks,
Remko

**
/usr/local/bin/ghc -H16m -O  -istage1/utils  -istage1/basicTypes  - 
istage1/types  -istage1/hsSyn  -istage1/prelude  -istage1/rename  - 
istage1/typecheck  -istage1/deSugar  -istage1/coreSyn  -istage1/ 
specialise  -istage1/simplCore  -istage1/stranal  -istage1/stgSyn  - 
istage1/simplStg  -istage1/codeGen  -istage1/absCSyn  -istage1/main  - 
istage1/profiling  -istage1/parser  -istage1/cprAnalysis  -istage1/ 
compMan  -istage1/ndpFlatten  -istage1/cbits -DOMIT_NATIVE_CODEGEN - 
cpp -fglasgow-exts -Rghc-timing -I. -IcodeGen -InativeGen -Iparser - 
recomp -Rghc-timing -O -H32m -fasm -H16M '-#include "hschooks.h"'  - 
no-recomp -H80m  -c prelude/PrimOp.lhs -o stage1/prelude/PrimOp.o  - 
ohi stage1/prelude/PrimOp.hi


primop-tag.hs-incl:2:
Warning: Pattern match(es) are overlapped
 In the definition of `tagOf_PrimOp': tagOf_PrimOp op = ...
/tmp/ghc6793.s:83646:Fixup of 78156 too large for field width of 16 bits
/tmp/ghc6793.s:83644:Fixup of 78164 too large for field width of 16 bits
>

make: *** [stage1/prelude/PrimOp.o] Error 1

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users