qemu: update to 10.0.0

- Update version to 10.0.0
- Update sanitizer config options names
- Add patch to fix meson cross compiler sanitiz check build

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
This commit is contained in:
Vladimir Ermakov
2025-05-22 12:53:33 +02:00
committed by Josef Schlehofer
parent ceb3349f38
commit 40a439bfa8
5 changed files with 24 additions and 10 deletions

View File

@@ -9,10 +9,10 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=qemu PKG_NAME:=qemu
PKG_VERSION:=9.1.3 PKG_VERSION:=10.0.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_HASH:=480a77a0ed13a9b39415f639aa020b4eb0d7cc5a52569510dfd830b3af1bac89 PKG_HASH:=22c075601fdcf8c7b2671a839ebdcef1d4f2973eb6735254fd2e1bd0f30b3896
PKG_SOURCE_URL:=https://download.qemu.org/ PKG_SOURCE_URL:=https://download.qemu.org/
PKG_LICENSE:=GPL-2.0-only PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=LICENSE tcg/LICENSE PKG_LICENSE_FILES:=LICENSE tcg/LICENSE
@@ -419,7 +419,11 @@ CONFIGURE_ARGS += \
--disable-rbd \ --disable-rbd \
--disable-rdma \ --disable-rdma \
--disable-rutabaga-gfx \ --disable-rutabaga-gfx \
--disable-sanitizers \ --disable-asan \
--disable-tsan \
--disable-ubsan \
--disable-fuzzing \
--disable-safe-stack \
--$(if $(CONFIG_QEMU_SECCOMP),enable,disable)-seccomp \ --$(if $(CONFIG_QEMU_SECCOMP),enable,disable)-seccomp \
--disable-smartcard \ --disable-smartcard \
--disable-snappy \ --disable-snappy \

View File

@@ -11,9 +11,9 @@ OpenWrt base build system decide flavor of fortify_source to use
--- a/configure --- a/configure
+++ b/configure +++ b/configure
@@ -757,6 +757,8 @@ for opt do @@ -780,6 +780,8 @@ for opt do
;; ;;
--gdb=*) gdb_bin="$optarg" --disable-rust) rust=disabled
;; ;;
+ --disable-fortify-source) fortify_source="no" + --disable-fortify-source) fortify_source="no"
+ ;; + ;;

View File

@@ -3,7 +3,7 @@ https://gitlab.alpinelinux.org/alpine/aports/-/blob/b720d51ec844d4754dd5b2908435
--- ---
--- a/qga/commands-posix.c --- a/qga/commands-posix.c
+++ b/qga/commands-posix.c +++ b/qga/commands-posix.c
@@ -219,43 +219,21 @@ void qmp_guest_shutdown(const char *mode @@ -218,43 +218,21 @@ void qmp_guest_shutdown(const char *mode
const char *shutdown_flag; const char *shutdown_flag;
Error *local_err = NULL; Error *local_err = NULL;

View File

@@ -1,6 +1,6 @@
--- a/meson.build --- a/meson.build
+++ b/meson.build +++ b/meson.build
@@ -3643,10 +3643,6 @@ subdir('common-user') @@ -3828,10 +3828,6 @@ subdir('common-user')
subdir('bsd-user') subdir('bsd-user')
subdir('linux-user') subdir('linux-user')
@@ -9,9 +9,9 @@
-subdir('tests/qtest/fuzz') -subdir('tests/qtest/fuzz')
- -
# accel modules # accel modules
tcg_real_module_ss = ss.source_set() target_modules += { 'accel' : { 'qtest': qtest_module_ss }}
tcg_real_module_ss.add_all(when: 'CONFIG_TCG_MODULAR', if_true: tcg_module_ss)
@@ -4174,10 +4170,6 @@ subdir('scripts') @@ -4456,10 +4452,6 @@ subdir('scripts')
subdir('tools') subdir('tools')
subdir('pc-bios') subdir('pc-bios')
subdir('docs') subdir('docs')

View File

@@ -0,0 +1,10 @@
--- a/configure
+++ b/configure
@@ -1845,6 +1845,7 @@ if test "$skip_meson" = no; then
echo "# Automatically generated by configure - do not modify" > $cross
echo "[properties]" >> $cross
+ echo "needs_exe_wrapper = true" >> $cross
# unroll any custom device configs
for a in $device_archs; do