From owner-freebsd-stable@FreeBSD.ORG Thu May 26 07:22:32 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 074E416A41C for ; Thu, 26 May 2005 07:22:32 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCB0743D49 for ; Thu, 26 May 2005 07:22:31 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from SMILEY (mail.bitfreak.org [65.75.198.146]) by mail.bitfreak.org (Postfix) with ESMTP id B400B19F3B; Thu, 26 May 2005 00:23:25 -0700 (PDT) From: "Darren Pilgrim" To: "'Viatcheslav Fedorov'" Date: Thu, 26 May 2005 00:22:16 -0700 Message-ID: <000801c561c3$a90ac720$0a2a15ac@SMILEY> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <003d01c561c2$117b7360$db99ed53@lmda6q67alsbow> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 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 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:22:32 -0000 From: Viatcheslav Fedorov > > 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.