Bjorn, I had tried to build zstd in OpenBSD/hppa and it failed as:
/usr/ports/pobj/zstd-1.5.7/zstd-1.5.7/lib//decompress/huf_decompress_amd64.S: Assembler messages: /usr/ports/pobj/zstd-1.5.7/zstd-1.5.7/lib//decompress/huf_decompress_amd64.S:17: Error: unknown pseudo-op: `.note.gnu' gmake[2]: *** [Makefile:231: obj/conf_e40a5586737ee70892113c62a76c445f/static/huf_decompress_amd64.o] Error 1 the reason is 20 years old gas which requires a whitespace before .section; Ok? Index: patches/patch-lib_decompress_huf_decompress_amd64_S =================================================================== RCS file: patches/patch-lib_decompress_huf_decompress_amd64_S diff -N patches/patch-lib_decompress_huf_decompress_amd64_S --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-lib_decompress_huf_decompress_amd64_S 5 Nov 2026 10:01:33 -0000 @@ -0,0 +1,12 @@ +Index: lib/decompress/huf_decompress_amd64.S +--- lib/decompress/huf_decompress_amd64.S.orig ++++ lib/decompress/huf_decompress_amd64.S +@@ -14,7 +14,7 @@ + /* Stack marking + * ref: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart + */ +-.section .note.GNU-stack,"",%progbits ++ .section .note.GNU-stack,"",%progbits + + #if defined(__aarch64__) + /* Mark that this assembly supports BTI & PAC, because it is empty for aarch64. -- wbr, Kirill
