The darwin ports version appears not to be too happy just now...
Error: Target com.apple.build returned: shell command "cd
"/Users/tatd2/darwinports/dports/lang/ghc/work/ghc-6.2.2" && make all"
returned error 2
Command output: In the definition of `remInteger':
remInteger (S# a) (S# b) = ...
remInteger (ia@(S# _)) (ib@(J# _ _)) = ...
remInteger (J# sa a) (S# b) = ...
remInteger (J# sa a) (J# sb b) = ...
GHC/Num.lhs:181:
Warning: Pattern match(es) are overlapped
In the definition of `quotInteger':
quotInteger (S# a) (S# b) = ...
quotInteger (ia@(S# _)) (ib@(J# _ _)) = ...
quotInteger (J# sa a) (S# b) = ...
quotInteger (J# sa a) (J# sb b) = ...
<>
(cd GHC/ && /usr/bin/ld -r -x -o Num.o Num_split/*.o);
rm -f GHC/ST.o; if [ ! -d GHC/ST_split ]; then mkdir GHC/ST_split;
else /usr/bin/find GHC/ST_split -name '*.o' -print | xargs rm -f
__rm_food; fi;
../../ghc/compiler/ghc-inplace -H16m -O -I/opt/local/include
-L/opt/local/lib -pgmP "gcc3 -E -traditional" -fglasgow-exts -cpp
-Iinclude -#include HsBase.h -funbox-strict-fields -package-name base
-O -Rghc-timing -split-objs -c GHC/ST.lhs -o GHC/ST.o -ohi
GHC/ST.hi
<>
(cd GHC/ && /usr/bin/ld -r -x -o ST.o ST_split/*.o);
rm -f GHC/Arr.o; if [ ! -d GHC/Arr_split ]; then mkdir GHC/Arr_split;
else /usr/bin/find GHC/Arr_split -name '*.o' -print | xargs rm -f
__rm_food; fi;
../../ghc/compiler/ghc-inplace -H16m -O -I/opt/local/include
-L/opt/local/lib -pgmP "gcc3 -E -traditional" -fglasgow-exts -cpp
-Iinclude -#include HsBase.h -funbox-strict-fields -package-name base
-O -Rghc-timing -split-objs -c GHC/Arr.lhs -o GHC/Arr.o -ohi
GHC/Arr.hi
<>
(cd GHC/ && /usr/bin/ld -r -x -o Arr.o Arr_split/*.o);
rm -f GHC/Real.o; if [ ! -d GHC/Real_split ]; then mkdir
GHC/Real_split; else /usr/bin/find GHC/Real_split -name '*.o' -print |
xargs rm -f __rm_food; fi;
../../ghc/compiler/ghc-inplace -H16m -O -I/opt/local/include
-L/opt/local/lib -pgmP "gcc3 -E -traditional" -fglasgow-exts -cpp
-Iinclude -#include HsBase.h -funbox-strict-fields -package-name base
-O -Rghc-timing -split-objs -c GHC/Real.lhs -o GHC/Real.o -ohi
GHC/Real.hi
/var/tmp//ccjMNPay.s: No space left on device
<>