-march athlon breaks my networking was: ip stack broken?

slave-mike slave-mike at rv1.dynip.com
Sun Oct 19 16:08:34 PDT 2003


in /etc/make.conf

#CPUTYPE=               athlon
#COPTFLAGS=             -O0

is what is in my /etc/make.conf

-march should be -mcpu. sorry!. :)


as in "cc -O -pipe -mcpu=pentiumpro ..."

Aparantly, when I have my CPUTYPE set to ATHLON, and the build is called 
with -mcpu=athlon, something is going screwy.

I had optimization turned off for some reason or other... don't remember 
why now, it has been a long time since it's been in there, so it has now 
been commented out, as has CPUTYPE, when seems to result in a default 
CPUTYPE of pentiumpro

Kris Kennaway wrote:
> On Sun, Oct 19, 2003 at 03:39:59PM -0400, slave-mike wrote:
> 
>>I realized that my /etc/make.conf was set to use -O0 -march athlon
>>for kernel builds.
>>
>>After removing the COPTS and CPU stuff form /etc/make.conf my kernel's
>>networking now works fine.
>>
>>Any clue as to why -march athlon breaks my networking?
> 
> 
> That's a syntax error - can you please confirm you meant
> -march=athlon?
> 
> Kernels aren't usually built without optimization (-O0).  Is there
> some reason you chose to do that?
> 
> Kris



More information about the freebsd-current mailing list