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


Groups > linux.kernel > #1628755

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

From "Maciej W. Rozycki" <macro@linux-mips.org>
Newsgroups linux.kernel
Subject Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6?
Date 2017-04-22 05:20 +0200
Message-ID <tyTKx-5Vo-1@gated-at.bofh.it> (permalink)
References (2 earlier) <twYv0-7Im-13@gated-at.bofh.it> <tyhlU-7Gn-7@gated-at.bofh.it> <tyqpb-4ED-13@gated-at.bofh.it> <tyNOO-1YA-3@gated-at.bofh.it> <tyNYu-2gR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 21 Apr 2017, Kees Cook wrote:

> > The linux-4.2 x86 defconfig could still be built with gcc-4.0, but
> > later kernels have several minor problems with that, and
> > require at least gcc-4.3.
> >
> > If we are ok with this status quo, we could simply declare gcc-4.3
> > the absolute minimum version for the kernel, make gcc-4.9
> > the recommeded minimum version, and remove all workarounds
> > for gcc-4.2 or older.
> 
> I think starting with this would be a good first step. I'm not sure
> the best way to add "recommended minimum" to
> Documentation/process/changes.rst hmmm

 FWIW for some reasons (mainly the ability to avoid NPTL) I have stuck to 
GCC 4.1.2 with some MIPS configurations and I've had no issues with that 
compiler up to Linux 4.6.0, which is the last kernel version I have tried 
with that compiler so far.  I could check if anything has regressed since 
then I suppose.

  Maciej

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


Thread

Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Kees Cook <keescook@chromium.org> - 2017-04-16 22:00 +0200
  Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2017-04-20 12:20 +0200
    Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Kees Cook <keescook@chromium.org> - 2017-04-20 22:00 +0200
      Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2017-04-21 23:00 +0200
        Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Kees Cook <keescook@chromium.org> - 2017-04-21 23:10 +0200
          Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? "Maciej W. Rozycki" <macro@linux-mips.org> - 2017-04-22 05:20 +0200
            Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2017-04-22 17:40 +0200
              Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Geert Uytterhoeven <geert@linux-m68k.org> - 2017-04-23 22:20 +0200
                Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2017-04-24 11:50 +0200
                Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Geert Uytterhoeven <geert@linux-m68k.org> - 2017-04-24 12:20 +0200
                Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2017-04-24 16:20 +0200
                Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? "Maciej W. Rozycki" <macro@linux-mips.org> - 2017-04-24 19:00 +0200
                Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2017-04-24 19:40 +0200
                Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Geert Uytterhoeven <geert@linux-m68k.org> - 2017-04-24 20:20 +0200
                Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? "Maciej W. Rozycki" <macro@linux-mips.org> - 2017-04-24 20:40 +0200
                Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6? Arnd Bergmann <arnd@arndb.de> - 2017-04-24 22:40 +0200

csiph-web