kern/124463: Added -mno-sse3 to AMD64 CFLAGS

Pegasus Mc Cleaft ken at mthelicon.com
Tue Jun 10 21:00:11 UTC 2008


>Number:         124463
>Category:       kern
>Synopsis:       Added -mno-sse3 to AMD64 CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 10 21:00:11 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pegasus Mc Cleaft
>Release:        FreeBSD 7.0-STABLE
>Organization:
>Environment:
FreeBSD feathers.mthelicon.com 7.0-STABLE FreeBSD 7.0-STABLE #81: Sun Jun  8 21:04:09 BST 2008     root at feathers.mthelicon.com:/usr/obj/usr/src/sys/FEATHERS  amd64

>Description:
Added missing -mno-sse3 flag to /usr/src/sys/conf/kern.mk that I believe should be in AMD64 kernel compile.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- kern.mk.orig	2008-06-10 21:51:29.118682306 +0100
+++ kern.mk	2008-06-10 21:52:23.956029235 +0100
@@ -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:


More information about the freebsd-bugs mailing list