
On 8/19/06, Joel Reymont
/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/main -istage1/ profiling -istage1/parser -istage1/cprAnalysis -istage1/ ndpFlatten -istage1/iface -istage1/cmm -istage1/nativeGen - istage1/ghci -Istage1 -DGHCI -DBREAKPOINT -package template-haskell - threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno- generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -package unix -ignore-package lang -recomp -Rghc-timing -H16M '-#include "cutils.h"' -i../compat -ignore-package Cabal -fglasgow-exts -c utils/Digraph.lhs -o stage1/utils/Digraph.o -ohi stage1/utils/ Digraph.hi
utils/Digraph.lhs:133:12: Ambiguous occurrence `indices' It could refer to either `GHC.Arr.indices', imported from Array at utils/Digraph.lhs:43:0-11 or `Data.Array.Base.indices', imported from Data.Array.ST at utils/Digraph.lhs:48:0-19
utils/Digraph.lhs:139:18: Ambiguous occurrence `bounds' It could refer to either `GHC.Arr.bounds', imported from Array at utils/Digraph.lhs:43:0-11 or `Data.Array.Base.bounds', imported from Data.Array.ST at utils/Digraph.lhs:48:0-19
I think I know why that is happening.
This is because you are compiling ghc 6.5 using older (few weeks and more)
ghc 6.5. During this time Array-interfaces changed in base, and ghc
had to be patched for it. The fix is to either use previous release of
ghc (6.4) for stage1 or unpull/rollback patch
Wed Aug 9 19:13:41 FLE Standard Time 2006 Esa Ilari Vuokko