toolchain/Config.in: extend gcc bug 43744 to every sh architecture
PATCH 1/2 toolchain/Config.in: extend gcc bug 43744 to every sh architecture
--- toolchain/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/Config.in +1 -1
@@ -115,7 +115,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 - depends on BR2_sh4 + depends on BR2_sh # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no # longer exists in gcc 8.x.
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/postgresql: work around gcc bug 43744
Package postgresql suffers from gcc bug 43744 other than 85180, so let's work around disabling compiler optimization for this gcc bug too.
Fixes:
http://autobuild.buildroot.net/results/cf272cdc5be2faf4070de3d235ec7a0f7190867a
--- package/postgresql/postgresql.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/postgresql/postgresql.mk +1 -1
@@ -101,7 +101,7 @@ endif POSTGRESQL_CFLAGS = $(TARGET_CFLAGS) -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +ifneq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_43744)$(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),) POSTGRESQL_CFLAGS += -O0 endif
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/postgresql: work around gcc bug 43744
Hello Giulio,
Quoted 10 lines · On Thu, 2 Feb 2023 16:42:39 +0100 Giulio Benetti…
Package postgresql suffers from gcc bug 43744 other than 85180, so let's work around disabling compiler optimization for this gcc bug too.
Fixes:
http://autobuild.buildroot.net/results/cf272cdc5be2faf4070de3d235ec7a0f7190867aSigned-off-by Giulio Benetti <[email protected]>--- package/postgresql/postgresql.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks. However, you should have resent a v2 of this patch together with the v2 of the first patch. Never resend partial series, but instead always, always, always, always, always, always, always, always, always, always, always, always, always resend a full series, even if only one patch changed. Sending partial series is extremely confusing for the people reviewing/applying the patches.
Thanks a lot!
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/postgresql: work around gcc bug 43744
Hello Thomas,
Quoted 16 lines · Thomas Petazzoni via buildroot
Hello Giulio,
Quoted 10 lines · On Thu, 2 Feb 2023 16:42:39 +0100 Giulio Benetti…
Package postgresql suffers from gcc bug 43744 other than 85180, so let's work around disabling compiler optimization for this gcc bug too.
Fixes:
http://autobuild.buildroot.net/results/cf272cdc5be2faf4070de3d235ec7a0f7190867aSigned-off-by Giulio Benetti <[email protected]>--- package/postgresql/postgresql.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 6 lines
Applied to master, thanks. However, you should have resent a v2 of this patch together with the v2 of the first patch. Never resend partial series, but instead always, always, always, always, always, always, always, always, always, always, always, always, always resend a full series, even if only one patch changed. Sending partial series is extremely confusing for the people reviewing/applying the patches.
You've pointed me this recently too :-/ Sorry!
Signature · 6 lines
Giulio Benetti Benetti Engineering sas _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/postgresql: work around gcc bug 43744
In reply to Giulio BenettiQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Giulio" == Giulio Benetti <[email protected]> writes:
Package postgresql suffers from gcc bug 43744 other than 85180, so let's work around disabling compiler optimization for this gcc bug too.
Fixes:
http://autobuild.buildroot.net/results/cf272cdc5be2faf4070de3d235ec7a0f7190867aSigned-off-by Giulio Benetti <[email protected]>
Committed to 2022.11.x and 2022.02.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 1 line · On Thu, 2 Feb 2023 16:42:38 +0100 Giulio Benetti…
Signed-off-by Giulio Benetti <[email protected]>
It would be nice to have a non-empty commit log, which explains which other CPU is affected by the bug, and perhaps a defconfig that exhibits the issue, or something like that.
Thanks a lot!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/1 toolchain/Config.in: extend gcc bug 43744 to every sh architecture
Gcc bug 43744 affects seems to affect all SH family because it already affects:
1) sh4, here you can find a buildroot defconfig that fails to build:
http://autobuild.buildroot.net/results/1db/1db6c59c98e3c09fa13277076ee2fbe7967f1f6b/defconfig
2) sh4a, here you can find a buildroot defconfig that fails to build:
http://autobuild.buildroot.net/results/cf272cdc5be2faf4070de3d235ec7a0f7190867a/defconfig
Note also that gcc bugzilla entry reports the bug for SH and not for sub-architectures:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744
So let's extend the bug to BR2_sh to match the entire SH architecture.
---V1->V2:
* add a commit log with details about gcc bug 43744 as pointed by Thomas Petazzoni
--- toolchain/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/Config.in +1 -1
@@ -115,7 +115,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 - depends on BR2_sh4 + depends on BR2_sh # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no # longer exists in gcc 8.x.
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 12 lines · On Sun, 5 Feb 2023 22:25:21 +0100 Giulio Benetti…
Gcc bug 43744 affects seems to affect all SH family because it already affects:
1) sh4, here you can find a buildroot defconfig that fails to build:
http://autobuild.buildroot.net/results/1db/1db6c59c98e3c09fa13277076ee2fbe7967f1f6b/defconfig
2) sh4a, here you can find a buildroot defconfig that fails to build:
http://autobuild.buildroot.net/results/cf272cdc5be2faf4070de3d235ec7a0f7190867a/defconfig
Note also that gcc bugzilla entry reports the bug for SH and not for sub-architectures:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744So let's extend the bug to
BR2_shto match the entire SH architecture.
Quoted 7 lines
Signed-off-by Giulio Benetti <[email protected]>---
V1->V2:
* add a commit log with details about gcc bug 43744 as pointed by Thomas Petazzoni--- toolchain/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Giulio" == Giulio Benetti <[email protected]> writes:
Gcc bug 43744 affects seems to affect all SH family because it already affects:
1) sh4, here you can find a buildroot defconfig that fails to build:
http://autobuild.buildroot.net/results/1db/1db6c59c98e3c09fa13277076ee2fbe7967f1f6b/defconfig
2) sh4a, here you can find a buildroot defconfig that fails to build:
http://autobuild.buildroot.net/results/cf272cdc5be2faf4070de3d235ec7a0f7190867a/defconfig
Note also that gcc bugzilla entry reports the bug for SH and not for sub-architectures:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744
Quoted 4 lines
So let's extend the bug to
BR2_shto match the entire SH architecture.Signed-off-by Giulio Benetti <[email protected]>---
V1-> V2:
Quoted 1 line
* add a commit log with details about gcc bug 43744 as pointed by Thomas Petazzoni
Committed to 2022.11.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot