·         I was using “sh validate”.  Incidentally, does that still use validate.mk, are-validating.mk etc? Or is all that gone now, in which case if I want to modify the validate settings what do I do?

 

·         32 vs 64 bit?  How do I find out? I’m on a 64-bit processor, but for all I know I’m building GHC with 32 bit stuff.  How would I tell?

 

·         `git submodule update’ appeared not to do anything

 

·         I’m on a9c93b as well, same as you

 

I’ll try ‘make maintainer-clean’.

 

Am I using LLVM?  I don’t know.  I’m just saying ‘sh validate’.  How would I install LLVM?  The Windows preparation page is silent on that.  https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows

 

Incidentally, the stage2 compiler can build statically-linked binaries; it’s just

            ghc-stage2 –interactive

that immediately fails with the error below.

 

How could I investigate the actual error more directly?  Trying random things around the side is good, but so is directly investigating the cause, if only I knew how.

 

Thanks!

 

Simon

 

 

From: Thomas Miedema [mailto:thomasmiedema@gmail.com]
Sent: 27 October 2015 00:55
To: Simon Peyton Jones
Cc: ghc-devs@haskell.org
Subject: Re: Can't build on Windows

 

I can not reproduce this on 64bit Windows, a9c93bdd8b027d6de09a3eada7721e7fd2d3e050 builds succesfully with flavour devel2.

 

* Which build flavour are you using? Any other mk/build.mk settings?

* 32bit or 64bit?

* Output of `git status` (i.e. did you 'git submodule update'? In case that fixes it, I suggest you use git pullall for all your pulling needs)

* Try `make maintainer-clean`.

* In case you use llvm, note that HEAD needs llvm-3.7 now.

 

 

 

On Mon, Oct 26, 2015 at 10:19 PM, Simon Peyton Jones <simonpj@microsoft.com> wrote:

Gurgah.   GHC is broken on my windows laptop.  See below.  Anyone have any ideas?  Frustrating.

Oddly the symbol is defined in the .exe

bash$ nm inplace/bin/ghc-stage2.exe | grep stg_upd_frame

02c248e0 T _stg_upd_frame_info

This is admittedly on a branch that I have modified; but I have only modified stuff in the front end, nothing in the RTS etc.  I suppose I will try to build a unmodified HEAD too.

can anyone help?  Thanks!

Simon

 

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

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

ghc-stage2.exe: unable to load package `ghc-prim-0.4.0.0'

ghc-stage2.exe: C:\code\HEAD\libraries\ghc-prim\dist-install\build\HSghc-prim-0.4.0.0.o: unknown symbol `_stg_upd_frame_info'

HEAD $


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