]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libicp: unbreak for armv6 after recent OpenZFS import
authorDimitry Andric <dim@FreeBSD.org>
Fri, 8 Dec 2023 23:09:36 +0000 (00:09 +0100)
committerDimitry Andric <dim@FreeBSD.org>
Fri, 8 Dec 2023 23:09:50 +0000 (00:09 +0100)
commitfb17dfa0c83cc213400fe7e1ed7a39253a4fcefa
treec36852bdad17dc74c8bb3d0f81e55f5bc571831d
parente183039f0882009c455c3b59fe1ab58a4fd25a5e
libicp: unbreak for armv6 after recent OpenZFS import

The following upstream commit:
727497ccdfcc module/icp/asm-arm/sha2: enable non-SIMD asm kernels on armv5/6

does indeed enable sha2 asm for earlier arm CPUs, but since libicp's
Makefile was not updated, this leads to:

  ld: error: undefined reference due to --no-allow-shlib-undefined: zfs_sha256_block_armv7

Fix it by compiling sha256-armv7.S and sha512-armv7.S for armv6 too.

Fixes: 3494f7c019fc
cddl/lib/libicp/Makefile