Windows build fails -- again!

Aaargh! My windows build is broken, again. It's very painful that this keeps happening. Can anyone help? Simon "inplace/bin/ghc-stage1.exe" -optc-U__i686 -optc-march=i686 -optc-fno-stack-protector -optc-Werror -optc-Wall -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-O2 -optc-fomit-frame-pointer -optc-DRtsWay=\"rts_v\" -static -H32m -O -Werror -Wall -H64m -O0 -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key rts -dcmm-lint -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/Task.c -o rts/dist/build/Task.o cc1.exe: warnings being treated as errors rts\Capability.c:1080:6: error: no previous prototype for 'setIOManagerControlFd' rts/ghc.mk:236: recipe for target 'rts/dist/build/Capability.o' failed make[1]: *** [rts/dist/build/Capability.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Makefile:71: recipe for target 'all' failed make: *** [all] Error 2 HEAD (master)$

f9f89b7884ccc8ee5047cf4fffdf2b36df6832df is probably to blame.
Found by running `git log -SsetIOManagerControlFd`. The -S flag is a good
way to find when a symbol is added/removed.
On Wed, Aug 20, 2014 at 12:16 AM, Simon Peyton Jones
Aaargh! My windows build is broken, again.
It’s very painful that this keeps happening.
Can anyone help?
Simon
"inplace/bin/ghc-stage1.exe" -optc-U__i686 -optc-march=i686 -optc-fno-stack-protector -optc-Werror -optc-Wall -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-O2 -optc-fomit-frame-pointer -optc-DRtsWay=\"rts_v\" -static -H32m -O -Werror -Wall -H64m -O0 -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key rts -dcmm-lint -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/Task.c -o rts/dist/build/Task.o
cc1.exe: warnings being treated as errors
rts\Capability.c:1080:6:
error: no previous prototype for 'setIOManagerControlFd'
rts/ghc.mk:236: recipe for target 'rts/dist/build/Capability.o' failed
make[1]: *** [rts/dist/build/Capability.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:71: recipe for target 'all' failed
make: *** [all] Error 2
HEAD (master)$
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Hi!
I think this isn't broken on just Windows. The error comes from the warning
about no prototype (and -Werror), and it doesn't have a prototype on other
OSes either.
Niklas
2014-08-20 7:42 GMT+02:00 Johan Tibell
f9f89b7884ccc8ee5047cf4fffdf2b36df6832df is probably to blame.
Found by running `git log -SsetIOManagerControlFd`. The -S flag is a good way to find when a symbol is added/removed.
On Wed, Aug 20, 2014 at 12:16 AM, Simon Peyton Jones < simonpj@microsoft.com> wrote:
Aaargh! My windows build is broken, again.
It’s very painful that this keeps happening.
Can anyone help?
Simon
"inplace/bin/ghc-stage1.exe" -optc-U__i686 -optc-march=i686 -optc-fno-stack-protector -optc-Werror -optc-Wall -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-O2 -optc-fomit-frame-pointer -optc-DRtsWay=\"rts_v\" -static -H32m -O -Werror -Wall -H64m -O0 -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key rts -dcmm-lint -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/Task.c -o rts/dist/build/Task.o
cc1.exe: warnings being treated as errors
rts\Capability.c:1080:6:
error: no previous prototype for 'setIOManagerControlFd'
rts/ghc.mk:236: recipe for target 'rts/dist/build/Capability.o' failed
make[1]: *** [rts/dist/build/Capability.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:71: recipe for target 'all' failed
make: *** [all] Error 2
HEAD (master)$
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
participants (3)
-
Johan Tibell
-
Niklas Larsson
-
Simon Peyton Jones