Thanks for verifying this. Looking closer at the texlive-bin package, it 
actually contains a
large patch which modifies the zziplib package, see:

https://sources.debian.org/src/texlive-bin/2025.20250727.75242%2Bds-4/debian/patches/zziplib.diff

I have extracted the zziplib-aligned-access.m4 m4 script from there and I'm 
attaching it.

Can you give it a try?

This looks more promising, but still no dice (after renaming 
ZZIPLIB_CHECK_ALIGNED_ACCESS to AX_CHECK_ALIGNED_ACCESS_REQUIRED):

checking if pointers to integers require aligned access... no

I guess that makes sense, the fourth argument of AC_RUN_IFELSE() will only 
execute when cross compiling[1].
While the script is certainly cleaner this way, it will still fail for cases 
where the test script can't detect the alignment behavior of the host CPU.

I really think the only fix here is to skip the AC_RUN_IFELSE for CPU types 
that are known to always require aligned access (such as sparc and sparc64). Or 
write a better test program that works on sparc.

[1] 
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/html_node/Runtime.html

Reply via email to