<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.m5120243049604301570code, li.m5120243049604301570code, div.m5120243049604301570code
{mso-style-name:m_5120243049604301570code;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I’ve pushed the commit. Thanks Doug!</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:douglas.wilson@gmail.com">Douglas Wilson</a><br><b>Sent: </b>Wednesday, February 7, 2018 23:33<br><b>To: </b><a href="mailto:simonpj@microsoft.com">Simon Peyton Jones</a><br><b>Cc: </b><a href="mailto:ghc-devs@haskell.org">ghc-devs</a><br><b>Subject: </b>Re: Windows build broken -- help!</p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hi Simon,</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The first patch you quoted half-fixed this.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>the patch here: </p></div><div><p class=MsoNormal><a href="https://phabricator.haskell.org/D4392">https://phabricator.haskell.org/D4392</a></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>should fix whole-fix it. (It at least validates green on windows)</p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Feb 8, 2018 at 12:18 PM, Simon Peyton Jones via ghc-devs <<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>> wrote:</p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB>PS Presumably it’s these commits<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>commit 00f1a4ab80b201ce15c509126f89c5a108786f32<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>Author: Douglas Wilson <<a href="mailto:douglas.wilson@gmail.com" target="_blank">douglas.wilson@gmail.com</a>><o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>Date: Tue Feb 6 17:27:32 2018 -0500<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> rts: fix some barf format specifiers.<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> Reviewers: bgamari, erikd, simonmar<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> Reviewed By: bgamari<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> Subscribers: rwbarton, thomie, carter<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> Differential Revision: <a href="https://phabricator.haskell.org/D4390" target="_blank">https://phabricator.haskell.org/D4390</a><o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>commit 4d1c3b72ec27c8e51fb40809bba3ce35246a2966<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>Author: Ben Gamari <<a href="mailto:bgamari.foss@gmail.com" target="_blank">bgamari.foss@gmail.com</a>><o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>Date: Tue Feb 6 13:27:35 2018 -0500<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> rts: Add format attribute to barf<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> Test Plan: Validate<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> Reviewers: erikd, simonmar<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> Reviewed By: simonmar<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> Subscribers: rwbarton, thomie, carter<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> Differential Revision: <a href="https://phabricator.haskell.org/D4374" target="_blank">https://phabricator.haskell.org/D4374</a><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a name="m_5120243049604301570__MailEndCompose"><span lang=EN-GB> </span></a><span lang=EN-GB><o:p></o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> ghc-devs [mailto:<a href="mailto:ghc-devs-bounces@haskell.org" target="_blank">ghc-devs-bounces@haskell.org</a>] <b>On Behalf Of </b>Simon Peyton Jones via ghc-devs<br><b>Sent:</b> 07 February 2018 23:14<br><b>To:</b> ghc-devs <<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>>; Phyx <<a href="mailto:lonetiger@gmail.com" target="_blank">lonetiger@gmail.com</a>><br><b>Subject:</b> Windows build broken -- help!<span lang=EN-GB><o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB>Aargh. Windows build is broken again. Log below. Help!<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB>Simon<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>"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-Wundef -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 -Wcpp-undef -Wnoncanonical-monad-instances -c rts/StgPrimFloat.c -o rts/dist/build/StgPrimFloat.o<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>rts\Schedule.c:274:14: error:<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> error: unknown conversion type character 'l' in format [-Werror=format=]<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> barf("sched_state: %" FMT_Word, sched_state);<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> ^~~~~~~~~~~~~~~~<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> |<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>274 | barf("sched_state: %" FMT_Word, sched_state);<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> | ^<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>In file included from C:/code/HEAD-1/inplace/mingw/x86_64-w64-mingw32/include/stdio.h:1036:0,<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> from includes/rts/Flags.h:16,<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> from includes/Rts.h:191,<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> from rts\Schedule.c:11:0: error: <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>C:/code/HEAD-1/inplace/mingw/x86_64-w64-mingw32/include/_mingw_print_pop.h:86:18: note: format string is defined here<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>#define PRIu64 "llu"<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> ^<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> <o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>rts\Schedule.c:274:14: error:<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> error: too many arguments for format [-Werror=format-extra-args]<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> barf("sched_state: %" FMT_Word, sched_state);<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> ^~~~~~~~~~~~~~~~<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> |<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>274 | barf("sched_state: %" FMT_Word, sched_state);<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB> | ^<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>cc1.exe: all warnings being treated as errors<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>`gcc.exe' failed in phase `C Compiler'. (Exit code: 1)<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>"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-Wundef -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 -Wcpp-undef -Wnoncanonical-monad-instances -c rts/Profiling.c -o rts/dist/build/Profiling.o<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>make[1]: *** [rts/<a href="http://ghc.mk:295" target="_blank">ghc.mk:295</a>: rts/dist/build/Schedule.o] Error 1<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>make[1]: *** Waiting for unfinished jobs....<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>make: *** [Makefile:127: all] Error 2<o:p></o:p></span></p><p class=m5120243049604301570code><span lang=EN-GB>/c/code/HEAD-1$<o:p></o:p></span></p></div></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>ghc-devs mailing list<br><a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a></p></blockquote></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>