Build failing

Simon Peyton Jones simonpj at microsoft.com
Tue Feb 2 11:06:58 UTC 2016


A clean Windows build fails.  See below.  help!
Simon


rts\Linker.c:444:7: error:

     error: pointer type mismatch in conditional expression [-Werror]

           : pinfo->owner->fileName

           ^



rts\Linker.c:429:7: error:

     error: format '%ls' expects argument of type 'wchar_t *', but argument 4 has type 'void * const' [-Werror=format=]

           "GHC runtime linker: fatal error: I found a duplicate definition for symbol\n"

           ^

cc1.exe: all warnings being treated as errors

`gcc.exe' failed in phase `C Compiler'. (Exit code: 1)

rts/ghc.mk:254: recipe for target 'rts/dist/build/Linker.o' failed

make[1]: *** [rts/dist/build/Linker.o] Error 1

make[1]: *** Waiting for unfinished jobs....

Makefile:122: recipe for target 'all' failed

make: *** [all] Error 2

/cygdrive/c/code/HEAD$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160202/3d9f8f4d/attachment.html>


More information about the ghc-devs mailing list