From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6A5C4138359 for ; Tue, 6 Oct 2020 08:26:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3335E08ED; Tue, 6 Oct 2020 08:26:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7726BE08ED for ; Tue, 6 Oct 2020 08:26:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EFF4C335DBA for ; Tue, 6 Oct 2020 08:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64C1F334 for ; Tue, 6 Oct 2020 08:26:41 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1601972796.8bf80111ae3a9c73b916ce195731ed65090ac694.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/qemu/metadata.xml app-emulation/qemu/qemu-5.1.0-r1.ebuild app-emulation/qemu/qemu-5.1.0.ebuild app-emulation/qemu/qemu-9999.ebuild X-VCS-Directories: app-emulation/qemu/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8bf80111ae3a9c73b916ce195731ed65090ac694 X-VCS-Branch: master Date: Tue, 6 Oct 2020 08:26:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 18175c88-57a4-42f9-85e6-508ada4dae7b X-Archives-Hash: 329a205c89f94bef0968755786ea32d9 commit: 8bf80111ae3a9c73b916ce195731ed65090ac694 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Oct 6 08:25:50 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Oct 6 08:26:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf80111 app-emulation/qemu: drop USE=tci TCG interpreter (TCI) has a few limitations: - it does not support FPU - it's generally slower on non-self-modifying code It's advantage is support for host architectures where native codegeneration is not implemented. Gentoo has qemu keyworded only on targets with native code generation available. Avoid the interpreter. Reported-by: Kent Fredric Closes: https://bugs.gentoo.org/746752 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich gentoo.org> app-emulation/qemu/metadata.xml | 1 - app-emulation/qemu/qemu-5.1.0-r1.ebuild | 13 +++++++++++-- app-emulation/qemu/qemu-5.1.0.ebuild | 13 +++++++++++-- app-emulation/qemu/qemu-9999.ebuild | 13 +++++++++++-- 4 files changed, 33 insertions(+), 7 deletions(-) diff --git a/app-emulation/qemu/metadata.xml b/app-emulation/qemu/metadata.xml index 465aadf67d4..930ce279794 100644 --- a/app-emulation/qemu/metadata.xml +++ b/app-emulation/qemu/metadata.xml @@ -48,7 +48,6 @@ Build the User targets as static binaries Build the User and Software MMU (system) targets as well as tools as static binaries Enable SystemTAP/DTrace tracing - Enable the TCG Interpreter which can speed up or slowdown workloads depending on the host and guest CPUs being emulated. In the future it will be a runtime option but for now its compile time. Enable jemalloc allocator support Enable jpeg image support for the VNC console server Enable png image support for the VNC console server diff --git a/app-emulation/qemu/qemu-5.1.0-r1.ebuild b/app-emulation/qemu/qemu-5.1.0-r1.ebuild index 6c6c19919a6..b1292bb4dbd 100644 --- a/app-emulation/qemu/qemu-5.1.0-r1.ebuild +++ b/app-emulation/qemu/qemu-5.1.0-r1.ebuild @@ -39,7 +39,7 @@ IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug doc ncurses nfs nls numa opengl +oss +pin-upstream-blobs plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux +slirp - smartcard snappy spice ssh static static-user systemtap tci test usb + smartcard snappy spice ssh static static-user systemtap test usb usbredir vde +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen xfs +xkb zstd" @@ -419,6 +419,16 @@ qemu_src_configure() { --disable-containers # bug #732972 --disable-guest-agent --disable-strip + + # bug #746752: TCG interpreter has a few limitations: + # - it does not support FPU + # - it's generally slower on non-self-modifying code + # It's advantage is support for host architectures + # where native codegeneration is not implemented. + # Gentoo has qemu keyworded only on targets with + # native code generation available. Avoid the interpreter. + --disable-tcg-interpreter + --disable-werror # We support gnutls/nettle for crypto operations. It is possible # to use gcrypt when gnutls/nettle are disabled (but not when they @@ -433,7 +443,6 @@ qemu_src_configure() { $(use_enable debug debug-tcg) $(use_enable doc docs) $(use_enable plugins) - $(use_enable tci tcg-interpreter) $(use_enable xattr attr) ) diff --git a/app-emulation/qemu/qemu-5.1.0.ebuild b/app-emulation/qemu/qemu-5.1.0.ebuild index 526069649ec..2ba4d0fe944 100644 --- a/app-emulation/qemu/qemu-5.1.0.ebuild +++ b/app-emulation/qemu/qemu-5.1.0.ebuild @@ -39,7 +39,7 @@ IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug doc ncurses nfs nls numa opengl +oss +pin-upstream-blobs plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux +slirp - smartcard snappy spice ssh static static-user systemtap tci test usb + smartcard snappy spice ssh static static-user systemtap test usb usbredir vde +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen xfs +xkb zstd" @@ -418,6 +418,16 @@ qemu_src_configure() { --disable-containers # bug #732972 --disable-guest-agent --disable-strip + + # bug #746752: TCG interpreter has a few limitations: + # - it does not support FPU + # - it's generally slower on non-self-modifying code + # It's advantage is support for host architectures + # where native codegeneration is not implemented. + # Gentoo has qemu keyworded only on targets with + # native code generation available. Avoid the interpreter. + --disable-tcg-interpreter + --disable-werror # We support gnutls/nettle for crypto operations. It is possible # to use gcrypt when gnutls/nettle are disabled (but not when they @@ -432,7 +442,6 @@ qemu_src_configure() { $(use_enable debug debug-tcg) $(use_enable doc docs) $(use_enable plugins) - $(use_enable tci tcg-interpreter) $(use_enable xattr attr) ) diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index c46858db497..bcd7de23167 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -41,7 +41,7 @@ IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug doc ncurses nfs nls numa opengl +oss +pin-upstream-blobs plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux +slirp - smartcard snappy spice ssh static static-user systemtap tci test usb + smartcard snappy spice ssh static static-user systemtap test usb usbredir vde +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen xfs +xkb zstd" @@ -417,6 +417,16 @@ qemu_src_configure() { --disable-containers # bug #732972 --disable-guest-agent --disable-strip + + # bug #746752: TCG interpreter has a few limitations: + # - it does not support FPU + # - it's generally slower on non-self-modifying code + # It's advantage is support for host architectures + # where native codegeneration is not implemented. + # Gentoo has qemu keyworded only on targets with + # native code generation available. Avoid the interpreter. + --disable-tcg-interpreter + --disable-werror # We support gnutls/nettle for crypto operations. It is possible # to use gcrypt when gnutls/nettle are disabled (but not when they @@ -431,7 +441,6 @@ qemu_src_configure() { $(use_enable debug debug-tcg) $(use_enable doc docs) $(use_enable plugins) - $(use_enable tci tcg-interpreter) $(use_enable xattr attr) )