More windows woe

Simon Peyton Jones simonpj at microsoft.com
Sat Dec 10 11:23:57 UTC 2016


Adding unlock_file makes ghci work.

Simon

From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Simon Peyton Jones via ghc-devs
Sent: 10 December 2016 10:57
To: Phyx <lonetiger at gmail.com>
Cc: GHC developers <ghc-devs at 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:lonetiger at gmail.com]
Sent: 09 December 2016 23:07
To: Simon Peyton Jones <simonpj at microsoft.com<mailto:simonpj at 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 at haskell.org<mailto:ghc-devs at 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 at haskell.org<mailto:ghc-devs at 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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20161210/6cb2a589/attachment-0001.html>


More information about the ghc-devs mailing list