[Buildroot] [git commit] package/qemu: needs gcc >= 8
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Oct 25 21:01:20 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=255acdc143658aa637ce75f657b3bebee1d58c95
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at gmail.com>
[yann.morin.1998 at 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 at free.fr>
---
package/gobject-introspection/Config.in | 6 +++---
package/gstreamer1/gst1-python/Config.in | 5 +++--
package/libvirt/Config.in | 6 ++++++
package/nodejs/Config.in | 6 +++---
package/python-bluezero/Config.in | 6 +++---
package/python-gobject/Config.in | 6 +++---
package/qemu/Config.in | 6 +++---
package/qemu/Config.in.host | 7 ++++++-
8 files changed, 30 insertions(+), 18 deletions(-)
diff --git a/package/gobject-introspection/Config.in b/package/gobject-introspection/Config.in
index c631c84755..42250eb776 100644
--- a/package/gobject-introspection/Config.in
+++ b/package/gobject-introspection/Config.in
@@ -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
diff --git a/package/gstreamer1/gst1-python/Config.in b/package/gstreamer1/gst1-python/Config.in
index 2f34984020..d2671266a0 100644
--- a/package/gstreamer1/gst1-python/Config.in
+++ b/package/gstreamer1/gst1-python/Config.in
@@ -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
diff --git a/package/libvirt/Config.in b/package/libvirt/Config.in
index 8c3021242a..5693ecb4cc 100644
--- a/package/libvirt/Config.in
+++ b/package/libvirt/Config.in
@@ -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
diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in
index 771f735e97..99c76bc3de 100644
--- a/package/nodejs/Config.in
+++ b/package/nodejs/Config.in
@@ -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()
diff --git a/package/python-bluezero/Config.in b/package/python-bluezero/Config.in
index 3d40b1e275..d617b96d67 100644
--- a/package/python-bluezero/Config.in
+++ b/package/python-bluezero/Config.in
@@ -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
diff --git a/package/python-gobject/Config.in b/package/python-gobject/Config.in
index 910f990026..efc781a1ff 100644
--- a/package/python-gobject/Config.in
+++ b/package/python-gobject/Config.in
@@ -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
diff --git a/package/qemu/Config.in b/package/qemu/Config.in
index 763550dbd6..7bb203a177 100644
--- a/package/qemu/Config.in
+++ b/package/qemu/Config.in
@@ -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()
diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host
index a5b38c081b..df5d921125 100644
--- a/package/qemu/Config.in.host
+++ b/package/qemu/Config.in.host
@@ -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"
More information about the buildroot
mailing list