From owner-freebsd-stable@FreeBSD.ORG Thu May 26 07:33:33 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DC4C16A420 for ; Thu, 26 May 2005 07:33:33 +0000 (GMT) (envelope-from nihrom@teamcomputerra.org) Received: from greenday.yohst.com (greenday.yohst.com [66.98.242.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id A22E443D6D for ; Thu, 26 May 2005 07:33:31 +0000 (GMT) (envelope-from nihrom@teamcomputerra.org) Received: from [83.237.153.219] (port=1730 helo=lmda6q67alsbow) by greenday.yohst.com with esmtpa (Exim 4.43) id 1DbCrr-0004WZ-7q; Thu, 26 May 2005 03:33:25 -0400 Message-ID: <004601c561c5$b61aabe0$db99ed53@lmda6q67alsbow> From: "Viatcheslav Fedorov" To: "Darren Pilgrim" References: <000801c561c3$a90ac720$0a2a15ac@SMILEY> Date: Thu, 26 May 2005 11:36:58 +0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - greenday.yohst.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - teamcomputerra.org Cc: freebsd-stable@freebsd.org Subject: Re: Building kernel, -mno-3dnow and stuff. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Viatcheslav Fedorov List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 07:33:33 -0000 From: "Darren Pilgrim" >> cc -O -pipe -march=pentiumpro -march=athlon-tbird >> -I/<...cut...> -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > > These are disabled because they cause problems when used in the kernel. > >> my ``/etc/make.conf'' file: >> ------------------------------------- >> CPUTYPE=athlon-tbird >> CFLAGS= -O -pipe -march=pentiumpro >> COPTFLAGS= -O -fomit-frame-pointer -march=pentiumpro -pipe >> ------------------------------------- > > You should not put -march in your FLAGS variables. CPUTYPE determines the > correct architecture- and processor-specific compiler flags. Thanks a lot. Now it's clear to me.