amd64/145593: [patch] fix MACHINE_CPU for amd64 in bsd.cpu.mk
Martin Matuska
mm at FreeBSD.org
Fri Apr 9 22:30:02 UTC 2010
>Number: 145593
>Category: amd64
>Synopsis: [patch] fix MACHINE_CPU for amd64 in bsd.cpu.mk
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-amd64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 09 22:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Martin Matuska
>Release: FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD neo.vx.sk 8.0-RELEASE-p2
>Description:
The MACHINE_CPU definition for amd64 in bsd.cpu.mk misses mmx
if CPUTYPE is not set.
It defines mmx if CPUTYPE is set to any string.
>How-To-Repeat:
CPUTYPE unset on amd64:
MACHINE_CPU=amd64 sse2 sse
If CPUTYPE is set to any string on amd64 (e.g. unknown):
MACHINE_CPU=unknown amd64 sse2 sse mmx
>Fix:
Index: share/mk/bsd.cpu.mk
===================================================================
--- share/mk/bsd.cpu.mk (revision 206431)
+++ share/mk/bsd.cpu.mk (working copy)
@@ -9,7 +9,7 @@
. if ${MACHINE_ARCH} == "i386"
MACHINE_CPU = i486
. elif ${MACHINE_ARCH} == "amd64"
-MACHINE_CPU = amd64 sse2 sse
+MACHINE_CPU = amd64 sse2 sse mmx
. elif ${MACHINE_ARCH} == "ia64"
MACHINE_CPU = itanium
. elif ${MACHINE_ARCH} == "powerpc"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-amd64
mailing list