| Summary: | bsd.cpu.mk needs to be updated for arm64/aarch64 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Sean Bruno <sbruno> |
| Component: | Ports Framework | Assignee: | Andrew Turner <Andrew> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | CC: | Andrew, emaste |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | arm64 | ||
| OS: | Any | ||
|
Description
Sean Bruno
2015-07-01 18:58:58 UTC
Host revision: FreeBSD chips.ysv.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r284778: Wed Jun 24 20:55:03 UTC 2015 peter@build-11.freebsd.org:/usr/obj/usr/src/sys/CLUSTER11 amd64 Jail revision: JAILNAME VERSION ARCH METHOD TIMESTAMP PATH 11aarch64 11.0-CURRENT r285012 arm64.aarch64 svn 2015-07-01 17:20:01 /usr/local/poudriere/jails/11aarch64 I believe this is a problem in head/share/mk/bsd.cpu.mk and not in poudriere, aarch64 support is missing. Change description and reassign to Ed for disposition to arm64 folks. This blocks ports builds. An incorrect patch, but allowing you to build some packages would be:
Index: share/mk/bsd.cpu.mk
===================================================================
--- share/mk/bsd.cpu.mk (revision 285014)
+++ share/mk/bsd.cpu.mk (working copy)
@@ -6,7 +6,9 @@
.if !defined(CPUTYPE) || empty(CPUTYPE)
_CPUCFLAGS =
-. if ${MACHINE_CPUARCH} == "amd64"
+. if ${MACHINE_CPUARCH} == "aarch64"
+MACHINE_CPU =
+. elif ${MACHINE_CPUARCH} == "amd64"
MACHINE_CPU = amd64 sse2 sse mmx
. elif ${MACHINE_CPUARCH} == "arm"
MACHINE_CPU = arm
A commit references this bug: Author: andrew Date: Thu Jul 2 13:42:58 UTC 2015 New revision: 285036 URL: https://svnweb.freebsd.org/changeset/base/285036 Log: Set MACHINE_CPU to arm64 when building for arm64. This is needed by the ports tree as they check this value in a number of ports. PR: 201259 Sponsored by: ABT Systems Ltd Changes: head/share/mk/bsd.cpu.mk |