From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 6 03:14:10 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3250D16A4CE; Wed, 6 Oct 2004 03:14:10 +0000 (GMT) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6C3143D5A; Wed, 6 Oct 2004 03:14:09 +0000 (GMT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i963E9Io026713; Tue, 5 Oct 2004 23:14:09 -0400 (EDT) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i963E6T4026712; Tue, 5 Oct 2004 23:14:06 -0400 (EDT) Date: Tue, 5 Oct 2004 23:14:06 -0400 From: Ken Smith To: Andrew Belashov Message-ID: <20041006031406.GB26037@electra.cse.Buffalo.EDU> References: <41518130.3000704@orel.ru> <4152A383.3090901@orel.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4152A383.3090901@orel.ru> User-Agent: Mutt/1.4.1i cc: freebsd-sparc64@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: Bug in kse_switchin()? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 03:14:10 -0000 On Thu, Sep 23, 2004 at 02:20:51PM +0400, Andrew Belashov wrote: > Where bug? > - In sparc64 specific core? > - In kern/kern_kse.c and kern/kern_thr.c code? Can you humor me and test this patch please? Index: sys/conf/kern.pre.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kern.pre.mk,v retrieving revision 1.57 diff -u -r1.57 kern.pre.mk --- sys/conf/kern.pre.mk 23 Sep 2004 22:53:22 -0000 1.57 +++ sys/conf/kern.pre.mk 6 Oct 2004 03:09:09 -0000 @@ -24,7 +24,7 @@ . elif ${MACHINE_ARCH} == "ia64" COPTFLAGS?=-O2 -pipe . elif ${MACHINE_ARCH} == "sparc64" -COPTFLAGS?=-O2 -pipe +COPTFLAGS?=-O -pipe . elif ${MACHINE_ARCH} == "arm" COPTFLAGS?=-O2 -pipe . else You'll need to go through a complete kernel build cycle after applying it (starting with 'config'). Thanks. -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |