Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2003 19:08:24 -0400
From:      slave-mike <slave-mike@rv1.dynip.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        mjoyner <mjoyner@rv1.dynip.com>
Subject:   Re: -march athlon breaks my networking was:  ip stack broken?
Message-ID:  <3F931968.4040609@rv1.dynip.com>
In-Reply-To: <20031019204011.GA49466@rot13.obsecurity.org>
References:  <3F9097DD.1090500@rv1.dynip.com> <20031018161032.T35407@carver.gumbysoft.com> <3F92093F.9070008@rv1.dynip.com> <3F922269.1020909@rv1.dynip.com> <3F9223D5.9050501@rv1.dynip.com> <3F92E88F.6020802@rv1.dynip.com> <20031019204011.GA49466@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F931968.4040609>