* [Buildroot] [PATCH] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_80786 @ 2023-08-06 18:37 Giulio Benetti 2023-08-06 21:32 ` Thomas Petazzoni via buildroot 0 siblings, 1 reply; 3+ messages in thread From: Giulio Benetti @ 2023-08-06 18:37 UTC (permalink / raw) To: buildroot Cc: Thomas De Schampheleire, Giulio Benetti, Romain Naour, Thomas Petazzoni openssh package fails to build for the M68K architecture with optimization enabled with gcc = 12.3.0 and it's still present in gcc = 13.2.0: http://autobuild.buildroot.net/results/d29/d29c662e41d8969e6a8aa24870e728bcc7050563/ It's been reported upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80786 Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> --- toolchain/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/toolchain/Config.in b/toolchain/Config.in index a142d27231..328cd023d1 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -141,6 +141,13 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 bool default y if BR2_microblaze +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80786. +# ICE: in change_address_1, at emit-rtl.c:2275 +# This bug still exists in gcc 12.x +config BR2_TOOLCHAIN_HAS_GCC_BUG_80786 + bool + default y if BR2_m68k + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81426 config BR2_TOOLCHAIN_HAS_GCC_BUG_81426 bool -- 2.34.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_80786 2023-08-06 18:37 [Buildroot] [PATCH] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_80786 Giulio Benetti @ 2023-08-06 21:32 ` Thomas Petazzoni via buildroot 2023-08-06 21:54 ` Giulio Benetti 0 siblings, 1 reply; 3+ messages in thread From: Thomas Petazzoni via buildroot @ 2023-08-06 21:32 UTC (permalink / raw) To: Giulio Benetti; +Cc: Romain Naour, Thomas De Schampheleire, buildroot On Sun, 6 Aug 2023 20:37:38 +0200 Giulio Benetti <giulio.benetti@benettiengineering.com> wrote: > openssh package fails to build for the M68K architecture with optimization > enabled with gcc = 12.3.0 and it's still present in gcc = 13.2.0: > http://autobuild.buildroot.net/results/d29/d29c662e41d8969e6a8aa24870e728bcc7050563/ > > It's been reported upstream: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80786 > > Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> But this commit is only introducing a hidden boolean option, how can it solve any problem on its own? Can you submit this in a patch series where it gets used at least in some place? Thanks! Thomas -- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_80786 2023-08-06 21:32 ` Thomas Petazzoni via buildroot @ 2023-08-06 21:54 ` Giulio Benetti 0 siblings, 0 replies; 3+ messages in thread From: Giulio Benetti @ 2023-08-06 21:54 UTC (permalink / raw) To: Thomas Petazzoni; +Cc: Romain Naour, Thomas De Schampheleire, buildroot Hello Thomas, On 06/08/23 23:32, Thomas Petazzoni via buildroot wrote: > On Sun, 6 Aug 2023 20:37:38 +0200 > Giulio Benetti <giulio.benetti@benettiengineering.com> wrote: > >> openssh package fails to build for the M68K architecture with optimization >> enabled with gcc = 12.3.0 and it's still present in gcc = 13.2.0: >> http://autobuild.buildroot.net/results/d29/d29c662e41d8969e6a8aa24870e728bcc7050563/ >> >> It's been reported upstream: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80786 >> >> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> > > But this commit is only introducing a hidden boolean option, how can it > solve any problem on its own? Can you submit this in a patch series > where it gets used at least in some place? This is to ease this patch: https://patchwork.ozlabs.org/project/buildroot/patch/ZM/aaG0d/pzoYgp1@waldemar-brodkorb.de/ so once this patch is applied he can use BR2_TOOLCHAIN_HAS_GCC_BUG_80786 -- Giulio Benetti CEO&CTO@Benetti Engineering sas _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-06 21:55 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-08-06 18:37 [Buildroot] [PATCH] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_80786 Giulio Benetti 2023-08-06 21:32 ` Thomas Petazzoni via buildroot 2023-08-06 21:54 ` Giulio Benetti
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox