From nobody Fri Jul 4 23:38:32 2025 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1622819975; cv=none; d=zohomail.com; s=zohoarc; b=ibIAd5C0AfTkAvri5V2wDbJiirQXDRynUlVuFGFhRns/vJFJQYiI17h0978nJ+p3XuGQoYjederP/cMTf/a4Ci5AC92PBkYuTfgyga/M5Zbyxsycu5NMwBdrFt56PVUzQstgc/ZTOtrENb5rNL2GUNmG/jugdnctmhBvQ7hYsDk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622819975; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qqYqnrlenFog4cY4zspWeuI8Xg7nEVqv+lvAE9Po+qM=; b=WpZ7u3r4XsJkTwrAddSMfxDjJmuqgSC/hxachHpcbfpaapvJzlCx7ZehGaqGryViNRU7T85gkUvoGaC9UnDTpSTuZJSb/eoVBHX4kTBBpwKoO9ubCrljeEqt6FkAdz9Oa4u4UyybLq93fxA7F8dSLegAlpJgcDW37tRnmFu7VUw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1622819975961932.6431580374018; Fri, 4 Jun 2021 08:19:35 -0700 (PDT) Received: from localhost ([::1]:52838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpBbi-00024a-RT for importer2@patchew.org; Fri, 04 Jun 2021 11:19:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpBa5-0007lt-1D for qemu-devel@nongnu.org; Fri, 04 Jun 2021 11:17:53 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:38483) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpBa3-0008De-8K for qemu-devel@nongnu.org; Fri, 04 Jun 2021 11:17:52 -0400 Received: by mail-ed1-x52a.google.com with SMTP id o5so11605441edc.5 for ; Fri, 04 Jun 2021 08:17:49 -0700 (PDT) Received: from avogadro.redhat.com ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id w1sm2402451eds.37.2021.06.04.08.17.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 08:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qqYqnrlenFog4cY4zspWeuI8Xg7nEVqv+lvAE9Po+qM=; b=G5GygwHXh10kbJxn2Yj1BH6NFKy4/e7U8pe4gkh2iEvh1fKC4z2V9ppCvbGmIF45Ul 3JueG1fvQ5ja1rUTkAyP3JUEMiO+xAEYTgCWCDPrBC8pG0FqlhES3Qz7Xb2hmZ8mkl+z pmCkeih3aQq3PMv6vlDw8vvLIhYLp8TZBMT8yAKmHI7YzSeD2nJPyEsm3/sWoEgz/gMg Jt9b7w2TzcfqXvFpasTbav0un3kErIqzL92HTtwyB4orBVwMJeXOxQOKsAK7qZ5renE2 nKCZ3Bf60FqdZ4mnCJi5GdcRESQ35VRQ5CpTQqGNYNWA+2CYXUwbBuV2h7GU3aPQb318 vXWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=qqYqnrlenFog4cY4zspWeuI8Xg7nEVqv+lvAE9Po+qM=; b=p1AG3YfeB7h2i77V+NweNhOhehavu6h8M3UwjMuzbog+0Fo8gjpfyTiRHxm+w5x0pk cLgK7NtioxfDr1eyXZU1d/FAKVVaRXdknBFpkveWDB0P0EdgNj/KAYgFFKH3eYcMsrGV HWZBWMlys2xJquN1fxtVK4vmvasQMdK6Xc0HIHdJz9TI0g6WoduKpGLVmxyV10S+7N9M Nf4Td1QrNCDcLXHnp7Cs9BQfWFPLdnf3oKQ7sNGyD/WGql9tUfZ3/CgkXfUgO02/yuXM c7/YnXiANrWu/NXuuGEhteElbDwdKdlj/JHmdFlHQsB1mepWeG6YzeFt0YKHRnE16NyH rAYA== X-Gm-Message-State: AOAM531Ik8R+seSG2RE7UnSHSFQ4ulj2LCIkXOUN59qqCHv78zJZzP1Q yq9QROck6oGUyWHODHDgEzcrMQR93NAhlw== X-Google-Smtp-Source: ABdhPJwLAZCrDPcm9dDROFzuK8RhiXDfuZkUqH1sgGkk5EIGC7G5GUO9eFzLsGr9mNCtrynVdsurJQ== X-Received: by 2002:aa7:cfc7:: with SMTP id r7mr1992044edy.13.1622819868906; Fri, 04 Jun 2021 08:17:48 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 02/13] iscsi: link libm into the module Date: Fri, 4 Jun 2021 17:17:34 +0200 Message-Id: <20210604151745.310318-3-pbonzini@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210604151745.310318-1-pbonzini@redhat.com> References: <20210604151745.310318-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=paolo.bonzini@gmail.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yi Sun Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Depending on the configuration of QEMU, some binaries might not need libm at all. In that case libiscsi, which uses exp(), will fail to load. Link it in the module explicitly. Reported-by: Yi Sun Signed-off-by: Paolo Bonzini --- block/meson.build | 2 +- meson.build | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/block/meson.build b/block/meson.build index 9e3388f633..01861e1545 100644 --- a/block/meson.build +++ b/block/meson.build @@ -73,7 +73,7 @@ modsrc =3D [] foreach m : [ [curl, 'curl', files('curl.c')], [glusterfs, 'gluster', files('gluster.c')], - [libiscsi, 'iscsi', files('iscsi.c')], + [libiscsi, 'iscsi', [files('iscsi.c'), libm]], [libnfs, 'nfs', files('nfs.c')], [libssh, 'ssh', files('ssh.c')], [rbd, 'rbd', files('rbd.c')], diff --git a/meson.build b/meson.build index a45f1a844f..913cf2a41a 100644 --- a/meson.build +++ b/meson.build @@ -163,7 +163,7 @@ if targetos !=3D 'linux' and get_option('multiprocess')= .enabled() endif multiprocess_allowed =3D targetos =3D=3D 'linux' and not get_option('multi= process').disabled() =20 -m =3D cc.find_library('m', required: false) +libm =3D cc.find_library('m', required: false) util =3D cc.find_library('util', required: false) winmm =3D [] socket =3D [] @@ -1899,7 +1899,7 @@ util_ss.add_all(trace_ss) util_ss =3D util_ss.apply(config_all, strict: false) libqemuutil =3D static_library('qemuutil', sources: util_ss.sources() + stub_ss.sources(= ) + genh, - dependencies: [util_ss.dependencies(), m, gli= b, socket, malloc, pixman]) + dependencies: [util_ss.dependencies(), libm, = glib, socket, malloc, pixman]) qemuutil =3D declare_dependency(link_with: libqemuutil, sources: genh + version_res) =20 --=20 2.31.1