Re: RFC: drop support for gcc < 4.0

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Tuesday, August 21, 2007 - 12:54 pm

On Tue, Aug 21, 2007 at 09:19:59PM +0200, Andi Kleen wrote:

How many kernel developers use such old gcc versions?

And how many people notice the valid modpost warnings that can indicate
a runtime Oops?


The example [2] from my email is guaranteed to not be a problem with 
unit-at-a-time (as long as unit-at-a-time implies 
inline-functions-called-once - and that's although theoretically 
possible quite unlikely to change in practice).

This example is for a bug that should be fixed, but my point is the
maintainability, IOW: issues with older compilers might not be 
discovered and fixed before they go into a stable kernel.

We currently support 6 different stable gcc release series plus heavily 
modified vendor branches like 3.3-hammer. We can discuss whether it is 
now already the right time, and where to make the cut, but medium-term 
we must reduce the number of supported compilers.


cu
Adrian

[2] example: static __init function with exactly one caller, and this
             caller is non-__init

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23-rc3-git3 make warnings, Jarek Poplawski, (Tue Aug 21, 6:20 am)
Re: [Git Patch] ACPI: Fix a warning of discarding qualifie ..., Alexey Starikovskiy, (Tue Aug 21, 8:14 am)
Re: [Git Patch] ACPI: Fix a warning of discarding qualifie ..., Alexey Starikovskiy, (Tue Aug 21, 8:22 am)
Re: 2.6.23-rc3-git3 make warnings, WANG Cong, (Tue Aug 21, 9:17 am)
Re: 2.6.23-rc3-git3 make warnings, Randy Dunlap, (Tue Aug 21, 9:31 am)
Re: 2.6.23-rc3-git3 make warnings, Greg KH, (Tue Aug 21, 9:44 am)
Re: 2.6.23-rc3-git3 make warnings, Adrian Bunk, (Tue Aug 21, 9:57 am)
RFC: drop support for gcc &lt; 4.0, Adrian Bunk, (Tue Aug 21, 10:35 am)
Re: RFC: drop support for gcc &lt; 4.0, Russell King, (Tue Aug 21, 10:54 am)
Re: RFC: drop support for gcc &lt; 4.0, Kyle McMartin, (Tue Aug 21, 11:14 am)
Re: RFC: drop support for gcc &lt; 4.0, Chris Wedgwood, (Tue Aug 21, 11:25 am)
Re: RFC: drop support for gcc &lt; 4.0, Adrian Bunk, (Tue Aug 21, 11:29 am)
Re: RFC: drop support for gcc &lt; 4.0, Andi Kleen, (Tue Aug 21, 12:19 pm)
Re: RFC: drop support for gcc < 4.0, Adrian Bunk, (Tue Aug 21, 12:54 pm)
Re: [RFC][PATCH] introduce TASK_SIZE_OF() for all arches, Matthew Wilcox, (Tue Aug 21, 1:07 pm)
Re: RFC: drop support for gcc &lt; 4.0, Linus Torvalds, (Tue Aug 21, 1:08 pm)
Re: RFC: drop support for gcc &lt; 4.0, Adrian Bunk, (Tue Aug 21, 1:21 pm)
Re: RFC: drop support for gcc &lt; 4.0, Linus Torvalds, (Tue Aug 21, 1:32 pm)
Re: RFC: drop support for gcc &lt; 4.0, Glauber de Oliveira ..., (Tue Aug 21, 1:41 pm)
Re: RFC: drop support for gcc &lt; 4.0, Segher Boessenkool, (Tue Aug 21, 1:49 pm)
Re: RFC: drop support for gcc &lt; 4.0, Segher Boessenkool, (Tue Aug 21, 1:56 pm)
Re: RFC: drop support for gcc &lt; 4.0, Glauber de Oliveira ..., (Tue Aug 21, 2:01 pm)
Re: RFC: drop support for gcc &lt; 4.0, Adrian Bunk, (Tue Aug 21, 2:21 pm)
RFC: drop support for gcc &lt; 4.0, Oliver Pinter, (Tue Aug 21, 2:41 pm)
Re: RFC: drop support for gcc &lt; 4.0, James Bottomley, (Tue Aug 21, 2:49 pm)
Re: RFC: drop support for gcc &lt; 4.0, Adrian Bunk, (Tue Aug 21, 3:09 pm)
Re: RFC: drop support for gcc &lt; 4.0, Segher Boessenkool, (Tue Aug 21, 5:08 pm)
Re: RFC: drop support for gcc &lt; 4.0, Robert P. J. Day, (Tue Aug 21, 10:48 pm)
Re: RFC: drop support for gcc &lt; 4.0, Jarek Poplawski, (Tue Aug 21, 11:07 pm)
Re: RFC: drop support for gcc &lt; 4.0, Thomas Bogendoerfer, (Tue Aug 21, 11:59 pm)
Re: RFC: drop support for gcc &lt; 4.0, Jarek Poplawski, (Wed Aug 22, 12:36 am)
Re: RFC: drop support for gcc &lt; 4.0, Jan Engelhardt, (Wed Aug 22, 12:57 am)
Re: RFC: drop support for gcc &lt; 4.0, Jarek Poplawski, (Wed Aug 22, 1:08 am)
Re: RFC: drop support for gcc &lt; 4.0, Jan Engelhardt, (Wed Aug 22, 1:10 am)
Re: RFC: drop support for gcc &lt; 4.0, Michal Piotrowski, (Wed Aug 22, 1:42 am)
Re: RFC: drop support for gcc &lt; 4.0, Martin Michlmayr, (Wed Aug 22, 1:48 am)
Re: RFC: drop support for gcc &lt; 4.0, Jarek Poplawski, (Wed Aug 22, 1:56 am)
Re: RFC: drop support for gcc &lt; 4.0, Ralf Baechle, (Wed Aug 22, 11:15 am)