Subject: Re: Stock i386 kernels with GCC4 (patches included)
To: None <current-users@NetBSD.org>
From: Geert Hendrickx <ghen@NetBSD.org>
List: current-users
Date: 05/29/2006 20:04:23
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.  

	Geert