From owner-freebsd-bugs@FreeBSD.ORG Thu May 8 08:20:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 346441065677 for ; Thu, 8 May 2008 08:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 129BB8FC1E for ; Thu, 8 May 2008 08:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m488K1sY004298 for ; Thu, 8 May 2008 08:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m488K1ZJ004297; Thu, 8 May 2008 08:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 8 May 2008 08:20:01 GMT Resent-Message-Id: <200805080820.m488K1ZJ004297@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marc Olzheim Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97F1E106564A for ; Thu, 8 May 2008 08:16:38 +0000 (UTC) (envelope-from marcolz@hammer.stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [131.155.140.153]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA3E8FC14 for ; Thu, 8 May 2008 08:16:38 +0000 (UTC) (envelope-from marcolz@hammer.stack.nl) Received: by hammer.stack.nl (Postfix, from userid 333) id 62499611F; Thu, 8 May 2008 09:58:41 +0200 (CEST) Message-Id: <20080508075841.62499611F@hammer.stack.nl> Date: Thu, 8 May 2008 09:58:41 +0200 (CEST) From: Marc Olzheim To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/123518: src/sys/kern.mk fails to disable -msse3 for amd64 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marc Olzheim List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2008 08:20:02 -0000 >Number: 123518 >Category: kern >Synopsis: src/sys/kern.mk fails to disable -msse3 for amd64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 08 08:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Marc Olzheim >Release: FreeBSD 7.0-STABLE amd64 >Organization: iphion B.V. >Environment: System: FreeBSD hammer.stack.nl 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Mar 24 16:49:01 CET 2008 dean@hammer.stack.nl:/sabretooth.mnt/sources/7.x/amd64/obj/sabretooth.mnt/sources/7.x/src/sys/STACK-SMP64 amd64 >Description: Although revision 1.46 ( http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/kern.mk#rev1.46 ) fixes this for the i386 build, the same fix should be applied to the amd64 build. >How-To-Repeat: set CPUTYPE to nocona and add -msse3 to CFLAGS in /etc/make.conf >Fix: --- /usr/src/sys/conf/kern.mk 2007-05-24 23:53:42.000000000 +0200 +++ /usr/src/sys/conf/kern.mk 2008-05-08 09:44:09.000000000 +0200 @@ -70,7 +70,7 @@ # .if ${MACHINE_ARCH} == "amd64" CFLAGS+= -mcmodel=kernel -mno-red-zone \ - -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow \ + -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow \ -msoft-float -fno-asynchronous-unwind-tables INLINE_LIMIT?= 8000 .endif >Release-Note: >Audit-Trail: >Unformatted: