You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
haproxy 2.4.3 fails to start, complains about CFLAGS used during build #313
After update to haproxy 2.4.3 this morning, it failed to start. From the service log:
[ Aug 30 09:37:01 Executing start method ("/opt/local/sbin/haproxy -f /opt/local/etc/haproxy.cfg -D"). ]
FATAL ERROR: invalid code detected -- cannot go further, please recompile!
The source code was miscompiled by the compiler, which usually indicates that
some of the CFLAGS needed to work around overzealous compiler optimizations
were overwritten at build time. Please do not force CFLAGS, and read Makefile
and INSTALL files to decide on the best way to pass your local build options.
This may be relevant - haproxy/haproxy@1335da38f4 - discussion of checking for the compiler option -fwrapv.
Downgrading to 2.4.2 got us back on the air for now.
The haproxy Makefile has quite a bit of CFLAGS manipulation in it. Given what it needs, this might be the better way to pass in the pkgsrc CFLAGS setting:
Activity
goekesmi commentedon Aug 30, 2021
The haproxy Makefile has quite a bit of CFLAGS manipulation in it. Given what it needs, this might be the better way to pass in the pkgsrc CFLAGS setting:
With this change, haproxy does build, package, and not throw errors at startup.
jperkin commentedon Aug 31, 2021
Ugh, thanks. I've applied this patch upstream and will get a trunk build started as soon as it's merged to git.
haproxy: Switch to DEBUG_CFLAGS.
jperkin commentedon Sep 1, 2021
Ok, the fixed
haproxy-2.4.3nb1is now available in the trunk package set. Sorry for the mess.drboone commentedon Sep 1, 2021
Thanks!
(geography/R-stars) Updated 0.4.3 to 0.5.3
haxm: Update to 7.7.0
www/ruby-html-proofer: update to 4.4.0
py-watchdog: update to 2.1.9.
(sysutils/R-processx) Updated 3.5.2 to 3.8.0
(math/R-units) Updated 0.7.2 to 0.8.1
www/xh: update to 0.19.3
(devel/R-rio) Update 0.5.26 to 1.0.1
sysutils/yazi: update to 0.2.3
38 remaining items
audio/spotify-qt: update to 4.0.3
sysutils/xfe: update to 2.1.6
audio/spotify-qt: update to 4.0.3
sysutils/xfe: update to 2.1.6
p5-Template-Toolkit: update to 3.103.
(devel/R-callr) Updated 3.7.6 to 3.8 0
www/litehtml: Update v0.10
py-icalendar: update to 7.3.0.
py-cares: update to 5.1.0.
haproxy: Switch to DEBUG_CFLAGS.
py-cares: update to 5.1.0.
sysutils/mirador: update to 1.22.2
games/chess-tui: update to 2.8.0
uriparser: update to 1.0.3.
misc/rozi: update to 0.0.45