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%NetBSD.org@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 07:58:43 +0000
On Sun, Jun 07, 2026 at 07:45:01AM +0000, Martin Husemann via gnats wrote:
> > /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
Actually it could even be the -pipe that triggers it, as the compiler misparses
the code and the error message does not make any sense. The declaration
is 'unsigned char[32]' and index 0 is not out of bounds of that nor of the
claimed type 'unsigned char[2]'.
Maybe gcc is hitting some memory limit? Do you have swap configured? How much
RAM does the VPS have?
Anyway, clearly a compiler bug.
Martin
Home |
Main Index |
Thread Index |
Old Index