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: Bartlomiej Krawczyk <bbartlomiej%gmail.com@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 13:58:25 +0200

 On 6/7/2026 10:00 AM, Martin Husemann via gnats wrote:
 >   >  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]'.
 
 Thanks Martin, that was it! After clearing my CPUFLAGS it built 
 properly. I installed the new base set and rebuilt haproxy. Then I did 
 the same on my vps and installed the package. Running it now and will 
 report if it still crashes the same way.
 
  >   Maybe gcc is hitting some memory limit? Do you have swap 
 configured? How much
  >   RAM does the VPS have?
 
 I've been building it on my laptop - 32GB RAM and 32GB swap so I don't 
 think that was the issue. I'll raise a new bug for this build.sh issue.
 
 -- 
 Regards,
 Bartlomiej Krawczyk
 



Home | Main Index | Thread Index | Old Index