diff mbox series

[1/2] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_104028

Message ID 20220114105511.1010113-1-giulio.benetti@benettiengineering.com
State Accepted
Headers show
Series [1/2] toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_104028 | expand

Commit Message

Giulio Benetti Jan. 14, 2022, 10:55 a.m. UTC
sg3_utils package fails to build for the M68K architecture with optimization
enabled with gcc = 10.3.0 and it's still present in gcc = 11.1.0:
http://autobuild.buildroot.net/results/c49300d12a209b18f41d389f092324592b881277/

It's been reported upstream:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 toolchain/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Thomas Petazzoni July 26, 2022, 3:15 p.m. UTC | #1
On Fri, 14 Jan 2022 11:55:10 +0100
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

> sg3_utils package fails to build for the M68K architecture with optimization
> enabled with gcc = 10.3.0 and it's still present in gcc = 11.1.0:
> http://autobuild.buildroot.net/results/c49300d12a209b18f41d389f092324592b881277/
> 
> It's been reported upstream:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
>  toolchain/Config.in | 7 +++++++
>  1 file changed, 7 insertions(+)

Both applied, thanks!

Thomas
Peter Korsgaard Aug. 18, 2022, 6:25 a.m. UTC | #2
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:

 > On Fri, 14 Jan 2022 11:55:10 +0100
 > Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:

 >> sg3_utils package fails to build for the M68K architecture with optimization
 >> enabled with gcc = 10.3.0 and it's still present in gcc = 11.1.0:
 >> http://autobuild.buildroot.net/results/c49300d12a209b18f41d389f092324592b881277/
 >> 
 >> It's been reported upstream:
 >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028
 >> 
 >> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
 >> ---
 >> toolchain/Config.in | 7 +++++++
 >> 1 file changed, 7 insertions(+)

 > Both applied, thanks!

Committed both to 2022.05.x and 2022.02.x, thanks.
diff mbox series

Patch

diff --git a/toolchain/Config.in b/toolchain/Config.in
index adc93ab725..ccdf62503d 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -220,6 +220,13 @@  config BR2_TOOLCHAIN_HAS_GCC_BUG_101952
 	bool
 	default y if BR2_sh4
 
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028
+# ICE: on M68K: Error: value -16034 out of range
+# This bug still exists in gcc = 11.1.0
+config BR2_TOOLCHAIN_HAS_GCC_BUG_104028
+	bool
+	default y if BR2_m68k
+
 config BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	bool