Messages in this thread | | | Date | Thu, 4 Oct 2007 19:08:43 +0400 | From | "Alexey Dobriyan" <> | Subject | Re: [bug] crash when reading /proc/mounts (was: Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..) |
| |
On 10/4/07, Adrian Bunk <bunk@kernel.org> wrote: > On Wed, Oct 03, 2007 at 08:11:05AM -0700, Linus Torvalds wrote: > >... > > and btw, there is no question what-so-ever about whether your compiler > > might be doing a legal optimization - the compiler really is wrong, and is > > total shit. You need to make a gcc bug-report. > >... > > Ingo can't send a gcc bug-report since gcc 4.0 is no longer supported > upstream and a 4.1.2 compiler was confirmed to work.
Ingo can upgrade to 4.0.4. :-)
> Our only options are to either stop supporting the broken gcc versions > as compiler for the kernel or to work around this compiler bug in the > kernel.
Distro can backport a fix for miscompilation while leaving, say, __GNUC_MINOR__ intact, so banning version numbers aren't terribly useful.
Perhaps, someone should write a script/test program to check for known miscompilations. to cure himself from deprecation disease.
Alexey "make cc_check" Dobriyan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |