From nobody Wed May 8 21:56:13 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; 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; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 152049938681059.69477154670983; Thu, 8 Mar 2018 00:56:26 -0800 (PST) Received: from localhost ([::1]:37513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etrLe-0003mQ-4F for importer@patchew.org; Thu, 08 Mar 2018 03:56:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etrIb-0001Dv-0X for qemu-devel@nongnu.org; Thu, 08 Mar 2018 03:53:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etrIX-0008F7-9s for qemu-devel@nongnu.org; Thu, 08 Mar 2018 03:53:17 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56798 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1etrIX-0008Eo-5n for qemu-devel@nongnu.org; Thu, 08 Mar 2018 03:53:13 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3B0FFEBFE2; Thu, 8 Mar 2018 08:53:08 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id AC1481102E2E; Thu, 8 Mar 2018 08:53:01 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 1936117514; Thu, 8 Mar 2018 09:53:01 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Thu, 8 Mar 2018 09:53:00 +0100 Message-Id: <20180308085301.8875-2-kraxel@redhat.com> In-Reply-To: <20180308085301.8875-1-kraxel@redhat.com> References: <20180308085301.8875-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 08 Mar 2018 08:53:08 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 08 Mar 2018 08:53:08 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'kraxel@redhat.com' RCPT:'' Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 1/2] modules: use gmodule-export 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: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Gerd Hoffmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" As we want qemu symbols be exported to modules we should use the gmodule-export-2.0 pkg-config instead of gmodule-2.0. Cc: Marc-Andr=C3=A9 Lureau Signed-off-by: Gerd Hoffmann --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6f3921c02a..eb612532aa 100755 --- a/configure +++ b/configure @@ -3352,7 +3352,7 @@ else fi glib_modules=3Dgthread-2.0 if test "$modules" =3D yes; then - glib_modules=3D"$glib_modules gmodule-2.0" + glib_modules=3D"$glib_modules gmodule-export-2.0" fi =20 # This workaround is required due to a bug in pkg-config file for glib as = it --=20 2.9.3 From nobody Wed May 8 21:56:13 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; 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; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1520499303844504.0886980170868; Thu, 8 Mar 2018 00:55:03 -0800 (PST) Received: from localhost ([::1]:37496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etrKI-0002Oz-OC for importer@patchew.org; Thu, 08 Mar 2018 03:55:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etrIa-0001DW-Ad for qemu-devel@nongnu.org; Thu, 08 Mar 2018 03:53:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etrIX-0008F8-9r for qemu-devel@nongnu.org; Thu, 08 Mar 2018 03:53:16 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:50902 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1etrIX-0008Ep-5F for qemu-devel@nongnu.org; Thu, 08 Mar 2018 03:53:13 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4299F8182D0C; Thu, 8 Mar 2018 08:53:08 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id AA1351C72E; Thu, 8 Mar 2018 08:53:01 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 212901751E; Thu, 8 Mar 2018 09:53:01 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Thu, 8 Mar 2018 09:53:01 +0100 Message-Id: <20180308085301.8875-3-kraxel@redhat.com> In-Reply-To: <20180308085301.8875-1-kraxel@redhat.com> References: <20180308085301.8875-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 08 Mar 2018 08:53:08 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 08 Mar 2018 08:53:08 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'kraxel@redhat.com' RCPT:'' Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH 2/2] modules: workaround buggy glib builds 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: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Gerd Hoffmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" https://bugzilla.gnome.org/show_bug.cgi?id=3D794123 Cc: Marc-Andr=C3=A9 Lureau Signed-off-by: Gerd Hoffmann --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index eb612532aa..34e4bb419e 100755 --- a/configure +++ b/configure @@ -3366,6 +3366,10 @@ for i in $glib_modules; do if $pkg_config --atleast-version=3D$glib_req_ver $i; then glib_cflags=3D$($pkg_config --cflags $i) glib_libs=3D$($pkg_config --libs $i) + if test "$i" =3D "gmodule-export-2.0"; then + # make sure we link with --export-dynamic + glib_libs=3D"-Wl,--export-dynamic ${glib_libs//-Wl,--export-dy= namic/}" + fi QEMU_CFLAGS=3D"$glib_cflags $QEMU_CFLAGS" LIBS=3D"$glib_libs $LIBS" libs_qga=3D"$glib_libs $libs_qga" --=20 2.9.3