mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Adrian Bunk <bunk@kernel.org>
Cc: linux-kernel@vger.kernel.org, Vegard Nossum <vegard.nossum@gmail.com>
Subject: Re: [2.6.27 patch] #error for gcc 4.1.{0,1}
Date: Wed, 13 Aug 2008 13:57:49 -0700	[thread overview]
Message-ID: <20080813135749.b9985fcc.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080813204445.GA7071@cs181140183.pp.htv.fi>

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!

  reply	other threads:[~2008-08-13 20:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-13 20:44 Adrian Bunk
2008-08-13 20:57 ` Andrew Morton [this message]
2008-08-13 21:22   ` Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080813135749.b9985fcc.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vegard.nossum@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®