[llvm-dev] unable to compile llvm with gcc 4.7.4

James Y Knight via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 11 13:52:00 PDT 2016


+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.

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/Checkers/MallocOverflowSecurityChecker.cpp (even
after the commit which says it fixes it), and possibly more issues besides
(I didn't attempt to comprehensively catalog the errors).

On Tue, Oct 11, 2016 at 1:28 PM, Martin J. O'Riordan via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> 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?
>
> Devil's Advocate,
>
>         MartinO
>
> -----Original Message-----
> From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of
> Renato Golin via llvm-dev
> Sent: 11 October 2016 18:01
> To: Sylvain Bertrand <sylvain.bertrand at gmail.com>
> Cc: llvm-dev <llvm-dev at lists.llvm.org>; Peter Collingbourne <
> pcc at google.com>
> Subject: Re: [llvm-dev] unable to compile llvm with gcc 4.7.4
>
> On 11 October 2016 at 17:35,  <sylvain.bertrand at gmail.com> wrote:
> > Those bots should have been the first to be set up. Hope you can fix
> this soon.
>
> 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.
>
> 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).
>
> 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.
>
> Can you upgrade to 4.8?
>
> cheers,
> --renato
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161011/8d70e61b/attachment.html>


More information about the llvm-dev mailing list