]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: do not attempt to use backtrace() on linux without glibc
authorWilly Tarreau <w@1wt.eu>
Sun, 29 Sep 2024 07:46:10 +0000 (09:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 29 Sep 2024 07:52:23 +0000 (09:52 +0200)
commit7caf073faa6962de15a18dadcaf200df95ce7889
tree06f89b90e47a6de15fe6070661a2d241abc2e3c7
parent1c4776dbc3e7d0a73bd62bae78d509c3c54045d6
MINOR: tools: do not attempt to use backtrace() on linux without glibc

The function is provided by glibc. Nothing prevents us from using our
own outside of glibc there (tested on aarch64 with musl). We still do
not enable it by default as we don't yet know if all archs work well,
but it's sufficient to pass USE_BACKTRACE=1 when building with musl to
verify it's OK.
include/haproxy/compat.h