NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/60292: haproxy 3.3.5 on NetBSD 11.0_RC4 crashes randomly due to OpenSSL errors
The following reply was made to PR lib/60292; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/60292: haproxy 3.3.5 on NetBSD 11.0_RC4 crashes randomly due
to OpenSSL errors
Date: Sun, 7 Jun 2026 09:41:22 +0200
On Sat, Jun 06, 2026 at 07:00:03PM +0000, Bartek Krawczyk via gnats wrote:
> In file included from
> /home/bartek/netbsd/src/crypto/external/bsd/openssh/dist/kexmlkem768x25519.c:46:
> /home/bartek/netbsd/src/crypto/external/bsd/openssh/dist/libcrux_mlkem768_sha3.h:
> In function 'libcrux_ml_kem_ind_cpa_unpacked_default_8b_1b':
> /home/bartek/netbsd/src/crypto/external/bsd/openssh/dist/libcrux_mlkem768_sha3.h:8112:11:
> error: array subscript '<unnamed-unsigned:256>[0]' is partly outside
> array bounds of 'uint8_t[2]' {aka 'unsigned char[2]'} [-Werror=array-bounds]
> 8112 | uint8_t uu____1[32U] = {0U};
> | ^~~~~~~
This sounds like a compiler bug, probably triggered by:
> CPUFLAGS+=-pipe -O2 -mtune=native -march=native
With default flags the tree builds fine (as our build cluster demonstrates).
Please try if (temporarily) changing to
CPUFLAGS=-pipe
helps and file a separate PR (category toolchain) for this.
Thanks,
Martin
Home |
Main Index |
Thread Index |
Old Index