Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2008 20:57:18 GMT
From:      Pegasus Mc Cleaft <ken@mthelicon.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/124463: Added -mno-sse3 to AMD64 CFLAGS
Message-ID:  <200806102057.m5AKvI0k030586@www.freebsd.org>
Resent-Message-ID: <200806102100.m5AL0BLr004276@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806102057.m5AKvI0k030586>