I bet if you run ghc-pkg check it will say that base is broken due
to a missing librts... (try changing your build.mk to this:)

GhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),dyn v,v)

Excerpts from Richard Eisenberg's message of Tue Mar 26 19:22:35 -0700 2013:
> On HEAD, commit b9d53..., a freshly built ghc-stage2 can't find its Prelude:
> 
> > rae:22:06:54 ~/temp> ~/Documents/ghc-baseline/inplace/bin/ghc-stage2 
> > Scratch.hs
> > 
> > Scratch.hs:1:1:
> >     Could not find module ‛Prelude’
> >     There are files missing in the ‛base’ package,
> >     try running 'ghc-pkg check'.
> >     Use -v to see a list of the files searched for.
> > 
> 
> I'm building on Mac OS 10.7.5, and my build.mk is set to 'quick'.
> 
> Any ideas?
> 
> Thanks,
> Richard

_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to