[Buildroot] [PATCH 1/1] package/libcamera: needs gcc >= 8
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Aug 27 20:45:47 UTC 2022
Fabrice, All,
On 2022-08-27 22:35 +0200, Fabrice Fontaine spake thusly:
> libcamera needs gcc >= 8 since bump to
> 8a845ab078c3fe12ac4edd16c8cbac5b7ec03b98 in commit
> 64f67ede01699c47ca3c8801ae5dd440295f1874 and
> https://git.libcamera.org/libcamera/libcamera.git/commit/?id=a7ab5ef1d2f9b05056db450e631a99a73382d589:
>
> ../output-1/build/libcamera-ba6435930f08e802cffc688d90f156a8959a0f86/meson.build:82:8: ERROR: Problem encountered: gcc version is too old, libcamera requires 8.0 or newer
>
> Fixes:
> - http://autobuild.buildroot.org/results/f8eba0e564d03b83fcda4085baec16a4857c7d25
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/libcamera-apps/Config.in | 6 +++---
> package/libcamera/Config.in | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/package/libcamera-apps/Config.in b/package/libcamera-apps/Config.in
> index 492a99cf55..711fd6de05 100644
> --- a/package/libcamera-apps/Config.in
> +++ b/package/libcamera-apps/Config.in
> @@ -3,7 +3,7 @@ config BR2_PACKAGE_LIBCAMERA_APPS
> depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS # libcamera
> depends on BR2_INSTALL_LIBSTDCPP # libcamera/boost
> depends on BR2_TOOLCHAIN_HAS_THREADS # libcamera/boost
> - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17/libcamera
> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # libcamera
> depends on !BR2_STATIC_LIBS # gnutls/libcamera
> depends on BR2_USE_WCHAR # gnutls/libcamera/boost
> select BR2_PACKAGE_BOOST
> @@ -24,7 +24,7 @@ config BR2_PACKAGE_LIBCAMERA_APPS
>
> https://github.com/raspberrypi/libcamera-apps
>
> -comment "libcamera-apps needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7"
> +comment "libcamera-apps needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8"
> depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
> depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
> - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
> + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
> diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in
> index 0febfef4bc..63c06173db 100644
> --- a/package/libcamera/Config.in
> +++ b/package/libcamera/Config.in
> @@ -10,7 +10,7 @@ menuconfig BR2_PACKAGE_LIBCAMERA
> depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
> depends on BR2_INSTALL_LIBSTDCPP
> depends on BR2_TOOLCHAIN_HAS_THREADS
> - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
> + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17
> depends on !BR2_STATIC_LIBS # gnutls
> depends on BR2_USE_WCHAR # gnutls
> select BR2_PACKAGE_GNUTLS
> @@ -92,7 +92,7 @@ comment "lc-compliance test application needs a toolchain w/ C++, wchar, threads
>
> endif # BR2_PACKAGE_LIBCAMERA
>
> -comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7"
> +comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8"
> depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
> depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
> - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
> + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
> --
> 2.35.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list