Date: Thu, 8 May 2008 09:58:41 +0200 (CEST) From: Marc Olzheim <marcolz@stack.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/123518: src/sys/kern.mk fails to disable -msse3 for amd64 Message-ID: <20080508075841.62499611F@hammer.stack.nl> Resent-Message-ID: <200805080820.m488K1ZJ004297@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <marcolz@stack.nl> >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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080508075841.62499611F>