kumquat-buildroot/package/gnuradio
Gwenhael Goavec-Merou 34cea39024 package/gnuradio: restrict gcc to >= 8
With gnuradio 3.10 boost/filesystem was replaced by std::filesystem.
This feature was introduced with gcc 8 (requirering -lstdc++fs (with
gcc 9 explicit -lstdc++fs is no more explicitely required)).

With gcc < 8 build fails with error:

In file included from /home/br-user/work/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/boost/dll/runtime_symbol_info.hpp:11:0,
                 from /home/br-user/work/instance-0/output-1/build/gnuradio-3.10.4.0/buildroot-build/gnuradio-runtime/lib/constants.cc:16:
/home/br-user/work/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/boost/dll/config.hpp:42:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.

Add a dependency to gcc >= 8.

BR2_TOOLCHAIN_HAS_GCC_BUG_64735 only affects gcc <7, so we drop it.

Adding this restriction on gcc >= 8 also covers the dependency for volk,
which requires gcc >= 7, which was not propagated to gnuradio so far.

Tested with bootlin toolchain 2020.02-2 (gcc 8.3.0)

Fixes:
- http://autobuild.buildroot.net/results/6a82605c58f9ef9eb6c14603777dd8523dd00aa5/
- http://autobuild.buildroot.net/results/c7c4ae76954e388ab639b39fd521d90acfe4edc9/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-12-10 18:13:23 +01:00
..
0001-blocks-Including-missing-vector-in-blockinterleaver.patch package/gnuradio: remove patch numbering 2022-11-20 10:24:53 +01:00
0002-blocks-blockinterleaving.h-add-missing-cstddef-heade.patch package/gnuradio: remove patch numbering 2022-11-20 10:24:53 +01:00
Config.in package/gnuradio: restrict gcc to >= 8 2022-12-10 18:13:23 +01:00
gnuradio.hash
gnuradio.mk