Adding unlock_file makes ghci work.

Simon

From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Simon Peyton 
Jones via ghc-devs
Sent: 10 December 2016 10:57
To: Phyx <loneti...@gmail.com>
Cc: GHC developers <ghc-devs@haskell.org>
Subject: RE: More windows woe

Reverting didn’t work
Appluying D2817 didn’t work:

/c/code/HEAD$ c:/code/HEAD/inplace/bin/ghc-stage2 --interactive

GHCi, version 8.1.20161209: http://www.haskell.org/ghc/  :? for help

ghc-stage2.exe: unable to load package `base-4.9.0.0'

ghc-stage2.exe: C:\code\HEAD\inplace\mingw\x86_64-w64-mingw32\lib\libmingwex.a: 
unknown symbol `_unlock_file'
Now it’s ‘unlock_file’.

I’ll try adding that.

Simon

From: Phyx [mailto:loneti...@gmail.com]
Sent: 09 December 2016 23:07
To: Simon Peyton Jones <simo...@microsoft.com<mailto:simo...@microsoft.com>>
Subject: Re: More windows woe

When fixing bootstrapping with pre 7.10.3 compilers this accidentally broke.

There's a patch up to fix it https://phabricator.haskell.org/D2817

If you're on 7.10.3 or later for your bootstrapping compiler revert 
6da62535469149d69ec98674db1c51dbde0efab1 and it should work again.

Just waiting for a buildbot build to commit the above patch.

On Fri, Dec 9, 2016 at 10:44 PM, Simon Peyton Jones via ghc-devs 
<ghc-devs@haskell.org<mailto:ghc-devs@haskell.org>> wrote:
I see that anything involving ghci fails:

/c/code/HEAD/inplace/bin/ghc-stage2 --interactive

GHCi, version 8.1.20161209: 
http://www.haskell.org/ghc/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.haskell.org%2Fghc%2F&data=02%7C01%7Csimonpj%40microsoft.com%7C645b80a482bc46d4e53908d4208822bd%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636169216450988956&sdata=oJXATz0N9foTtRlW6ZzI4RrP%2BkLRGvTP7l2mDqbsYG8%3D&reserved=0>
  :? for help

ghc-stage2.exe: unable to load package `base-4.9.0.0'

ghc-stage2.exe: C:\code\HEAD\inplace\mingw\x86_64-w64-mingw32\lib\libmingwex.a: 
unknown symbol `_lock_file'



ghc-stage2.exe: Could not on-demand load symbol '__mingw_vfprintf'



ghc-stage2.exe: 
C:\code\HEAD\libraries\base\dist-install\build\HSbase-4.9.0.0.o: unknown symbol 
`__mingw_vfprintf'

It’s frustrating.  It used to work!
Simon



_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org<mailto:ghc-devs@haskell.org>
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=02%7C01%7Csimonpj%40microsoft.com%7C645b80a482bc46d4e53908d4208822bd%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636169216450988956&sdata=KyMde8fx2GXKK1MocZ6dHobUYXMKuWvA%2FH%2F24kqmwYA%3D&reserved=0>

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to