From owner-freebsd-current@FreeBSD.ORG Sun Oct 19 16:08:34 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B81E16A4B3 for ; Sun, 19 Oct 2003 16:08:34 -0700 (PDT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73F4743F93 for ; Sun, 19 Oct 2003 16:08:31 -0700 (PDT) (envelope-from slave-mike@rv1.dynip.com) Received: from duron.rv1.dynip.com (c-66-177-119-177.se.client2.attbi.com[66.177.119.177]) by comcast.net (rwcrmhc11) with ESMTP id <2003101923083001300p81qge>; Sun, 19 Oct 2003 23:08:30 +0000 Received: from rv1.dynip.com (localhost [127.0.0.1]) by duron.rv1.dynip.com (8.12.10/8.12.10) with ESMTP id h9JN8OHh004961; Sun, 19 Oct 2003 19:08:29 -0400 (EDT) (envelope-from slave-mike@rv1.dynip.com) Message-ID: <3F931968.4040609@rv1.dynip.com> Date: Sun, 19 Oct 2003 19:08:24 -0400 From: slave-mike User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway 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> In-Reply-To: <20031019204011.GA49466@rot13.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: mjoyner Subject: Re: -march athlon breaks my networking was: ip stack broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 23:08:34 -0000 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