toolchain: update gcc bug 99410
PATCH 1/1 toolchain: update gcc bug 99410
Gcc bug 99410 reappeared in gcc 10.x while building belle-sip, but it's fixed on gcc 11.x, so let's update bug conditions.
Fixes:
http://autobuild.buildroot.net/results/846597f3573d3b0d52e80627a9577d14b9348547/
--- toolchain/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
toolchain/Config.in +2 -2
@@ -185,11 +185,11 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 # Error: branch offset out of range on Nios II. This bug # no longer exists in gcc 8.x but reappeared on gcc 9.x and has been -# fixed on gcc 10.x. +# fixed on gcc 11.x. config BR2_TOOLCHAIN_HAS_GCC_BUG_99140 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_10 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_10 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11 depends on BR2_nios2 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 10 lines · On Sun, 6 Feb 2022 10:08:09 +0100 Giulio Benetti…
Gcc bug 99410 reappeared in gcc 10.x while building belle-sip, but it's fixed on gcc 11.x, so let's update bug conditions.
Fixes:
http://autobuild.buildroot.net/results/846597f3573d3b0d52e80627a9577d14b9348547/Signed-off-by Giulio Benetti <[email protected]>--- toolchain/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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 16 lines · Giulio Benetti
Gcc bug 99410 reappeared in gcc 10.x while building belle-sip, but it's fixed on gcc 11.x, so let's update bug conditions.
Fixes:
http://autobuild.buildroot.net/results/846597f3573d3b0d52e80627a9577d14b9348547/Signed-off-by Giulio Benetti <[email protected]>--- toolchain/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)toolchain/Config.in +0
-0
toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 · line 187
Quoted 3 lines
toolchain/Config.in +0
-0@@ -185,11 +185,11 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 # Error: branch offset out of range on Nios II. This bug # no longer exists in gcc 8.x but reappeared on gcc 9.x and has been
If this statement is true...
toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 · line 192
Quoted 7 lines
toolchain/Config.in +2
-2-# fixed on gcc 10.x. +# fixed on gcc 11.x. config BR2_TOOLCHAIN_HAS_GCC_BUG_99140 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_10 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_10 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11
... then this should be
default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11
We don't have a nios2 GCC9 toolchain in the autobuilders so we'll never
notice, of course.
Regards,
Arnout
toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 · line 195
Quoted 3 lines
toolchain/Config.in +0
-0depends on BR2_nios2 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Arnout,
Quoted 35 lines · Arnout Vandecappelle
Quoted 16 lines · Giulio Benetti
Gcc bug 99410 reappeared in gcc 10.x while building belle-sip, but it's fixed on gcc 11.x, so let's update bug conditions.
Fixes:
http://autobuild.buildroot.net/results/846597f3573d3b0d52e80627a9577d14b9348547/Signed-off-by Giulio Benetti <[email protected]>--- toolchain/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)toolchain/Config.in +0
-0toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 · line 187
Quoted 3 lines
toolchain/Config.in +0
-0@@ -185,11 +185,11 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 # Error: branch offset out of range on Nios II. This bug # no longer exists in gcc 8.x but reappeared on gcc 9.x and has beenIf this statement is true...
toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 · line 192
Quoted 7 lines
toolchain/Config.in +2
-2-# fixed on gcc 10.x. +# fixed on gcc 11.x. config BR2_TOOLCHAIN_HAS_GCC_BUG_99140 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_10 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_10 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11... then this should be
Quoted 1 line
default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11
but it's all negative options, so I thought I needed AT_LEAST_10 to cover gcc 10.x as having the bug. But it's not needed. So I only need to modify from !BR2_TOOLCHAIN_GCC_AT_LEAST_10 to !BR2_TOOLCHAIN_GCC_AT_LEAST_11 and that's it.
So I send a V2 for this.
Quoted 2 lines
We don't have a nios2 GCC9 toolchain in the autobuilders so we'll never
notice, of course.
I've tested it locally with buildroot built toolchain.
Thank you!
Best regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 10 lines
Regards,
Arnouttoolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 · line 195
Quoted 3 lines
toolchain/Config.in +0
-0depends on BR2_nios2 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 38 lines · Giulio Benetti
Hi Arnout,
Quoted 35 lines · Arnout Vandecappelle
Quoted 16 lines · Giulio Benetti
Gcc bug 99410 reappeared in gcc 10.x while building belle-sip, but it's fixed on gcc 11.x, so let's update bug conditions.
Fixes:
http://autobuild.buildroot.net/results/846597f3573d3b0d52e80627a9577d14b9348547/Signed-off-by Giulio Benetti <[email protected]>--- toolchain/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)toolchain/Config.in +0
-0toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 · line 187
Quoted 3 lines
toolchain/Config.in +0
-0@@ -185,11 +185,11 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 # Error: branch offset out of range on Nios II. This bug # no longer exists in gcc 8.x but reappeared on gcc 9.x and has beenIf this statement is true...
toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 · line 192
Quoted 7 lines
toolchain/Config.in +2
-2-# fixed on gcc 10.x. +# fixed on gcc 11.x. config BR2_TOOLCHAIN_HAS_GCC_BUG_99140 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_10 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_10 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11... then this should be
Quoted 8 lines
Quoted 1 line
default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11but it's all negative options, so I thought I needed
AT_LEAST_10to cover gcc 10.x as having the bug. But it's not needed. So I only need to modify from !BR2_TOOLCHAIN_GCC_AT_LEAST_10 to !BR2_TOOLCHAIN_GCC_AT_LEAST_11 and that's it.So I send a V2 for this.
Not V2, I need a new one to fix it since it's already been applied. I send it now
Quoted 8 lines
Quoted 2 lines
We don't have a nios2 GCC9 toolchain in the autobuilders so we'll never
notice, of course.I've tested it locally with buildroot built toolchain.
Thank you!
Best regards
Signature · 6 lines
Giulio Benetti Benetti Engineering sas _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/1 toolchain: fix gcc bug 99140 condition
Gcc bug 99140 exhibits with gcc versions:
- up to 7.x
- 9.x
- 10.x
and doesn't show up with gcc versions:
- 8.x
- 11.x
then moving BR2_TOOLCHAIN_GCC_AT_LEAST_9 to BR2_TOOLCHAIN_GCC_AT_LEAST_10 makes gcc version 9 set as working but it's not. So let's back substitute BR2_TOOLCHAIN_GCC_AT_LEAST_10 with BR2_TOOLCHAIN_GCC_AT_LEAST_9.
--- toolchain/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/Config.in +1 -1
@@ -189,7 +189,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 config BR2_TOOLCHAIN_HAS_GCC_BUG_99140 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_10 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11 depends on BR2_nios2 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Arnout Vandecappelle
AppliedRe: [Buildroot] [PATCH] toolchain: fix gcc bug 99140 condition
Quoted 11 lines · Giulio Benetti
Gcc bug 99140 exhibits with gcc versions:
- up to 7.x
- 9.x
- 10.x
and doesn't show up with gcc versions:
- 8.x
- 11.x
then movingBR2_TOOLCHAIN_GCC_AT_LEAST_9toBR2_TOOLCHAIN_GCC_AT_LEAST_10makes gcc version 9 set as working but it's not. So let's back substituteBR2_TOOLCHAIN_GCC_AT_LEAST_10withBR2_TOOLCHAIN_GCC_AT_LEAST_9.
Quoted 1 line
Signed-off-by Giulio Benetti <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 9 lines
--- toolchain/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)toolchain/Config.in +0
-0
toolchain/Config.in config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 · line 195
Quoted 8 lines
toolchain/Config.in +1
-1@@ -189,7 +189,7 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 config BR2_TOOLCHAIN_HAS_GCC_BUG_99140 bool default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_10 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11 depends on BR2_nios2 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH] toolchain: fix gcc bug 99140 condition
In reply to Giulio BenettiQuoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Giulio" == Giulio Benetti <[email protected]> writes:
Gcc bug 99140 exhibits with gcc versions:
- up to 7.x
- 9.x
- 10.x
and doesn't show up with gcc versions:
- 8.x
- 11.x
then movingBR2_TOOLCHAIN_GCC_AT_LEAST_9toBR2_TOOLCHAIN_GCC_AT_LEAST_10makes gcc version 9 set as working but it's not. So let's back substituteBR2_TOOLCHAIN_GCC_AT_LEAST_10withBR2_TOOLCHAIN_GCC_AT_LEAST_9.
Quoted 1 line
Signed-off-by Giulio Benetti <[email protected]>
Committed to 2021.11.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot