Hi,This is likely upstream issue https://github.com/openssl/openssl/issues/21340, manifesting on Debian due to the packaged binutils not having Loongson SIMD support yet, and fixed by upstream commit 160f48941d143cf2682df4e938ba953c96ac3c7a.
I'd suggest including the upstream patch so we don't have to touch anywhere else.