package/qemu: needs gcc >= 8
qemu now requires gcc >= 7.5, which was the last release in the 7.x series. We do not have symbols for a gcc dot-version dependency, nor do we want to add one. So, add a dependency on gcc >= 8, for both the host and target variants. In addition: - Add a missing comment in package/qemu/Config.in.host explaining the host gcc requirements if host gcc < 8. Fixes: http://autobuild.buildroot.org/results/32b7fee1f8cda2290fd4bd8ac9fe78bacb25b652 Signed-off-by: Adam Duskett <aduskett@gmail.com> [yann.morin.1998@free.fr: - target qemu also impacted - propagate to libvirt, gst1-python - reword commit log that 7.5 is the last 7.x release ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
5951883cf9
commit
255acdc143
@ -13,7 +13,7 @@ config BR2_PACKAGE_GOBJECT_INTROSPECTION
|
||||
# compile errors with locale.c. As such, require 4.9 until this
|
||||
# can be verified.
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
depends on BR2_HOST_GCC_AT_LEAST_7 # host-qemu
|
||||
depends on BR2_HOST_GCC_AT_LEAST_8 # host-qemu
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
# gobject-introspection does not require python3 to run on the
|
||||
# target; however, because the tools run in a qemu wrapper, a
|
||||
@ -42,9 +42,9 @@ comment "gobject-introspection needs python3"
|
||||
depends on !BR2_PACKAGE_PYTHON3
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
|
||||
comment "gobject-introspection needs a glibc toolchain, gcc >= 4.9, host gcc >= 7"
|
||||
comment "gobject-introspection needs a glibc toolchain, gcc >= 4.9, host gcc >= 8"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_7
|
||||
!BR2_HOST_GCC_AT_LEAST_8
|
||||
|
@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_PYTHON
|
||||
bool "gst1-python"
|
||||
depends on BR2_USE_MMU # libglib2, gobject-introspection
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection
|
||||
depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection
|
||||
depends on BR2_PACKAGE_PYTHON3 # gobject-introspection
|
||||
@ -18,8 +19,8 @@ config BR2_PACKAGE_GST1_PYTHON
|
||||
comment "gst1-python needs python3"
|
||||
depends on !BR2_PACKAGE_PYTHON3
|
||||
|
||||
comment "gst1-python needs a glibc toolchain, gcc >= 4.9"
|
||||
comment "gst1-python needs a glibc toolchain, gcc >= 4.9, host gcc >= 8"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_8
|
||||
|
@ -65,6 +65,7 @@ config BR2_PACKAGE_LIBVIRT_QEMU
|
||||
bool "qemu"
|
||||
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp
|
||||
depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # qemu
|
||||
select BR2_PACKAGE_HWDATA # libpciaccess
|
||||
select BR2_PACKAGE_HWDATA_PCI_IDS # libpciaccess
|
||||
select BR2_PACKAGE_LIBSECCOMP
|
||||
@ -74,6 +75,11 @@ config BR2_PACKAGE_LIBVIRT_QEMU
|
||||
help
|
||||
QEMU/KVM support
|
||||
|
||||
comment "qemu needs a toolchain with gcc >= 8"
|
||||
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8
|
||||
|
||||
config BR2_PACKAGE_LIBVIRT_LXC
|
||||
bool "lxc"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # lxc
|
||||
|
@ -8,18 +8,18 @@ config BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
|
||||
|
||||
comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 7, wchar"
|
||||
comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 7, wchar, host gcc >= 8"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_HOST_GCC_AT_LEAST_7 || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR
|
||||
!BR2_HOST_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR
|
||||
|
||||
config BR2_PACKAGE_NODEJS
|
||||
bool "nodejs"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
|
||||
depends on BR2_HOST_GCC_AT_LEAST_7
|
||||
depends on BR2_HOST_GCC_AT_LEAST_8 # qemu
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
depends on BR2_USE_WCHAR
|
||||
# uses fork()
|
||||
|
@ -2,7 +2,7 @@ config BR2_PACKAGE_PYTHON_BLUEZERO
|
||||
bool "python-bluezero"
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # python-gobject -> gobject-introspection
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection
|
||||
depends on BR2_HOST_GCC_AT_LEAST_7 # python-gobject -> gobject-introspection -> host-qemu
|
||||
depends on BR2_HOST_GCC_AT_LEAST_8 # python-gobject -> gobject-introspection -> host-qemu
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
select BR2_PACKAGE_DBUS # runtime
|
||||
@ -13,9 +13,9 @@ config BR2_PACKAGE_PYTHON_BLUEZERO
|
||||
|
||||
https://github.com/ukBaz/python-bluezero
|
||||
|
||||
comment "python-bluezero needs a glibc toolchain, gcc >= 4.9, host gcc >= 7"
|
||||
comment "python-bluezero needs a glibc toolchain, gcc >= 4.9, host gcc >= 8"
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_7
|
||||
!BR2_HOST_GCC_AT_LEAST_8
|
||||
|
@ -3,7 +3,7 @@ config BR2_PACKAGE_PYTHON_GOBJECT
|
||||
depends on BR2_USE_MMU # libglib2, gobject-introspection
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection
|
||||
depends on BR2_HOST_GCC_AT_LEAST_7 # gobject-introspection -> host-qemu
|
||||
depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection
|
||||
depends on BR2_PACKAGE_PYTHON3 # gobject-introspection
|
||||
select BR2_PACKAGE_GOBJECT_INTROSPECTION
|
||||
@ -13,9 +13,9 @@ config BR2_PACKAGE_PYTHON_GOBJECT
|
||||
|
||||
https://wiki.gnome.org/action/show/Projects/PyGObject
|
||||
|
||||
comment "python-gobject needs a glibc toolchain, gcc >= 4.9, host gcc >= 7"
|
||||
comment "python-gobject needs a glibc toolchain, gcc >= 4.9, host gcc >= 8"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_7
|
||||
!BR2_HOST_GCC_AT_LEAST_8
|
||||
|
@ -5,16 +5,16 @@ config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
|
||||
|| BR2_x86_64 || BR2_arm \
|
||||
|| BR2_powerpc64 || BR2_powerpc64le
|
||||
|
||||
comment "QEMU requires a toolchain with wchar, threads, gcc >= 7"
|
||||
comment "QEMU requires a toolchain with wchar, threads, gcc >= 8"
|
||||
depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
|
||||
depends on BR2_USE_MMU
|
||||
depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR) || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_8
|
||||
|
||||
config BR2_PACKAGE_QEMU
|
||||
bool "QEMU"
|
||||
depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR # gettext
|
||||
depends on BR2_USE_MMU # fork()
|
||||
|
@ -37,7 +37,7 @@ config BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
|
||||
config BR2_PACKAGE_HOST_QEMU
|
||||
bool "host qemu"
|
||||
depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
|
||||
depends on BR2_HOST_GCC_AT_LEAST_7
|
||||
depends on BR2_HOST_GCC_AT_LEAST_8
|
||||
select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE \
|
||||
if !BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE && BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE \
|
||||
@ -50,6 +50,11 @@ config BR2_PACKAGE_HOST_QEMU
|
||||
|
||||
http://www.qemu.org
|
||||
|
||||
comment "host-qemu needs a host gcc >= 8"
|
||||
depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || \
|
||||
BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORT
|
||||
depends on !BR2_HOST_GCC_AT_LEAST_8
|
||||
|
||||
if BR2_PACKAGE_HOST_QEMU
|
||||
|
||||
comment "Emulators selection"
|
||||
|
Loading…
Reference in New Issue
Block a user