Subject: Re: cpuflags problem
To: Martin Schmitz <martin-schmitz@web.de>
From: David Brownlee <abs@netbsd.org>
List: netbsd-help
Date: 03/01/2004 16:04:19
On Fri, 27 Feb 2004, Martin Schmitz wrote:

> Manuel Bouyer wrote:
> > On Thu, Feb 26, 2004 at 02:44:20PM -0800, MetalliQaZ wrote:
> >
> >>Can anyone explain why the following occurs?
> >>
> >>$ sysctl -n hw.model
> >>Intel Pentium III (Katmai) (686-class)
> >>$ cpuflags
> >>-march=pentiumpro
> >>
> >>I looked in the cpuflags script, and even tho the output from sysctl matches
> >>two possibilites in the case statement, by my understanding the output from
> >>cpuflags should still be this:
> >>
> >>-march=pentium3
> >>
> >>I know theres not much difference, expecially on a headless machine, but it
> >>still bugs me.
> >>Thanks in advance for any insights
> >
> > -march=pentium3 doens't work for the gcc shipped with 1.6.x
> >
> -march=pentiumpro doesn't work either. At least many applications from
> pkgsrc fail to build with it.

	To clarify: -march=pentium3 was not supported in the gcc 2.95.3
	shipped with 1.6.x, while -march=pentiumpro was (codegen issues
	aside). I've used -march=pentiumpro on 1.6.x and did nto see any
	problems with apps which I didnt also see without
	-march=pentiumpro. I can quite believe there are codegen issues,
	just I've been lucky enough not to be hit by them :)
-- 
		David/absolute          -- www.netbsd.org: No hype required --