Windows build broken -- again

Sigh. The Simon PJ Windows Buildbot reports "inplace/bin/ghc-stage1.exe" -optc-fno-stack-protector -optc-Wall -optc-Werror -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-Irts/dist/build/./autogen -optc-Wno-error=inline -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-DRtsWay=\"rts_v\" -optc-DWINVER=0x06000100 -static -O0 -H64m -Wall -fllvm-fill-undef-with-garbage -Werror -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -dcmm-lint -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen -O2 -Wnoncanonical-monad-instances -c rts/CheckUnload.c -o rts/dist/build/CheckUnload.o In file included from rts\CheckUnload.c:16:0: error: rts\LinkerInternals.h:284:15: error: error: unknown type name 'UChar' STATIC_INLINE UChar * ^ rts\LinkerInternals.h: In function 'myindex': rts\LinkerInternals.h:288:11: error: error: 'UChar' undeclared (first use in this function) ((UChar*)base) + scale * index; ^ rts\LinkerInternals.h:288:11: error: note: each undeclared identifier is reported only once for each function it appears in rts\LinkerInternals.h:288:17: error: error: expected expression before ')' token ((UChar*)base) + scale * index; ^ rts\LinkerInternals.h:285:28: error: error: unused parameter 'base' [-Werror=unused-parameter] myindex ( int scale, void* base, int index ) ^ rts\LinkerInternals.h: At top level: rts\LinkerInternals.h:292:5: error: error: unknown type name 'UChar' UChar* name, ^ rts\LinkerInternals.h:293:5: error: error: unknown type name 'UChar' UChar* strtab); ^ cc1.exe: all warnings being treated as errors `gcc.exe' failed in phase `C Compiler'. (Exit code: 1) make[1]: *** [rts/ghc.mk:255: rts/dist/build/CheckUnload.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:127: all] Error 2 /c/code/HEAD-1$

Simon Peyton Jones via ghc-devs wrote:
In file included from rts\CheckUnload.c:16:0: error:
rts\LinkerInternals.h:284:15: error:
error: unknown type name 'UChar'
STATIC_INLINE UChar *
There's a patch up on Phab that should fix that: https://phabricator.haskell.org/D2700 Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/

Simon Peyton Jones via ghc-devs
Sigh. The Simon PJ Windows Buildbot reports
Yes, my apologies for this one. I'm currently in the process of getting this one fixed in D2700. Unfortunately my own Windows machine is having hardware issues so I progress has been a bit slow. I hope to have a functional fix by the end of the day. Cheers, - Ben
participants (3)
-
Ben Gamari
-
Erik de Castro Lopo
-
Simon Peyton Jones