Build failing

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

A clean Windows build fails.  See below.  help!

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/ 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list