* [Buildroot] [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0
@ 2022-12-09 14:43 Gwenhael Goavec-Merou
2022-12-09 15:27 ` Thomas Petazzoni via buildroot
2022-12-09 22:30 ` Thomas Petazzoni via buildroot
0 siblings, 2 replies; 8+ messages in thread
From: Gwenhael Goavec-Merou @ 2022-12-09 14:43 UTC (permalink / raw)
To: buildroot; +Cc: Gwenhael Goavec-Merou, Thomas Petazzoni
From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Since commit 5a15095f65c655356989c91e52da1746cd96f41b gnuradio requires
gcc >= 9.3.0
This patch add this dependency and removes BR2_TOOLCHAIN_HAS_GCC_BUG_64735
dependency because it is only required for gcc < 7.
Also gcc restriction is required because volk needs a toolchain with a gcc > 7.
fix:
- http://autobuild.buildroot.net/results/6a82605c58f9ef9eb6c14603777dd8523dd00aa5/
- http://autobuild.buildroot.net/results/c7c4ae76954e388ab639b39fd521d90acfe4edc9/
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
---
package/gnuradio/Config.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in
index de19732cfb..a99a1972c0 100644
--- a/package/gnuradio/Config.in
+++ b/package/gnuradio/Config.in
@@ -1,12 +1,12 @@
-comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library"
+comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library gcc >= 9"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
- !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
+ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_9
-comment "gnuradio needs a toolchain not affected by GCC bug 43744 and 64735"
+comment "gnuradio needs a toolchain not affected by GCC bug 43744"
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_43744
- depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
config BR2_PACKAGE_GNURADIO
bool "gnuradio"
@@ -16,8 +16,8 @@ config BR2_PACKAGE_GNURADIO
depends on BR2_USE_MMU # use fork()
depends on BR2_USE_WCHAR # boost
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic, boost-thread
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_43744
- depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread
select BR2_PACKAGE_BOOST
select BR2_PACKAGE_BOOST_ATOMIC
select BR2_PACKAGE_BOOST_DATE_TIME
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [Buildroot] [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0
2022-12-09 14:43 [Buildroot] [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0 Gwenhael Goavec-Merou
@ 2022-12-09 15:27 ` Thomas Petazzoni via buildroot
2022-12-09 15:32 ` Gwenhael Goavec-Merou
2022-12-09 22:30 ` Thomas Petazzoni via buildroot
1 sibling, 1 reply; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-12-09 15:27 UTC (permalink / raw)
To: Gwenhael Goavec-Merou; +Cc: Gwenhael Goavec-Merou, buildroot
On Fri, 9 Dec 2022 15:43:47 +0100
Gwenhael Goavec-Merou <gwenj@trabucayre.com> wrote:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
>
> Since commit 5a15095f65c655356989c91e52da1746cd96f41b gnuradio requires
> gcc >= 9.3.0
Is it really 9.3.0 that is required, or 9.x ?
Because BR2_TOOLCHAIN_GCC_AT_LEAST_9 does not guarantee 9.3.0, it
guarantees 9.x.
> -comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library"
> +comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library gcc >= 9"
^^^^ missing comma
(No need to resend just for this)
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] 8+ messages in thread
* Re: [Buildroot] [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0
2022-12-09 15:27 ` Thomas Petazzoni via buildroot
@ 2022-12-09 15:32 ` Gwenhael Goavec-Merou
[not found] ` <20221209163756.118bd1d5@x230_1.trabucayre.com>
0 siblings, 1 reply; 8+ messages in thread
From: Gwenhael Goavec-Merou @ 2022-12-09 15:32 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Gwenhael Goavec-Merou, buildroot
On Fri, 9 Dec 2022 16:27:08 +0100
Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:
> On Fri, 9 Dec 2022 15:43:47 +0100
> Gwenhael Goavec-Merou <gwenj@trabucayre.com> wrote:
>
> > From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
> >
> > Since commit 5a15095f65c655356989c91e52da1746cd96f41b gnuradio requires
> > gcc >= 9.3.0
>
> Is it really 9.3.0 that is required, or 9.x ?
>
gnuradio ask for 9.3.0 but it's true one may wish to use gcc >= 9.0.0 but < 9.3.0.
I assume a BR2_TOOLCHAIN_HEADERS_AT_LEAST_9_3 must be added to strictly respect this
requirement?
> Because BR2_TOOLCHAIN_GCC_AT_LEAST_9 does not guarantee 9.3.0, it
> guarantees 9.x.
>
>
> > -comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library"
> > +comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library gcc >= 9"
>
> ^^^^ missing comma
>
> (No need to resend just for this)
'k
>
> Thomas
Thanks
Gwen
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Buildroot] [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0
[not found] ` <20221209163756.118bd1d5@x230_1.trabucayre.com>
@ 2022-12-09 16:10 ` Thomas Petazzoni via buildroot
2022-12-10 4:38 ` Bagas Sanjaya
0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-12-09 16:10 UTC (permalink / raw)
To: Gwenhael Goavec-Merou; +Cc: buildroot
On Fri, 9 Dec 2022 16:37:56 +0100
Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> wrote:
> > gnuradio ask for 9.3.0 but it's true one may wish to use gcc >= 9.0.0 but < 9.3.0.
> > I assume a BR2_TOOLCHAIN_HEADERS_AT_LEAST_9_3 must be added to strictly respect this
> > requirement?
> BR2_TOOLCHAIN_GCC_AT_LEAST_9_3 instead of BR2_TOOLCHAIN_HEADERS_AT_LEAST_9_3 ...
BR2_TOOLCHAIN_GCC_AT_LEAST_9_3 does not exist. We only have options for
5.x, 6.x, 7.x, 8.x, 9.x, etc.
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] 8+ messages in thread
* Re: [Buildroot] [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0
2022-12-09 14:43 [Buildroot] [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0 Gwenhael Goavec-Merou
2022-12-09 15:27 ` Thomas Petazzoni via buildroot
@ 2022-12-09 22:30 ` Thomas Petazzoni via buildroot
2022-12-10 10:02 ` [Buildroot] Specific toolchain components version support (was Re: [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0) Bagas Sanjaya
1 sibling, 1 reply; 8+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-12-09 22:30 UTC (permalink / raw)
To: Gwenhael Goavec-Merou; +Cc: Gwenhael Goavec-Merou, buildroot
Hello,
On Fri, 9 Dec 2022 15:43:47 +0100
Gwenhael Goavec-Merou <gwenj@trabucayre.com> wrote:
> Since commit 5a15095f65c655356989c91e52da1746cd96f41b gnuradio requires
> gcc >= 9.3.0
This commit does not have any justification about the gcc 9.3.0
requirement. It seems to have been bumped to 9.3.0 just because Ubuntu
20.04 LTS uses 9.3.0.
So I would suggest to patch out this silly version check, and really
base the gcc version needed by gnuradio on actual issues.
In any case, we need to patch out, because we can't express a
dependency on >= 9.3.0 in Buildroot, we can only express a dependency
on >= 9.x.
Best regards,
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] 8+ messages in thread
* Re: [Buildroot] [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0
2022-12-09 16:10 ` Thomas Petazzoni via buildroot
@ 2022-12-10 4:38 ` Bagas Sanjaya
0 siblings, 0 replies; 8+ messages in thread
From: Bagas Sanjaya @ 2022-12-10 4:38 UTC (permalink / raw)
To: buildroot
On 12/9/22 23:10, Thomas Petazzoni via buildroot wrote:
> On Fri, 9 Dec 2022 16:37:56 +0100
> Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> wrote:
>
>>> gnuradio ask for 9.3.0 but it's true one may wish to use gcc >= 9.0.0 but < 9.3.0.
>>> I assume a BR2_TOOLCHAIN_HEADERS_AT_LEAST_9_3 must be added to strictly respect this
>>> requirement?
>> BR2_TOOLCHAIN_GCC_AT_LEAST_9_3 instead of BR2_TOOLCHAIN_HEADERS_AT_LEAST_9_3 ...
>
> BR2_TOOLCHAIN_GCC_AT_LEAST_9_3 does not exist. We only have options for
> 5.x, 6.x, 7.x, 8.x, 9.x, etc.
>
Thus the minimum version is GCC 10 (BR2_TOOLCHAIN_GCC_AT_LEAST_10), right?
--
An old man doll... just what I always wanted! - Clara
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Specific toolchain components version support (was Re: [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0)
2022-12-09 22:30 ` Thomas Petazzoni via buildroot
@ 2022-12-10 10:02 ` Bagas Sanjaya
2022-12-10 16:28 ` Gwenhael Goavec-Merou
0 siblings, 1 reply; 8+ messages in thread
From: Bagas Sanjaya @ 2022-12-10 10:02 UTC (permalink / raw)
To: Thomas Petazzoni, Gwenhael Goavec-Merou
Cc: Gwenhael Goavec-Merou, Yann E. MORIN, buildroot
On 12/10/22 05:30, Thomas Petazzoni via buildroot wrote:
> In any case, we need to patch out, because we can't express a
> dependency on >= 9.3.0 in Buildroot, we can only express a dependency
> on >= 9.x.
>
If we go down to x.y requirement of toolchain components, we also need
to be able to select specific x.y (minor release) components version
when building the Buildroot toolchain. For example, someone targetting
Raspberry Pi 4 may require GCC 10.2.0, Binutils 2.35.2, and glibc 2.31
(these are versions used in Debian/Raspberry Pi OS 11). Linux kernel
headers are unaffected, since even custom tarball containing exact
kernel version can be specified.
Cc'ing Yann and Arnout to help sorting this out.
Thanks.
--
An old man doll... just what I always wanted! - Clara
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Buildroot] Specific toolchain components version support (was Re: [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0)
2022-12-10 10:02 ` [Buildroot] Specific toolchain components version support (was Re: [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0) Bagas Sanjaya
@ 2022-12-10 16:28 ` Gwenhael Goavec-Merou
0 siblings, 0 replies; 8+ messages in thread
From: Gwenhael Goavec-Merou @ 2022-12-10 16:28 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Gwenhael Goavec-Merou, Yann E. MORIN, Thomas Petazzoni, buildroot
Hi all,
On Sat, 10 Dec 2022 17:02:37 +0700
Bagas Sanjaya <bagasdotme@gmail.com> wrote:
> On 12/10/22 05:30, Thomas Petazzoni via buildroot wrote:
> > In any case, we need to patch out, because we can't express a
> > dependency on >= 9.3.0 in Buildroot, we can only express a dependency
> > on >= 9.x.
> >
>
> If we go down to x.y requirement of toolchain components, we also need
> to be able to select specific x.y (minor release) components version
> when building the Buildroot toolchain. For example, someone targetting
> Raspberry Pi 4 may require GCC 10.2.0, Binutils 2.35.2, and glibc 2.31
> (these are versions used in Debian/Raspberry Pi OS 11). Linux kernel
> headers are unaffected, since even custom tarball containing exact
> kernel version can be specified.
>
It's my fault: not a closer look to when std::filesystem was introduce and followed
gnuradio's commit instead of checking gcc releases.
Sorry for the noise...
Gwen
> Cc'ing Yann and Arnout to help sorting this out.
>
> Thanks.
>
> --
> An old man doll... just what I always wanted! - Clara
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-12-10 16:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-09 14:43 [Buildroot] [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0 Gwenhael Goavec-Merou
2022-12-09 15:27 ` Thomas Petazzoni via buildroot
2022-12-09 15:32 ` Gwenhael Goavec-Merou
[not found] ` <20221209163756.118bd1d5@x230_1.trabucayre.com>
2022-12-09 16:10 ` Thomas Petazzoni via buildroot
2022-12-10 4:38 ` Bagas Sanjaya
2022-12-09 22:30 ` Thomas Petazzoni via buildroot
2022-12-10 10:02 ` [Buildroot] Specific toolchain components version support (was Re: [PATCH v2] package/gnuradio: restrict gcc to >= 9.3.0) Bagas Sanjaya
2022-12-10 16:28 ` Gwenhael Goavec-Merou
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.