New comment by Chocimier on void-packages repository https://github.com/void-linux/void-packages/pull/18475#issuecomment-578401472 Comment: Setting compiler to gcc will always break, because it is native compiler rather than cross. There is a patch https://git.buildroot.org/buildroot/plain/package/dante/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch that together with autoreconf -fi fixes cross build.