Subject: Re: sparc kernel (2.0_RCn) doesn't like -mcpu=v8?
To: Joachim Thiemann <jthiem@tsp.ece.mcgill.ca>
From: Tobias Nygren <tnn@netilium.org>
List: port-sparc
Date: 11/22/2004 10:55:14
On Mon, 22 Nov 2004 00:25:59 -0500
Joachim Thiemann <jthiem@tsp.ece.mcgill.ca> wrote:

> Hello, my sparc just finished doing a build release, with sources 
> updated a few days ago, so it's now at at RC5. My machine is a SS5 with 
> the TurboSparc upgrade, dmesg attached.
> 
> I have the options CFLAGS+=-mcpu=v8 -mtune=v8 -pipe and the same for 
> COPTS set in mk.conf.
[snip]

I suggest using CPUFLAGS instead of CFLAGS.
Does the kernel build use the -O2 flag? (it may not do so per default when
CFLAGS is set, and unoptimized code has issues associated with it ...)

-tnn