[llvm-dev] [RFC] Increase minimum supported GCC version for building LLVM to 4.8

Hal Finkel via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 12 16:09:18 PDT 2016


This makes sense to me. Especially since, in practice, we've already done it ;) 

-Hal 

----- Original Message -----

> From: "Reid Kleckner via llvm-dev" <llvm-dev at lists.llvm.org>
> To: "Teresa Johnson" <tejohnson at google.com>
> Cc: "llvm-dev" <llvm-dev at lists.llvm.org>
> Sent: Wednesday, October 12, 2016 6:05:39 PM
> Subject: Re: [llvm-dev] [RFC] Increase minimum supported GCC version
> for building LLVM to 4.8

> +1. I've been bitten by the 4.7 STL's lack of std::map::emplace a few
> times, so I support this.

> On Wed, Oct 12, 2016 at 3:51 PM, Teresa Johnson via llvm-dev <
> llvm-dev at lists.llvm.org > wrote:

> > According to the documentation at
> > http://llvm.org/docs/GettingStarted.html#software , compiling LLVM
> > with GCC requires at least version 4.7.0. However, there are
> > apparently several problems building current LLVM/Clang with gcc
> > 4.7.X. This proposal is to increase the minimum required GCC to
> > 4.8.
> 

> > This is split off of the thread started here:
> 
> > http://lists.llvm.org/pipermail/llvm-dev/2016-October/105742.html
> 
> > which is a fairly recent regression in being able to compile
> > LTO.cpp
> > with GCC 4.7.4, which I tracked down to a known GCC bug.
> 

> > According to James Knight, it is not the only place where GCC 4.7.X
> > cannot compile the clang toolchain, which apparently hasn't been
> > buildable by GCC 4.7.X in >3 months:
> 
> > http://lists.llvm.org/pipermail/llvm-dev/2016-October/105825.html
> 

> > Renato also suggests bumping the minimum to 4.8, as that is the
> > oldest shipped version in most stable Linux distributions:
> 
> > http://lists.llvm.org/pipermail/llvm-dev/2016-October/105826.html
> 

> > We currently have many buildbots building with GCC 4.8, but none
> > with
> > GCC 4.7.X, which is why this issue was not discovered previously.
> 

> > Thoughts?
> 

> > Thanks,
> 
> > Teresa
> 

> > --
> 

> > Teresa Johnson | 	Software Engineer | 	tejohnson at google.com |
> > 	408-460-2413
> 
> > _______________________________________________
> 
> > 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

-- 

Hal Finkel 
Lead, Compiler Technology and Programming Languages 
Leadership Computing Facility 
Argonne National Laboratory 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161012/80206d5a/attachment.html>


More information about the llvm-dev mailing list