From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Yegor Yefremov <yegorslists@googlemail.com>
Cc: buildroot@buildroot.org,
Giulio Benetti <giulio.benetti@benettiengineering.com>,
Romain Naour <romain.naour@gmail.com>
Subject: Re: [Buildroot] [PATCH 1/2] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_104820
Date: Sun, 25 Oct 2026 21:49:03 +0100 [thread overview]
Message-ID: <at5rOEEPBPmmYSjV@windsurf> (raw)
In-Reply-To: <20261024215009.1004860-1-yegorslists@googlemail.com>
On Sat, Oct 24, 2026 at 11:50:08PM +0200, Yegor Yefremov wrote:
> -fzero-call-used-regs is broken on MIPS before R6, which still has the
> hi/lo registers: gcc either rejects -fzero-call-used-regs=used for
> functions using them:
>
> sorry, unimplemented: argument 'used' is not supported for '-fzero-call-used-regs' on this target
>
> or, depending on the code, the ABI and the optimization level, ICEs:
>
> during RTL pass: zero_call_used_regs
> channels.c:437:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:408
>
> This has been reported upstream, and is still present in gcc 15.3.0:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817
>
> MIPS R6 doesn't have hi/lo and is not affected.
>
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Series applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-10-25 20:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-24 21:50 [Buildroot] [PATCH 1/2] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_104820 Yegor Yefremov
2026-10-24 21:50 ` [Buildroot] [PATCH 2/2] package/openssh: fix build on MIPS before R6 at -O0 Yegor Yefremov
2026-10-25 20:49 ` Thomas Petazzoni 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=at5rOEEPBPmmYSjV@windsurf \
--to=buildroot@buildroot.org \
--cc=giulio.benetti@benettiengineering.com \
--cc=romain.naour@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=yegorslists@googlemail.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