AAARGH! Windows build is broken again. Please can someone fix? In file included from rts\RtsMain.c:12:0: rts\PosixSource.h:31:0: error: "__USE_MINGW_ANSI_STDIO" redefined c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/_mingw.h:280:0: note: this is the location of the previous definition rts/ghc.mk:243: recipe for target 'rts/dist/build/RtsMain.o' failed make[1]: *** [rts/dist/build/RtsMain.o] Error 1
This must be fallout from the VEH handler change I pushed earlier - 5200bdeb26c5ec98739b14b10fc8907296bceeb9. I'll try to fix/revert shortly. On Tue, Mar 3, 2015 at 4:30 PM, Simon Peyton Jones <simonpj@microsoft.com> wrote:
AAARGH! Windows build is broken again.
Please can someone fix?
In file included from rts\RtsMain.c:12:0:
rts\PosixSource.h:31:0: error: "__USE_MINGW_ANSI_STDIO" redefined
c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/_mingw.h:280:0: note: this is the location of the previous definition
rts/ghc.mk:243: recipe for target 'rts/dist/build/RtsMain.o' failed
make[1]: *** [rts/dist/build/RtsMain.o] Error 1
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/
Hi, Yes, sorry about that, I’m trying to reproduce it locally but no luck so far.. (waiting for a clean checkout to finish now) But the fix is probably to swap the definition of Excn.h and PosixSource.h in RtsMain.c or moving Excn.h to the bottom of the include list. Something in Excn.h must be using _mingw.h which will define the macro if not defined. Adding PosixSource to the top would make sure it is defined before anything else. Regards, Tamar From: Austin Seipp Sent: Wednesday, March 4, 2015 00:14 To: Simon Peyton Jones Cc: ghc-devs@haskell.org This must be fallout from the VEH handler change I pushed earlier - 5200bdeb26c5ec98739b14b10fc8907296bceeb9. I'll try to fix/revert shortly. On Tue, Mar 3, 2015 at 4:30 PM, Simon Peyton Jones <simonpj@microsoft.com> wrote:
AAARGH! Windows build is broken again.
Please can someone fix?
In file included from rts\RtsMain.c:12:0:
rts\PosixSource.h:31:0: error: "__USE_MINGW_ANSI_STDIO" redefined
c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/_mingw.h:280:0: note: this is the location of the previous definition
rts/ghc.mk:243: recipe for target 'rts/dist/build/RtsMain.o' failed
make[1]: *** [rts/dist/build/RtsMain.o] Error 1
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Hi Simon, Austin https://phabricator.haskell.org/D698 should fix the build. validate runs cleanly through. My apologies again, my last few builds were using ./validate --no-clean by my are-validating.mk was missing so it wasn’t compiling with -Werror. Regards, Tamar From: Austin Seipp Sent: Wednesday, March 4, 2015 00:14 To: Simon Peyton Jones Cc: ghc-devs@haskell.org This must be fallout from the VEH handler change I pushed earlier - 5200bdeb26c5ec98739b14b10fc8907296bceeb9. I'll try to fix/revert shortly. On Tue, Mar 3, 2015 at 4:30 PM, Simon Peyton Jones <simonpj@microsoft.com> wrote:
AAARGH! Windows build is broken again.
Please can someone fix?
In file included from rts\RtsMain.c:12:0:
rts\PosixSource.h:31:0: error: "__USE_MINGW_ANSI_STDIO" redefined
c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/_mingw.h:280:0: note: this is the location of the previous definition
rts/ghc.mk:243: recipe for target 'rts/dist/build/RtsMain.o' failed
make[1]: *** [rts/dist/build/RtsMain.o] Error 1
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Thanks for a prompt fix! From: Tamar Christina [mailto:lonetiger@gmail.com] Sent: 04 March 2015 00:47 To: Austin Seipp; Simon Peyton Jones Cc: ghc-devs@haskell.org Subject: Re: Windows build broken Hi Simon, Austin https://phabricator.haskell.org/D698 should fix the build. validate runs cleanly through. My apologies again, my last few builds were using ./validate --no-clean by my are-validating.mk was missing so it wasn’t compiling with -Werror. Regards, Tamar From: Austin Seipp<mailto:austin@well-typed.com> Sent: Wednesday, March 4, 2015 00:14 To: Simon Peyton Jones<mailto:simonpj@microsoft.com> Cc: ghc-devs@haskell.org<mailto:ghc-devs@haskell.org> This must be fallout from the VEH handler change I pushed earlier - 5200bdeb26c5ec98739b14b10fc8907296bceeb9. I'll try to fix/revert shortly. On Tue, Mar 3, 2015 at 4:30 PM, Simon Peyton Jones <simonpj@microsoft.com<mailto:simonpj@microsoft.com>> wrote:
AAARGH! Windows build is broken again.
Please can someone fix?
In file included from rts\RtsMain.c:12:0:
rts\PosixSource.h:31:0: error: "__USE_MINGW_ANSI_STDIO" redefined
c:\code\head\inplace\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/_mingw.h:280:0: note: this is the location of the previous definition
rts/ghc.mk:243: recipe for target 'rts/dist/build/RtsMain.o' failed
make[1]: *** [rts/dist/build/RtsMain.o] Error 1
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org<mailto:ghc-devs@haskell.org> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org<mailto:ghc-devs@haskell.org> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (3)
-
Austin Seipp -
Simon Peyton Jones -
Tamar Christina