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
>Release:        NetBSD 9.1_STABLE
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
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.

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

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

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

-# 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

Home | Main Index | Thread Index | Old Index