mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "James Yu" <cyu021@gmail.com>
To: "Willy Tarreau" <willy@w.ods.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: weird behavior from kernel
Date: Sun, 12 Mar 2006 17:25:11 +0800	[thread overview]
Message-ID: <60bb95410603120125n24c3a283xe1fabeb255c8c59b@mail.gmail.com> (raw)
In-Reply-To: <20060312084632.GB21493@w.ods.org>

The major reason to choose 2.4.18 as my dev base is that the dev is
ment to be carried out on a custom ARM board, and there isn't any
2.6's port available.

I'll try that "-fno-strength-reduce" option and see how it goes.
More comments are welcome.
cheers,

On 3/12/06, Willy Tarreau <willy@w.ods.org> wrote:
> It might be a wrong gcc optimization which generates bad code. If you're
> working on such an old kernel (about 5 years old), maybe you're using
> and old, broken compiler too ? gcc-2.95[.1], gcc-2.96, 3.0 and 3.1 have
> been known to produce bad code for a long time. Also ensure that you
> pass the "-fno-strength-reduce" option to gcc.
>
> Anyway, if you're starting a new dev, I would suggest using a more
> recent kernel : 2.6.1[56] or 2.4.32 if you need 2.4.
>
> regards,
> Willy
>
>


--
James
cyu021@gmail.com

  reply	other threads:[~2006-03-12  9:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-12  3:23 James Yu
2006-03-12  8:46 ` Willy Tarreau
2006-03-12  9:25   ` James Yu [this message]
2006-03-12 21:37     ` Ben Dooks
2006-03-13  7:41       ` James Yu
2006-03-13  9:11         ` Willy Tarreau
2006-03-13 10:23         ` Ben Dooks

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=60bb95410603120125n24c3a283xe1fabeb255c8c59b@mail.gmail.com \
    --to=cyu021@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=willy@w.ods.org \
    /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®