From nobody Thu May 2 01:47:38 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1524063385121995.021511704058; Wed, 18 Apr 2018 07:56:25 -0700 (PDT) Received: from localhost ([::1]:33022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8oVU-0008DO-Ej for importer@patchew.org; Wed, 18 Apr 2018 10:56:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8oUE-0007NB-99 for qemu-devel@nongnu.org; Wed, 18 Apr 2018 10:55:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8oUD-0003Nx-K0 for qemu-devel@nongnu.org; Wed, 18 Apr 2018 10:55:06 -0400 Received: from mo6-p02-ob.smtp.rzone.de ([2a01:238:20a:202:5302::9]:28397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8oUB-0003N0-9K; Wed, 18 Apr 2018 10:55:03 -0400 Received: from sender by smtp.strato.de (RZmta 43.4 AUTH) with ESMTPSA id Q05f37u3IEsj6t8 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 18 Apr 2018 16:54:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1524063301; s=strato-dkim-0002; d=aepfle.de; h=Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=sRt5lC9E79gqs0PFYdqFa1AIJ9gp6+FUw2R+xZuCF7g=; b=CpaYfzobuCPwEpZtGHFOUmJHjdE5dmT8WFFxFtlsTFRQET02Zh0ssn8HYfXNpRohAT pJO4NAkrcEcT1I7uD1SPKKxV3/YKPcOh09uaGpkTQRsLMKLbCsRDko9s871BNcvHN4tC duC4rk0YvBZey1NlMyWfcO+kWAgmze3YhmH5pwobzvIbZpV98/cOPy26AfLhF/Sbwqnv oKPIg4C9nF/Gb38O02X91aHOfplNWiB9AtX7OaWrP/YvZZbyxlnDSSUcePx6e5oUXIx+ xxc6CuO6kHo/+fYvwo1W3G7RQqrd6ixPRRI0yjKQguEckZnmCX/8sflts3CcK+OVUbJj WOew== X-RZG-AUTH: :P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuzpIG0mv9coXAgc1+lb4Esstf6UEufFpy8L/NK2kKUAyDFSMDbcP X-RZG-CLASS-ID: mo00 From: Olaf Hering To: qemu-trivial@nongnu.org Date: Wed, 18 Apr 2018 16:54:43 +0200 Message-Id: <20180418145443.6332-1-olaf@aepfle.de> X-Mailer: git-send-email 2.16.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 2a01:238:20a:202:5302::9 Subject: [Qemu-devel] [PATCH v2] configure: require glib-2.24 on Linux X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Olaf Hering , Fam Zheng , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "open list:All patches CC here" , Gerd Hoffmann , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Since usage of g_realloc_n was introduced, glib-2.22 can not be used anymore on Linux. Leave non-Linux unchanged because one developer system still uses it. Fixes commit 418026ca43 ("util: Introduce vfio helpers") Signed-off-by: Olaf Hering --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 6e9b994f21..ca19a66726 100755 --- a/configure +++ b/configure @@ -3369,7 +3369,11 @@ fi if test "$mingw32" =3D yes; then glib_req_ver=3D2.30 else - glib_req_ver=3D2.22 + if test "$targetos" =3D Linux; then + glib_req_ver=3D2.24 + else + glib_req_ver=3D2.22 + fi fi glib_modules=3Dgthread-2.0 if test "$modules" =3D yes; then