Date: Fri, 3 Jul 2026 19:29:22 +0100 From: Jessica Clarke <jrtc27@freebsd.org> To: Alan Somers <asomers@freebsd.org> Cc: Alexander Motin <mav@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: cd61eb4f6681 - main - zfs: Wire sha512 offload to the build Message-ID: <CA1C2C56-5E54-4ED5-B6DA-9CAF889FB574@freebsd.org> In-Reply-To: <CAOtMX2gWqsutZ_p-Kj6fFop7ib07cBcCL=4PHyuNPZ6LF6uQGw@mail.gmail.com> References: <6a46a7b9.25c03.7da045a1@gitrepo.freebsd.org> <CAOtMX2gWqsutZ_p-Kj6fFop7ib07cBcCL=4PHyuNPZ6LF6uQGw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On 3 Jul 2026, at 19:08, Alan Somers <asomers@freebsd.org> wrote: > > On Thu, Jul 2, 2026 at 12:02 PM Alexander Motin <mav@freebsd.org> wrote: >> >> The branch main has been updated by mav: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=cd61eb4f6681b13d98b6a7be252500ad30f05f74 >> >> commit cd61eb4f6681b13d98b6a7be252500ad30f05f74 >> Author: Alexander Motin <mav@FreeBSD.org> >> AuthorDate: 2026-07-02 17:58:12 +0000 >> Commit: Alexander Motin <mav@FreeBSD.org> >> CommitDate: 2026-07-02 17:58:12 +0000 >> >> zfs: Wire sha512 offload to the build >> >> FreeBSD main just got the CPUID_STDEXT4_SHA512 define. >> >> OpenZFS PR #18732 > > This commit breaks boot for me. The kernel can't open the zroot pool, > leading to the familiar mountroot> prompt. And in a UFS-root VM, I > can't load the ZFS kernel module. It fails with: > > link_elf_obj: symbol zfs_sha512_transform_sha512ext undefined > linker_load_file: /boot/kernel/zfs.ko - unsupported file type > > On both systems, the CPU is a Ryzen 9 5950X, which does not support AVX-512. > > Could we please revert the change for now? I imagine this is because changing CFLAGS doesn’t count as a dependency change and sha512-x86_64.S isn’t rebuilt (and/or sha512_impl.c). Just a reminder to everyone that chucking config options in CFLAGS is not a good approach and we should instead be using header files... Jessicahome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA1C2C56-5E54-4ED5-B6DA-9CAF889FB574>
