Control: forwarded -1 https://github.com/NLnetLabs/unbound/issues/1339
On Tue, 10 Jun 2025 17:56:26 +0200 Helmut Grohne <[email protected]> wrote:
Source: unbound Version: 1.22.0-1
unbound fails to cross build from source when built with gcc-15. What actually happens is that unbound has a custom check for malloc(0) returning non-NULL that employs AC_RUN_IFELSE with a cross compilation default of "no". As a result, it adds a compatibility layer that declares void *malloc(); and gcc-15 is then unhappy about there being too many arguments. Boom.
https://github.com/NLnetLabs/unbound/pull/1262 (1.23.0). FWIW. /mjt

