From: Peter Korsgaard <peter@korsgaard.com>
To: Yegor Yefremov <yegorslists@googlemail.com>
Cc: buildroot@buildroot.org,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Romain Naour" <romain.naour@gmail.com>,
"Vincent Stehlé" <vincent.stehle@laposte.net>,
"Fabrice Fontaine" <fontaine.fabrice@gmail.com>,
"Giulio Benetti" <giulio.benetti@benettiengineering.com>
Subject: Re: [Buildroot] [PATCH] package/cairo: work around gcc bug 125410 on hppa
Date: Sat, 14 Nov 2026 10:41:44 +0100 [thread overview]
Message-ID: <877bifg36v.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20261112144541.3663027-1-yegorslists@googlemail.com> (Yegor Yefremov's message of "Thu, 12 Nov 2026 15:45:41 +0100")
>>>>> "Yegor" == Yegor Yefremov <yegorslists@googlemail.com> writes:
> GCC 16 uses LRA by default on hppa, and crashes while compiling
> cairo-pattern.c:
> ../src/cairo-pattern.c: In function 'cairo_mesh_pattern_end_patch':
> ../src/cairo-pattern.c:1417:1: error: unrecognizable insn:
> (insn 325 0 0 (set (reg/f:SI 381)
> (mem/f/c:SI (plus:SI (reg/f:SI 89 sfp)
> (const_int -184 [0xffffffffffffff48])) [25 p[0][0]+0 S4 A64])) -1
> (nil))
> during RTL pass: reload
> ../src/cairo-pattern.c:1417:1: internal compiler error: in extract_insn, at recog.cc:2892
> This is GCC bug 125410 [1], reported upstream with a test case reduced
> from this very cairo function, and still open. GCC 15 is not affected,
> and with GCC 16 both the test case and cairo build when passing
> -mno-lra, as reported in [2].
> Add BR2_TOOLCHAIN_HAS_GCC_BUG_125410 for hppa with GCC >= 16, and pass
> -mno-lra to cairo in that case, so that the old reload pass is used.
> This issue has been present since commit 1b290781cf37 ("package/gcc:
> add version 16.1.0"), which made GCC 16 available. It therefore
> affects 2026.08 and later, including the 2026.08.x maintenance
> branch.
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125410
> [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125410#c2
> Fixes:
> https://autobuild.buildroot.org/results/f76b8f361d01eef892ad21722b099ba8bacfcc57
> https://autobuild.buildroot.org/results/a5ee815bd49784cc522e76e49a2a021a151a9e57
> https://autobuild.buildroot.org/results/54bbea14bef321c193d9b6450b253edf832c6b8d
> Fixes: 1b290781cf3782576091dbeacdd7d1a30b051856 ("package/gcc: add version 16.1.0")
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-11-14 9:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 14:45 [Buildroot] [PATCH] package/cairo: work around gcc bug 125410 on hppa Yegor Yefremov
2026-11-14 9:41 ` Peter Korsgaard [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=877bifg36v.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=giulio.benetti@benettiengineering.com \
--cc=romain.naour@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=vincent.stehle@laposte.net \
--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