default library path in HEAD

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

default library path in HEAD

Simon Peyton Jones
I have no idea.  Ian may be able to help.  Ian, or anyone else... any ideas?

I would start with ghc-pkg list and ghc-pkg check

Simon

From: Ilya Sergey [mailto:ilya.sergey at imdea.org]
Sent: 21 March 2013 01:25
To: Simon Peyton-Jones
Subject: default library path in HEAD

Hi Simon.

I've run into some troubles trying to build the nofib with the current master branch.
Apparently, something has changed in the default library path, so the stage2 compiler cannot find base modules:

~~~~~~~~~~~

/Users/ilya/repos/master-ghc/inplace/bin/ghc-stage2 -H64m -O -fasm -O -Rghc-timing -package array -H32m -hisuf hi -rtsopts -c Main.hs -o Main.o

Main.hs:1:1:
    Failed to load interface for ?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.

~~~~~~~~~~~~

The library has been compiled with profiling options (added to the end of build.mk<http://build.mk>):

GhcLibHcOpts += -ticky
GhcRTSWays += t
GhcThreaded = NO

and

BuildFlavour = devel2

But I don't think it is an issue.
What am I doing wrong?

Thanks.

Ilya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130321/b3331f44/attachment-0001.htm>

Reply | Threaded
Open this post in threaded view
|

default library path in HEAD

Ian Lynagh-2

Hi Ilya,

On Thu, Mar 21, 2013 at 09:21:11AM +0000, Simon Peyton-Jones wrote:
>
> Apparently, something has changed in the default library path, so the stage2 compiler cannot find base modules:

My guess is that you don't have 'v' in your GhcLibWays, possibly due to
an out-of-date mk/build.mk.


Thanks
Ian