Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1543956

Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6?

From Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Newsgroups linux.kernel
Subject Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6?
Date 2016-12-17 12:40 +0100
Message-ID <sPlvj-A6-5@gated-at.bofh.it> (permalink)
References <sOYp3-2rU-5@gated-at.bofh.it> <sP4b7-6vt-1@gated-at.bofh.it> <sP8Rs-Yj-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2016-12-16 23:00:27 [+0100], Arnd Bergmann wrote:
> On Friday, December 16, 2016 6:00:43 PM CET Sebastian Andrzej Siewior wrote:
> > On 2016-12-16 11:56:21 [+0100], Arnd Bergmann wrote:
> > > The original gcc-4.3 release was in early 2008. If we decide to still
> > > support that, we probably want the first 10 quirks in this series,
> > > while gcc-4.6 (released in 2011) requires none of them.
> > 
> > It this min gcc thingy ARM only?
> 
> This is part of the question that I'm trying to figure out myself.
> 
> Clearly having the same minimum version across all architectures simplifies
> things a lot, because many of the bugs in old versions are architecture
> independent. 

agreed.

> Then again, some architectures implicitly require a new version
> because an old one never existed (e.g. arm64 or risc-v), while some other
> architectures may require an old version.

A new version is understandable. But why is an old version required?
One thing is an enterprise distro that is "current" or "supported" and still
stuck with gcc 4.1 because that is the version they decided to include in
their release. This is sad. But you might want to ask yourself why you want
the latest kernel but an old gcc / binutils.

If you have an architecture that compiles with gcc v4.1 and not with gcc
latest stable / trunk then it is a sign that this port is not supported
properly / not heatly. One thing is something like avr32 which is not part of
upstream gcc due to some legal reason (that was my understanding a few years
ago). It might get to a problem for them once large parts of userland switch
to a later C++ standard which is gcc-5+.

> 	Arnd

Sebastian

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2016-12-16 12:10 +0100
  [PATCH 01/13] [HACK] gcc-4.5: avoid  link errors for unused function pointers Arnd Bergmann <arnd@arndb.de> - 2016-12-16 12:10 +0100
  Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2016-12-16 12:20 +0100
  Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Geert Uytterhoeven <geert@linux-m68k.org> - 2016-12-16 17:10 +0100
    Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2016-12-16 21:00 +0100
      Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Geert Uytterhoeven <geert@linux-m68k.org> - 2016-12-16 21:40 +0100
  Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Sebastian Andrzej Siewior <sebastian@breakpoint.cc> - 2016-12-16 18:10 +0100
    Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2016-12-16 23:10 +0100
      Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Sebastian Andrzej Siewior <sebastian@breakpoint.cc> - 2016-12-17 12:40 +0100
        Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-01-02 13:30 +0100
      Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Heiko Carstens <heiko.carstens@de.ibm.com> - 2016-12-20 11:00 +0100

csiph-web