NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/55937: Build zfs by default on sparc64.



>Number:         55937
>Category:       toolchain
>Synopsis:       zfs should be built by default on sparc64 as well.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 19 19:35:00 +0000 2021
>Originator:     bernd.sieker%posteo.net@localhost
>Release:        NetBSD 9.1_STABLE
>Organization:
>Environment:
System: NetBSD niob.bersie.loc 9.1_STABLE NetBSD 9.1_STABLE (NIOB) #39: Wed Dec 9 16:42:36 CET 2020 bernd%niob.bersie.loc@localhost:/usr/src/sys/arch/amd64/compile/NIOB amd64
Architecture: x86_64
Machine: amd64
>Description:
I suggest to enable building zfs by default for sparc64, too. Some
sparc64 systems are quite capable of handling the system requirements
of zfs, and it would be an unnecessary hassle to compile it oneself.

Those that can't handle it won't really suffer, since zfs is just
a module (two actually, since you also need the "solaris" module).
The only downside would be a few MB additional disk space used.

>How-To-Repeat:
Try to use zfs on a stock NetBSD-9 sparc64 build: modules, tools
and libraries are not installed.

>Fix:
The following patch should enable building zfs on sparc64 by default:

--- share/mk/bsd.own.mk.orig    2021-01-19 17:59:31.628114323 +0100
+++ share/mk/bsd.own.mk 2021-01-19 18:07:44.707667499 +0100
@@ -998,9 +998,9 @@
 .endif

 #
-# We want to build zfs only for amd64 and aarch64 by default for now.
+# Build zfs only for amd64, aarch64 and sparc64 by default for now.
 #
-.if ${MACHINE} == "amd64" || ${MACHINE_ARCH} == "aarch64"
+.if ${MACHINE} == "amd64" || ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "sparc64"
 MKZFS?=                yes
 .endif



Home | Main Index | Thread Index | Old Index