Pete Cooper via llvm-dev
2016-Oct-12 23:59 UTC
[llvm-dev] [RFC] Increase minimum supported GCC version for building LLVM to 4.8
+1 from me. But which version of 4.8.x? 4.8.0 was released in March 2013 while 4.8.5 is June 2015 (see https://gcc.gnu.org/releases.html <https://gcc.gnu.org/releases.html>) Thats an awfully long time between those dates, so i can’t imagine everyone being on 4.8.5, but shouldn’t we aim for the highest possible one if we’re bumping versions anyway? Looking at Ubuntu 14.04 LTS (http://packages.ubuntu.com/search?keywords=gcc-4.8 <http://packages.ubuntu.com/search?keywords=gcc-4.8>), appears that 4.8.4 is available for many platforms, so if possible that might be a good version to do. Cheers, Pete> On Oct 12, 2016, at 4:28 PM, Joerg Sonnenberger via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > On Wed, Oct 12, 2016 at 03:51:07PM -0700, Teresa Johnson via llvm-dev 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. > > Fine with me. > > Joerg > _______________________________________________ > 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/20161012/3a209e27/attachment.html>
Renato Golin via llvm-dev
2016-Oct-13 08:36 UTC
[llvm-dev] [RFC] Increase minimum supported GCC version for building LLVM to 4.8
They're all similar in features support. The long range of dates is just because they're better at long term support than we are. :-) Different distros will have different dot versions, but they are essentially the same for our purposes (c++ support). Cheers, Renato On 13 Oct 2016 12:59 a.m., "Pete Cooper via llvm-dev" < llvm-dev at lists.llvm.org> wrote:> +1 from me. > > But which version of 4.8.x? 4.8.0 was released in March 2013 while 4.8.5 > is June 2015 (see https://gcc.gnu.org/releases.html) > > Thats an awfully long time between those dates, so i can’t imagine > everyone being on 4.8.5, but shouldn’t we aim for the highest possible one > if we’re bumping versions anyway? > > Looking at Ubuntu 14.04 LTS (http://packages.ubuntu.com/ > search?keywords=gcc-4.8), appears that 4.8.4 is available for many > platforms, so if possible that might be a good version to do. > > Cheers, > Pete > > On Oct 12, 2016, at 4:28 PM, Joerg Sonnenberger via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > On Wed, Oct 12, 2016 at 03:51:07PM -0700, Teresa Johnson via llvm-dev > 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. > > > Fine with me. > > Joerg > _______________________________________________ > 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/20161013/9e812be6/attachment.html>
Joerg Sonnenberger via llvm-dev
2016-Oct-13 09:05 UTC
[llvm-dev] [RFC] Increase minimum supported GCC version for building LLVM to 4.8
On Wed, Oct 12, 2016 at 04:59:16PM -0700, Pete Cooper wrote:> Thats an awfully long time between those dates, so i can’t imagine > everyone being on 4.8.5, but shouldn’t we aim for the highest possible > one if we’re bumping versions anyway?I don't know the specific bug history of GCC 4.8.x, but updating to a different tiny version is *much* less involved, since you typically only care about codegen fixes. In case it matters, NetBSD 7.0 ships a January 2015 snapshot of GCC, between 4.8.4 and 4.8.5. Joerg
Renato Golin via llvm-dev
2016-Oct-13 10:01 UTC
[llvm-dev] [RFC] Increase minimum supported GCC version for building LLVM to 4.8
On 13 October 2016 at 10:05, Joerg Sonnenberger via llvm-dev <llvm-dev at lists.llvm.org> wrote:> In case it matters, NetBSD 7.0 ships a January 2015 snapshot of GCC, > between 4.8.4 and 4.8.5.Ubuntu Trusty ships 4.8.2 and I have a RedHat with 4.8.3. It shouldn't really matter which dot version, they're mostly bug fixes, not additional support. In practice... * If LLVM builds with 4.8.0 but not with 4.8.2, it probably means there's a bug in LLVM that needs fixing. * if LLVM builds with 4.8.2 but not with 4.8.0, it probably means there's a bug in 4.8.0 that was fixed in 4.8.3. Sometimes, the latter case is also platform specific. We used to have a long list of those cases pre 4.7, but they seem to have all disappeared by now. So, unless we have specific concerns, we should not specify the dot version, just say "4.8". cheers, --renato