buildroot/package/haproxy
Aleksandr Makarov d3657f363f package/haproxy: fix runtime 'FATAL ERROR: invalid code detected -- cannot go further'
Setting HAPROXY_CFLAGS on the haproxy build command line overrides CFLAGS
which were internally set by the haproxy Makefile.

Among those omitted CFLAGS is -fwrapv. Compiling haproxy without it and
and then running the program results in runtime error:

$ haproxy
FATAL ERROR: invalid code detected -- cannot go further, please recompile!
...

To address this issue, include HAPROXY_CFLAGS in the DEFINE variable instead
of CFLAGS in haproxy.mk.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 9b90ef6178)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-02-29 15:20:56 +01:00
..
0001-BUILD-atomic-atomic.h-may-need-compiler.h-on-ARMv8.2.patch package/haproxy: fix build on aarch64 2023-07-16 19:43:31 +02:00
Config.in
haproxy.hash package/haproxy: security bump to version 2.6.15 2023-09-24 23:34:31 +02:00
haproxy.mk package/haproxy: fix runtime 'FATAL ERROR: invalid code detected -- cannot go further' 2024-02-29 15:20:56 +01:00