error compiling ghc 6.5 head

Simon Marlow simonmarhaskell at gmail.com
Fri Apr 21 04:55:43 EDT 2006


David Roundy wrote:
> I got the darcs latest version of ghc, and am getting the following compile
> error, which I suspect is related to the recent directory reordering:
> 
> /usr/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 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen
> -InativeGen -Iparser -package unix -ignore-package lang -recomp
> -Rghc-timing  -H16M '-#include "hschooks.h"' -i../compat -ignore-package
> Cabal    -c ../compat/Distribution/Version.hs -o
> stage1/../compat/Distribution/Version.o  -ohi
> stage1/../compat/Distribution/Version.hi
> ghc-6.4: error: directory portion of
> "stage1/../compat/Distribution/Version.o" does not exist (used with "-o"
> option.)
> <<ghc: 14201992 bytes, 3 GCs, 92408/92408 avg/max bytes residency (1
> samples), 15M in use, 0.00 INIT (0.00 elapsed), 0.08 MUT (0.15 elapsed),
> 0.04 GC (0.04 elapsed) :ghc>>
> make[1]: *** [stage1/../compat/Distribution/Version.o] Error 1
> make: *** [stage1] Error 1
> 
> I tried getting a fresh copy of the ghc source (after making clean and
> reconfiguring and various other tricks), but still get this error.  :( Any
> ideas?

This should now be fixed, a patch was applied yesterday.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list