Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/bind: fix build failure due to gcc bug 101737
Date: Sun, 30 Jul 2023 00:16:16 +0200	[thread overview]
Message-ID: <20230730001616.7d5946ae@windsurf> (raw)
In-Reply-To: <20230325203808.1272652-1-giulio.benetti@benettiengineering.com>

On Sat, 25 Mar 2023 21:38:08 +0100
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

> The bind package exhibits gcc bug 101737 when built for the SH4
> architecture with optimization enabled, which causes a build failure.
> 
> As done for other packages in Buildroot work around this gcc bug by
> setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_101737=y.
> To achieve this we need to correct the override of CFLAGS by using:
> BIND_CONF_OPTS += CFLAGS="$(BIND_CFLAGS)"
> instead of:
> BIND_CONF_ENV = BUILD_CFLAGS"$(BIND_CFLAGS)"
> since the latter doesn't work as expected and doesn't override CFLAGS.
> 
> Fixes:
> http://autobuild.buildroot.net/results/e7b/e7b9a4cbee8bb16431609182b96d1ac1ccec10e7/
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
>  package/bind/bind.mk | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-07-29 22:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-25 20:38 [Buildroot] [PATCH] package/bind: fix build failure due to gcc bug 101737 Giulio Benetti
2023-07-29 22:16 ` Thomas Petazzoni via buildroot [this message]
2023-08-30 22:10 ` Peter Korsgaard

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=20230730001616.7d5946ae@windsurf \
    --to=buildroot@buildroot.org \
    --cc=giulio.benetti@benettiengineering.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox