
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$

Hi Simon,
I have made a diff to fix it but it hasn't been reviewed yet
https://phabricator.haskell.org/D1878
Regards,
Tamar
Sent from my Mobile
On Feb 2, 2016 12:07 PM, "Simon Peyton Jones"
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$
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Phyx
Hi Simon,
I have made a diff to fix it but it hasn't been reviewed yet https://phabricator.haskell.org/D1878
Thanks Phyx. I just fired off a validation build locally. I'll merge as soon as it passes. Cheers, - Ben

Ben Gamari
Phyx
writes: Hi Simon,
I have made a diff to fix it but it hasn't been reviewed yet https://phabricator.haskell.org/D1878
Thanks Phyx.
I just fired off a validation build locally. I'll merge as soon as it passes.
It has been merged. Thanks again! Cheers, - Ben
participants (3)
-
Ben Gamari
-
Phyx
-
Simon Peyton Jones