lkml.org 
[lkml]   [2008]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6.27 patch] #error for gcc 4.1.{0,1}
On Wed, 13 Aug 2008 23:44:45 +0300
Adrian Bunk <bunk@kernel.org> wrote:

> gcc 4.1.0 and 4.1.1 are known to miscompile the kernel:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27781
>
> Usage of weak functions has become a common pattern in the kernel, and
> usages get added in each kernel version increasing the probability of
> bugs with each kernel release.
>
> This miscompilation of weak functions can result in subtle runtime
> errors.
>
> #error for gcc 4.1.0 and 4.1.1 to prevent users from running into
> this bug.
>
> Note:
> We already printed a #warning for gcc 4.1.0 due to a different bug.

I've been hiding from this because it would wreck a lot of my
cross-compilers, which quite a few other people are using as well.

Vegard, save us!


\
 
 \ /
  Last update: 2008-08-13 23:01    [W:0.058 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site