Windows build fails -- again!

Niklas Larsson metaniklas at gmail.com
Wed Aug 20 06:35:07 UTC 2014


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 <johan.tibell at gmail.com>:

> 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 at 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 at haskell.org
>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>
>>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140820/e783a437/attachment.html>


More information about the ghc-devs mailing list