From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: buildroot@buildroot.org,
Giulio Benetti <giulio.benetti@benettiengineering.com>
Subject: Re: [Buildroot] [PATCH] package/bind: fix build with old host GCC since autoconf bump
Date: Thu, 27 Aug 2026 22:26:35 +0200 [thread overview]
Message-ID: <475b5097ea97972ffbb472d33b6eb434@free.fr> (raw)
In-Reply-To: <20260826214030.630675-1-thomas.petazzoni@bootlin.com>
On 26/08/2026 23:40, Thomas Petazzoni via buildroot wrote:
> Since the bump of autoconf to version 2.73 in Buildroot commit, the
> build of target bind fails if the host compiler is too old, because
> the bind build system tries to use -std=gnu23 when building host tools
> which isn't supported by older GCC releases, causing:
>
> checking whether the C compiler works... no
> configure: error: in
> '/home/thomas/autobuild/instance-2/output-1/build/bind-9.20.26':
> configure: error: C compiler cannot create executables
> See 'config.log' for more details
> make: *** [package/pkg-generic.mk:263:
> /home/thomas/autobuild/instance-2/output-1/build/bind-9.20.26/.stamp_configured]
> Error 77
>
> To fix this, we backport a number of patches from autoconf-archive, to
> fix the m4/ax_prog_cc_for_build.m4 macro file, so that it works with
> autoconf 2.73.
>
> OpenEmbedded has a similar fix:
> https://git.openembedded.org/openembedded-core/tree/meta/recipes-connectivity/bind/bind/0001-m4-Backport-ax_prog_cc_for_build.m4-macros.patch
> but did not backport as carefully the autoconf-archive commits (and
> their commit message reverts to sudo).
>
> The patches can be dropped when we update to a newer version of bind
> that itself has an updated copy of the m4/ax_prog_cc_for_build.m4
> file.
>
> Fixes:
>
>
> https://autobuild.buildroot.net/results/13e07755101b7cae2f84eef173ef752f92842e71/
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-08-27 20:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-26 21:40 [Buildroot] [PATCH] package/bind: fix build with old host GCC since autoconf bump Thomas Petazzoni via buildroot
2026-08-27 20:26 ` Julien Olivain via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=475b5097ea97972ffbb472d33b6eb434@free.fr \
--to=buildroot@buildroot.org \
--cc=giulio.benetti@benettiengineering.com \
--cc=ju.o@free.fr \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.