<div dir="ltr">+1 for calling 4.8 the minimum version. It appears that the last time 4.7 (at least, the one in ubuntu, "gcc-4.7 (Ubuntu/Linaro 4.7.3-12ubuntu1) 4.7.3") could actually compile clang was July 8th -- about 3 months ago.<div><br><div>Besides this reported error, it also doesn't like "<::", which have been introduced in various places, it has some issue with the lambda in clang/lib/StaticAnalyzer/Check<wbr>ers/MallocOverflowSecurityChec<wbr>ker.cpp (even after the commit which says it fixes it), and possibly more issues besides (I didn't attempt to comprehensively catalog the errors).<br><div><br></div><div><div><div class="gmail_extra"><div class="gmail_quote">On Tue, Oct 11, 2016 at 1:28 PM, Martin J. O'Riordan via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Why is it more important to be backward compatible with ancient versions of GCC than relatively more recent versions of Visual Studio?  We are removing support for VS2013 because of defects in that product, yet GCC v4.7.x is more ancient than VS2013, so why should the answer be any different?<br>
<br>
Devil's Advocate,<br>
<br>
        MartinO<br>
<div class="gmail-m_5127561770626753547m_-5876378379042546368gmail-m_5078172597362812574HOEnZb"><div class="gmail-m_5127561770626753547m_-5876378379042546368gmail-m_5078172597362812574h5"><br>
-----Original Message-----<br>
From: llvm-dev [mailto:<a href="mailto:llvm-dev-bounces@lists.llvm.org" target="_blank">llvm-dev-bounces@lists<wbr>.llvm.org</a>] On Behalf Of Renato Golin via llvm-dev<br>
Sent: 11 October 2016 18:01<br>
To: Sylvain Bertrand <<a href="mailto:sylvain.bertrand@gmail.com" target="_blank">sylvain.bertrand@gmail.com</a>><br>
Cc: llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>>; Peter Collingbourne <<a href="mailto:pcc@google.com" target="_blank">pcc@google.com</a>><br>
Subject: Re: [llvm-dev] unable to compile llvm with gcc 4.7.4<br>
<br>
On 11 October 2016 at 17:35,  <<a href="mailto:sylvain.bertrand@gmail.com" target="_blank">sylvain.bertrand@gmail.com</a>> wrote:<br>
> Those bots should have been the first to be set up. Hope you can fix this soon.<br>
<br>
We had 4.7 bots for a long time, but migrations happen, and we probably (separately) didn't expect to be the last 4.7 ones. This was a coordination problem.<br>
<br>
Now, there are talks to upgrade the GCC version from 4.7, but we can't do 4.9 because many stable distributions still 4.8, but we can do 4.8, which has enough buildbots (and will for the long term).<br>
<br>
I'm not saying this is a "fix" for your problem, but your problem would happen any time soon when we move the GCC version up anyway.<br>
<br>
Can you upgrade to 4.8?<br>
<br>
cheers,<br>
--renato<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div></div></div></div></div></div>