Messages in this thread |  | | | Date | Sun, 12 Mar 2006 17:25:11 +0800 | | From | "James Yu" <> | | Subject | Re: weird behavior from kernel |
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 - 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/
|  |