Message ID | 20241217223825.2895749-12-pierrick.bouvier@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp614898wrq; Tue, 17 Dec 2024 14:39:29 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXirHi3k8DuWUJ+pOB/s/rlrHi4/JkprIKeAlqV6n1Qu4VXVOmh0UgpNiWj35ZQO+0MjkO5tQ==@linaro.org X-Google-Smtp-Source: AGHT+IGQyY9BAkbil+5Gyq1B/il1B/5jyuebCf6HFNqnO2pU6YvFup3VbQNpINQO5YlY4MBjwprN X-Received: by 2002:a05:622a:120a:b0:467:6e25:3f3d with SMTP id d75a77b69052e-46908df58f8mr9357361cf.15.1734475169715; Tue, 17 Dec 2024 14:39:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734475169; cv=none; d=google.com; s=arc-20240605; b=QCwMNIlDI2U7Ss+9Qo+aBrqkRHVpl9Ut24cMn/5XJ4vWYK5PHkqj6tyXX/mgVCXyQh Ly0iBRct0T0U8aQVkcPHcHsM0oL1fuuM5CaO22QU6YoOpgyX7EIsK3m4bDXi/ENIEthB 20Yk5syW63mtDahFBvGnMrs9ibzkEFEsTQvgYCqPoyCwZtYSBClBK6dBvfft4WUxlde2 WAaAnbk9s6pJrSNHikCqhHzRRWzYZBgRJGA8no3qZjOZUpavs0EY0VnqQlOwv/7HRmts a89ZTEsq4EUMHmDqGPENCUwidmbrdQvi1ejUmMkLkhp0IwmAHyN/tCdz4zKozu9uiP2+ TksQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=3xW+LPUYaCaHyMzbWV59CTTMsUuCbv/1PDmcaQ3NGQk=; fh=+NflhOdr9R5O8MPEqbGfWeoDmt6zsMvcpjNabm4DZ9U=; b=WUogC7tgz5iSM2Q2TYwLyGRJ8jGQ7xMh28wVP9sh3Dvxt3EUcr06MBu1mj/iIxO5Xx WVxHr/WovKilB3976TsvuAjVFfpZnP8/RMVvBz9QPx/dWowboumqnis60HPdP65PVUD3 WvagIAxe91vP/qbFtj7JczX3mD/gA20r48aEAmoAf8gMkNT0gr6NXRa6XJ2c4rNfIl0Y /CfxLENkQqogFyyNmeSkyRHHbrDhT1Mf7I3/g01LI/1Am2czYSxkHwQnFsxpaYsX9Lg0 1EGvcNhavQcVuHb9ExY6BBye0o0gGN/3+gnhz2ZYOrcOCX8Rnwhd0snDKhydoCwfM5H0 1+xg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CCkjTQjL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-467b2c965f0si105013231cf.130.2024.12.17.14.39.29 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Dec 2024 14:39:29 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=CCkjTQjL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tNgDG-0005Pk-4d; Tue, 17 Dec 2024 17:38:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <pierrick.bouvier@linaro.org>) id 1tNgDE-0005OX-9N for qemu-devel@nongnu.org; Tue, 17 Dec 2024 17:38:44 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <pierrick.bouvier@linaro.org>) id 1tNgDC-0008T3-Qx for qemu-devel@nongnu.org; Tue, 17 Dec 2024 17:38:44 -0500 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-216426b0865so51614165ad.0 for <qemu-devel@nongnu.org>; Tue, 17 Dec 2024 14:38:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734475120; x=1735079920; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3xW+LPUYaCaHyMzbWV59CTTMsUuCbv/1PDmcaQ3NGQk=; b=CCkjTQjLWhM9bTrMnw0zuaonvWrLDP3CTK9/ldWFAWCsMw1GNnotodJk27GEXj44By RNw+7LDssKn6TzSh3nN6Mh1Gs8D0lKpe5QvxztDJXAFLAkQc+K5gTsA8I5Lpga8V+Eo2 tv/guzw1njU8WQmHm/7dhRvz7iuodDmBe2GMgXhMrlUEd1bUZ1wq6C+X0fl+kDRFD6Ew qgW+7GtWBgL3ZwROkKx0pwZQhvUQIP3eLAxHkSpy0zHCSmEHaDjkT2if2qvUegGM2WRP Ryzj3xQvA39AKlC4xKWvH2+xgtBmrwUgD9DqIIaE9cPHJmiSiLOvDLuhPkN9wLctP1Xj DuOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734475120; x=1735079920; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3xW+LPUYaCaHyMzbWV59CTTMsUuCbv/1PDmcaQ3NGQk=; b=sZ0NiYjM3tr2uhefi976Bj5VjooQVYjRkvGitt99RvjBlXOSupzUzTul7nHnXZhzSH /+MlAOeIHDKqrfTgSy20wv4Qc2oElyFD204ZmgQ/QQOpbipLPMXjILvxD1Z9XIQVRr1D CFtsHeFhE+9aNmzHw4MtYuQv7KEyUpEDOfHhNtrMYBhDjVEYQGw+rigyTtVf3GnUWWR0 3wWurx2LXp/hLS7K8KRMBvB55k/RtY2T/XGweqFmdiVzHBFtZHo9zTWV+3yEpmoYuq/Z VM34XquigS3IFJb07S2Swr40f6UXCd2iHzQK1BFmvIzNHuJ8ExJyKhPqQL6UOYBIzwZn rEGA== X-Gm-Message-State: AOJu0YxR31AwYQr8umhPshMVoODVBdU+TAWoQaNa1aBqGLLlCq9VahCQ P4EQfhikhPy2PoKIR5l0WktLZacDCCiLNOO0CRYbVhgJq0xw535JmaFgY734EYsTUZpghaUi0Fk kus0= X-Gm-Gg: ASbGnctzEoE4ZfZ/prvWFZU3asBQ5LgmlNzSTE4wYKaXaXPSC9+eaerbpvAGlhkZF2W dpSOeiR2kZZxO5OErNQHJlabJnidCyQlFcEmebHowlVx0SYCL+QxOC4mUxt3NEaSoUHEeEAwTyz +TY+xt/oYxcUiEMPG9/BRSZbrX1gfJvaa9wfvEFvBLf4rhUbVTFTPjzr2IieMIVBnREEZ1LVwTE ZWBoTxRxYFPDG8LCq+IH0Fs61onvfUPwUVnPa7jUDgMc4bmol79vjdi X-Received: by 2002:a17:902:e807:b0:216:30f9:93d4 with SMTP id d9443c01a7336-218d6fbe4e3mr8318695ad.8.1734475120440; Tue, 17 Dec 2024 14:38:40 -0800 (PST) Received: from pc.. ([38.39.164.180]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-218a1dccb03sm64869465ad.98.2024.12.17.14.38.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2024 14:38:40 -0800 (PST) From: Pierrick Bouvier <pierrick.bouvier@linaro.org> To: qemu-devel@nongnu.org Cc: Paolo Bonzini <pbonzini@redhat.com>, philmd@linaro.org, Mahmoud Mandour <ma.mandourr@gmail.com>, richard.henderson@linaro.org, Pierrick Bouvier <pierrick.bouvier@linaro.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, Alexandre Iooss <erdnaxe@crans.org> Subject: [PATCH v2 11/11] configure: reenable plugins by default for 32-bit hosts Date: Tue, 17 Dec 2024 14:38:25 -0800 Message-Id: <20241217223825.2895749-12-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241217223825.2895749-1-pierrick.bouvier@linaro.org> References: <20241217223825.2895749-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x62b.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.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
Fix 32-bit build for plugins
|
expand
|
diff --git a/configure b/configure index 18336376bff..02f1dd2311f 100755 --- a/configure +++ b/configure @@ -528,25 +528,6 @@ case "$cpu" in ;; esac -# Now we have our CPU_CFLAGS we can check if we are targeting a 32 or -# 64 bit host. - -check_64bit_host() { -cat > $TMPC <<EOF -#if __SIZEOF_POINTER__ != 8 -#error not 64 bit system -#endif -int main(void) { return 0; } -EOF - compile_object "$1" -} - -if check_64bit_host "$CPU_CFLAGS"; then - host_bits=64 -else - host_bits=32 -fi - if test -n "$host_arch" && { ! test -d "$source_path/linux-user/include/host/$host_arch" || ! test -d "$source_path/common-user/host/$host_arch"; }; then @@ -1072,7 +1053,7 @@ if test "$static" = "yes" ; then fi plugins="no" fi -if test "$plugins" != "no" && test $host_bits -eq 64; then +if test "$plugins" != "no"; then if has_meson_option "-Dtcg_interpreter=true"; then plugins="no" else
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> --- configure | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-)