NetBSD Problem Report #59672
From www@netbsd.org Sun Sep 28 09:31:07 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 15BB61A9239
for <gnats-bugs@gnats.NetBSD.org>; Sun, 28 Sep 2025 09:31:07 +0000 (UTC)
Message-Id: <20250928093106.255F11A923A@mollari.NetBSD.org>
Date: Sun, 28 Sep 2025 09:31:06 +0000 (UTC)
From: rokuyama.rk@gmail.com
Reply-To: rokuyama.rk@gmail.com
To: gnats-bugs@NetBSD.org
Subject: earmv5eb: OpenSSL 3.5.1: crypto/libcrypto/t_ciphers:evp fails
X-Send-Pr-Version: www-1.0
>Number: 59672
>Category: port-arm
>Synopsis: earmv5eb: OpenSSL 3.5.1: crypto/libcrypto/t_ciphers:evp fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-arm-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 28 09:35:00 +0000 2025
>Last-Modified: Mon Sep 29 14:05:01 +0000 2025
>Originator: Rin Okuyama
>Release: 11.9.3
>Organization:
Internet Initiative Japan Inc.
>Environment:
NetBSD obsa7.local 11.99.3 NetBSD 11.99.3 (OBSA6EB) #11: Sun Sep 28 16:35:42 JST 2025 rin@sakaizumii.local:/home/rin/src/sys/arch/evbarm/compile/OBSA6EB evbarm earmv5eb
>Description:
/usr/tests/crypto/libcrypto/t_ciphers:evp fails for earmv5eb. Full log is:
https://gist.github.com/rokuyama/808a4ad3bf287570270e384b676337bb
This failure happens only for big-endian. For earmv5el environment on the
same machine, the test successfully passes.
Also, even for earmv5eb, the test passes with OpenSSL 3.0.16
(HAVE_OPENSSL=30 build).
Note that the failure occurs both for HAVE_GCC=12 or 14.
>How-To-Repeat:
On earmv5eb machine, run /usr/tests/crypto/libcrypto/t_ciphers:evp test.
>Fix:
N/A
>Audit-Trail:
From: Christos Zoulas <christos@zoulas.com>
To: gnats-bugs@netbsd.org
Cc: port-arm-maintainer@netbsd.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: port-arm/59672: earmv5eb: OpenSSL 3.5.1:
crypto/libcrypto/t_ciphers:evp fails
Date: Sun, 28 Sep 2025 11:39:37 -0400
--Apple-Mail=_C3AFA882-54E7-4406-B9CE-C58A34368C77
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii
> /usr/tests/crypto/libcrypto/t_ciphers:evp fails for earmv5eb. Full log is:
>
> https://gist.github.com/rokuyama/808a4ad3bf287570270e384b676337bb
>
> This failure happens only for big-endian. For earmv5el environment on the
> same machine, the test successfully passes.
>
> Also, even for earmv5eb, the test passes with OpenSSL 3.0.16
> (HAVE_OPENSSL=30 build).
>
> Note that the failure occurs both for HAVE_GCC=12 or 14.
>> How-To-Repeat:
> On earmv5eb machine, run /usr/tests/crypto/libcrypto/t_ciphers:evp test.
>> Fix:
> N/A
I think that 3.5.1 has new assembly and perhaps it does not work for eb.
We should disable it for eb for now and report it upstream.
Best,
christos
--Apple-Mail=_C3AFA882-54E7-4406-B9CE-C58A34368C77
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCaNlWuQAKCRBxESqxbLM7
OiGSAKCYBbuyR4R+hRKkL8PuMqcGCbkm/gCeL5hF53QBdogFnsb9JHwwrIofVGU=
=605S
-----END PGP SIGNATURE-----
--Apple-Mail=_C3AFA882-54E7-4406-B9CE-C58A34368C77--
From: Rin Okuyama <rokuyama.rk@gmail.com>
To: Christos Zoulas <christos@zoulas.com>, gnats-bugs@netbsd.org
Cc: port-arm-maintainer@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: port-arm/59672: earmv5eb: OpenSSL 3.5.1:
crypto/libcrypto/t_ciphers:evp fails
Date: Mon, 29 Sep 2025 23:01:34 +0900
On 2025/09/29 0:39, Christos Zoulas wrote:
>
>> /usr/tests/crypto/libcrypto/t_ciphers:evp fails for earmv5eb. Full log is:
>>
>> https://gist.github.com/rokuyama/808a4ad3bf287570270e384b676337bb
>>
>> This failure happens only for big-endian. For earmv5el environment on the
>> same machine, the test successfully passes.
>>
>> Also, even for earmv5eb, the test passes with OpenSSL 3.0.16
>> (HAVE_OPENSSL=30 build).
>>
>> Note that the failure occurs both for HAVE_GCC=12 or 14.
>>> How-To-Repeat:
>> On earmv5eb machine, run /usr/tests/crypto/libcrypto/t_ciphers:evp test.
>>> Fix:
>> N/A
>
> I think that 3.5.1 has new assembly and perhaps it does not work for eb.
> We should disable it for eb for now and report it upstream.
Hmm, I'm not familiar to OpenSSL internals, but it seems no
new files for 32-bit arm have been added to
crypto/external/apache2/openssl/lib/libcrypto/arch/arm...
Some updates: the test works just fine for evbarmv{6,7}{,hf}eb.
For softfloat variants, the situation does not change if
libc_vfp.so is enabled or not.
Thanks,
rin
> Best,
>
> christos
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.