lkml.org 
[lkml]   [2010]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] x86: don't compile with gcc-3.3.3
On Mon, 13 Sep 2010 08:56:39 -0700
"H. Peter Anvin" <hpa@zytor.com> wrote:

> On 09/13/2010 01:39 AM, Peter Zijlstra wrote:
> > On Mon, 2010-09-13 at 10:31 +0200, florian@mickler.org wrote:
> >> hpa commented on bug 16506[1] :
> >> "Please note that gcc-3.3.3 is known broken on x86; gcc-3.4 is the oldest
> >> version which is known to *not* be broken."
> >>
> >> References:
> >> [0]: https://bugzilla.kernel.org/show_bug.cgi?id=16633
> >> [1]: https://bugzilla.kernel.org/show_bug.cgi?id=16506#c28
> >>
> >> If that is indeed so, we should abort the build? No?
> >
> > Does it in fact still build with 3.4? I seem to recall some talk about
> > pushing the minimum version to 4.x for x86, although I can't remember
> > where..
>
> It does indeed still build with 3.4, although it is giving us a bunch of
> headaches to *make it so*, and I would personally be really glad if the
> consensus is we can just axe it.
>
> The only reason to not abort the build for gcc 3.3.3 is that soem
> "enterprise" distros have been shipping gcc 3.3.3 with backported fixes
> from 3.4, which of course still identifies themselves as gcc 3.3.3, and
> so technically it is iompossioble to tell if any particular "gcc 3.3.3"
> is actually broken or not.
>
> However, as far as I can tell, most of the people who build current x86
> kernels with gcc 3.x are people who are testing building current kernels
> with gcc 3.x. Some of the embedded systems are different, because for
> some strange reasons most of the embedded world seem stuck on gcc 3.4 or so.

Well, all _I_ can add, that there are people (2 I know
from the above bug reports to be precise) who spent hours (? well I
guess, at least some minutes) debugging old gcc bugs and just to have
some (please take no offense, I'm just trying to tell how it must look
to them) random guy tell them in the bugzilla "na na, we know about this
already and we don't fix it, na na" ...

Also the patch above checks actually for 4.4.3 which is obvioulsy
wrong ;)

The enterprise distro issue is a little bit of an annoyance.. but they
should perhaps give us an opportunity to distinguish between their
(working) gcc and the stock broken one. I'm totally not opposed to any
ugly hack to make that distinguishing over here. But not fixing the
issues above seems to hurt the mainline linux kernel.

Cheers,
Flo

>
> -hpa
>


\
 
 \ /
  Last update: 2010-09-13 18:23    [W:0.061 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site