From patchwork Tue Oct 26 10:22:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 516192 Delivered-To: patch@linaro.org Received: by 2002:ac0:c404:0:0:0:0:0 with SMTP id t4csp145379imj; Tue, 26 Oct 2021 03:34:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmAFFinJyW54GkRh8GvLM0sJoYafyJnueX9AGl73TkF0ZfqqUh1GXQIwvvEca50QByCOt0 X-Received: by 2002:a9d:17c4:: with SMTP id j62mr17815151otj.225.1635244442681; Tue, 26 Oct 2021 03:34:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635244442; cv=none; d=google.com; s=arc-20160816; b=chZ/sFjJrJhXIzfz8ShOWUtpPV5Y6IFLzz5MA3eP5ej5UBeQnMpX7AUyJVNYv1SvWk yqFMzR5/Qt0lyAiYfcq+No3uGrELGV43cEyd+IRY5rC3AtTqJEObjlEJXquriRbSESkz gvksfU0n06v0oItxJYIJIKj3oL363aDAPRb9WT2q7ddKazPKEk0VjBAHO2rXDQ5XJMkS SWHFYeQHAywrjy4quGIoQRt1MzMePHHz0mHSTkRuiGnooP2WWct9+aCf9Z3lqEPgVEE1 QL6JUokAAipCJd1SyI4/ViVDxDMs65sS0LKIky+yqGHrRMoCVNAA9/86atb1oKPXcCaV LqBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=oZR6/Tiw8Q+UAG2d4njIYEaAK7iRYsQbROUxHKy6lVM=; b=O94Oj1KFVP6pqafeyx+wPiix1VYB69O16XixRMOY0byDhQXUZWCm4tk5OXo0C30S9g c6BN+yTwbz1sqp/sJAJjkBeG8YBjAlg5y4yqkcdvpjKi37X90sj3thZyLa9qw5bRimdO znfAji1374gMWbwr0oEZma6VJOFizjUOtF/ul3ecL011F3KLnHsad63ubyvHrU9c/SeN cBPevr6pmAmvjyP/boTM7vGV+XtiHqoj2BAyeN+KwRLdu+h5Um135KQluSSBx4Br9XKI 2Hv+3IoZdY4wCl/0MbtAN4uvEp360LvyAaveNFxdPo2aaH3XNER/4NBHmMMe0H3Q8YvK mgbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=l70xVdjt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p7si9313961oiv.266.2021.10.26.03.34.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Oct 2021 03:34:02 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=l70xVdjt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfJmM-0000oL-0k for patch@linaro.org; Tue, 26 Oct 2021 06:34:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfJbb-00010k-87 for qemu-devel@nongnu.org; Tue, 26 Oct 2021 06:22:55 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:43980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfJbZ-0007Rh-Nd for qemu-devel@nongnu.org; Tue, 26 Oct 2021 06:22:55 -0400 Received: by mail-wr1-x433.google.com with SMTP id p14so12283311wrd.10 for ; Tue, 26 Oct 2021 03:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oZR6/Tiw8Q+UAG2d4njIYEaAK7iRYsQbROUxHKy6lVM=; b=l70xVdjtyc0rliTfYnKbZnf0ROUfznKJ3+EedS+02rsEyyfMEnCO54tv+2rVyOrD8y fK60+Qe9mDsyLq3gpDmqiBnkIz3fYAgP7lAPeraIqqBaPxEj8qP9fCaMG4i5h1o8r/Yj 63xfoxcXRjsqU/I/GwTLEWpheY8Slikeoz96e2kSpDbJr+KCBU91vO1ohnpN2UvitIWh hP0+sXexcruB/W9bbo8ehHG/RM7MOOIGWXl+BJrfC5zU7S5IrWp/mVVEbMFh/hOaEH6N N3dJzNSDwZKOaRyWCEzJ2Xs5QKghBXg5P9Q6Py9tiU/Ge/zMTd1LZihK2/zeYPqTKtoI wCRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oZR6/Tiw8Q+UAG2d4njIYEaAK7iRYsQbROUxHKy6lVM=; b=n8t83CLsGQzqYLKeVFgLIxBdvrjZgUOC1isFHPGHNP8aJYPBXXsa5jKcOWfuefCaNR ueIQ+wolq7p3MmRe4ej5Gf1Ffv0eo0be+a22Bon/TFf26ofW3O2SoBuJWFXl3i53/zkJ cFh0GGtfSzvlty/tKewtx5p0+lH9+vV1gObVVM19eignlhHfmPE+H6FbfWwMjN7PuDy9 vASWKn0VhY26kkoVswdK5CGXspT/3QbMoogPLq6uui4RB89ohCDUGNtoWEKOSXsjro7F FUMGBmJI4cqP5bwJ+e3F6lsmVa5DOh4pk439I97xriQ5JcVEhj+6ixa8rkDtqQjYsAPg M84Q== X-Gm-Message-State: AOAM531ofRXsuSCrr/jL6d0AU/0NSL9/AQo3anjU6ZwOctmDcDWL2Md2 5HUmgAAYK10wPgqn7cFNGs2n5A== X-Received: by 2002:a05:6000:1107:: with SMTP id z7mr16770053wrw.370.1635243772231; Tue, 26 Oct 2021 03:22:52 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l2sm212833wmc.3.2021.10.26.03.22.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 03:22:48 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D2FB71FFAA; Tue, 26 Oct 2021 11:22:35 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 12/28] ebpf: really include it only in system emulators Date: Tue, 26 Oct 2021 11:22:18 +0100 Message-Id: <20211026102234.3961636-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211026102234.3961636-1-alex.bennee@linaro.org> References: <20211026102234.3961636-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: fam@euphon.net, minyihh@uci.edu, berrange@redhat.com, kuhn.chenqun@huawei.com, f4bug@amsat.org, robhenry@microsoft.com, mahmoudabdalghany@outlook.com, aaron@os.amperecomputing.com, cota@braap.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, ma.mandourr@gmail.com, =?utf-8?q?Alex_Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Paolo Bonzini eBPF libraries are being included in user emulators, which is useless and also breaks --static compilation if a shared library for libbpf is present in the system. Reported-by: Alex Bennée Signed-off-by: Paolo Bonzini Signed-off-by: Alex Bennée Message-Id: <20211012162252.263933-1-pbonzini@redhat.com> --- meson.build | 2 -- 1 file changed, 2 deletions(-) -- 2.30.2 Reviewed-by: Richard Henderson diff --git a/meson.build b/meson.build index 2c5b53cbe2..bc520b579c 100644 --- a/meson.build +++ b/meson.build @@ -2610,8 +2610,6 @@ subdir('bsd-user') subdir('linux-user') subdir('ebpf') -common_ss.add(libbpf) - specific_ss.add_all(when: 'CONFIG_BSD_USER', if_true: bsd_user_ss) linux_user_ss.add(files('thunk.c'))