<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-01-17 19:49 GMT+01:00 Holger Freyther <span dir="ltr"><<a href="mailto:holger@freyther.de" target="_blank">holger@freyther.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On 17 Jan 2017, at 19:43, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
><br>
> Hi Nicolas, Hi Esteban,<br>
<br>
Hi all,<br>
<br>
<br>
<br>
><br>
>     so is it feasible to insist on clang?  The mingw compiler is ancient, so my preference is to move to clang.  If so, could someone update the HowToBuild to describe the problem with mingw and how to install the clang-based toolchain?<br>
<span class="gmail-"><br>
<br>
> from cygwin (or cygwin64) shell:<br>
><br>
> $ i686-w64-mingw32-gcc --version<br>
> i686-w64-mingw32-gcc (GCC) 5.4.0<br>
> Copyright (C) 2015 Free Software Foundation, Inc.<br>
> This is free software; see the source for copying conditions.  There is NO<br>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
<br>
<br>
</span>maybe I am missing something but GCC 5.4 was released in Summer 2016 and is<br>
still supported. Couldn't it be that the better optimizers in GCC expose an<br>
issue that clang is not capable of exposing (yet?)?<br>
<br>
just my two cents<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
        holger</font></span></blockquote></div><br><div class="gmail_extra">Hi Holger,<br></div><div class="gmail_extra">maybe... One should compile with -O0 to check if it's really about optimization and retry if it solves anything.<br></div><div class="gmail_extra">If yes, then play the game of selecting each individual optimization option.<br><br></div>What I know is that the mingw version of gcc have strange stack management 
with bytes reserved below alloca which is causing some complications in our 
implemenation of FFI.<br></div><div class="gmail_extra">Personnally I don't have a clue of the reason behind the difference with linux gcc, so without further information, I tend to perceive such differences as a useless and never-ending-source of complications. I'm speaking for myself, but maybe Eliot has the same feeling.<br><br></div><div class="gmail_extra">Not sure that it's a great choice to abandon gcc support, but it's quite tempting in those circumstances ;)<br><br></div></div>