Hello!

Recently FreeBSD has moved some things out from libc to libsys (see e.g https://www.mail-archive.com/dev-commits-src-all@freebsd.org/msg50353.html)
So haproxy stopped compiling with "ld: error: undefined symbol: __elf_aux_vector" error.

Brooks Davis suggested the attached patch to fix that.

Please consider including it into the tree.

Thanks.

Attachment: patch-src_tools.c
Description: Binary data



Begin forwarded message:

From: Brooks Davis <bro...@freebsd.org>
Subject: Re: About libc/libsys split
Date: 28 February 2024, 21:59:36 GMT+3
To: Dmitry Sivachenko <de...@freebsd.org>

The attached patch is a more correct solution.  haproxy is wrong to use
__elf_aux_vector as it is not a public interface (it is exposed so that
rtld can update it.)

-- Brooks


Reply via email to