Subject: Re: Stock i386 kernels with GCC4 (patches included)
To: None <>
From: Sergey Lungu <>
List: current-users
Date: 05/30/2006 01:17:14
On Mon, May 29, 2006 at 08:04:23PM +0200, Geert Hendrickx wrote:
> On Tue, May 30, 2006 at 12:46:00AM +0400, Sergey Lungu wrote:
> > - NET4501, XEN0, XENU and XEN3_U do not build at all, because of the
> >   makeoptions with -mcpu option, wich is not recognized by GCC4 anymore.
> >   Don't know how fix this without breaking GCC3 builds, 'cause `config'
> >   has no `if' statements (Am I right?:). BTW, should they be in configs
> >   at all?
> % grep mcpu *
> NET4501:makeoptions     COPTS="-Os -mcpu=i486"
> XEN0:makeoptions        COPTS="-O2 -mcpu=i686 -march=i686"
> XEN3_U:makeoptions      COPTS="-O2 -mcpu=i686 -march=i686"
> XENU:makeoptions        COPTS="-O2 -mcpu=i686 -march=i686"
> the -mcpu flags in XEN* are redundant because they're implied by the -march
> flags already, and NET4501 may use -march=i486 because the Soekrises have
> an i486 compatible CPU.  

You are right! Then this should be fixed like this...

Sergey Lungu