Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: BROKEN: security/gnutls arm64
To:
Peter Toth <peter.toth198@gmail.com>
Cc:
ports@openbsd.org, Antoine Jacoutot <ajacoutot@bsdfrog.org>
Date:
Tue, 13 Aug 2024 21:36:54 +0100

Download raw body.

Thread
On 2024/08/08 14:39, Peter Toth wrote:
> Latest security/gnutls 3.8.6 is causing issues on arm64. For example
> net/openconnect segfaults with:
> 
>  #0  0x0000000f9a378080 in sha1_block_data_order () from
> /usr/local/lib/libgnutls.so.47.10
> 
> I've rebuilt gnutls from ports without this recent patch change
> https://github.com/openbsd/ports/blob/2c51f0399bca7f603b108362a96a9d01b1e23a6d/security/gnutls/patches/patch-lib_accelerated_aarch64_elf_sha1-armv8_s#L8-L9
> 
> And openconnect is working as expected now. Can someone more
> knowledgeable take a look and comment on this.
> 
> Thanks,
> PT
> 

Please send a cvs or git diff of what you've got in your ports tree
that is working.

I think you're talking about the bit that moved the .arch armv8-a+crypto
above .rodata but it's not totally clear and I can't get at my arm64 to
check right now.

(maintainer cc'd - best not to rely on ports@ being read)