From nobody Mon Feb 9 20:59:56 2026 Delivered-To: importer@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+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1601886861; cv=none; d=zohomail.com; s=zohoarc; b=fQidK1CUXjGKoqHINdxcUFTpv3XM0JpOHEqy9QnFQVLQE7WunwLL3f1nVk6Ie79h/xL+IiKGMxgJPAmSTp6MXOzNe4Vq+zIcA3yQNPBSU3ACoJrAnltn/pATKbeTBjkiIDeUrAupYCTpZI8pKvba/o7IDHNvL14kBunxfD6oCVw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601886861; h=Content-Transfer-Encoding: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=TY2brkwcBdIH91nPnw+zTPTVXWuUUIgSzEitafhmCuQ=; b=O/nN2b8fbxmGWUENlc1eUUiRk3E5rwcl60dCu/6vbHg0aWRCz5sGlCrTtSOxDfA15Gu3rLOVLHeBMpACpmKX5e2PZCp1HR+aYaoK7g9oN1Uv2L/F3WqLSWu2ApsLcCIj+pLYM2T2Ze+57Mpzxuu+mxjKhGrc5n54DlMzBL94G78= 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+importer=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 1601886861247266.35071019499503; Mon, 5 Oct 2020 01:34:21 -0700 (PDT) Received: from localhost ([::1]:50398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPLwp-0002Dv-Rb for importer@patchew.org; Mon, 05 Oct 2020 04:34:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPLmr-00085E-Fp for qemu-devel@nongnu.org; Mon, 05 Oct 2020 04:24:01 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:50532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPLmp-0007Jz-1s for qemu-devel@nongnu.org; Mon, 05 Oct 2020 04:24:01 -0400 Received: by mail-wm1-x343.google.com with SMTP id 13so7636469wmf.0 for ; Mon, 05 Oct 2020 01:23:58 -0700 (PDT) Received: from localhost.localdomain ([2001:b07:6468:f312:2e86:3d8b:8b70:920c]) by smtp.gmail.com with ESMTPSA id z15sm11931434wrv.94.2020.10.05.01.23.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2020 01:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TY2brkwcBdIH91nPnw+zTPTVXWuUUIgSzEitafhmCuQ=; b=ZzWDAsdahWjanEdA0YeGqSmzXsMizS9vI/t5MIlPC3WDuoOijIMPqA7YRWG0o7usa/ +/Ax8QOLducHy/9fZnH9GuU+bAEEFXQD37/iSyFL+xbqcrIQ9DLCukyG5DR00RwLd/5V 9KfodvFvz74cayAnblQR8ohrxAjgXOSW3vPr1hVRRKhLDl40BcbrNabSRZ3oQ/VIbFE6 WgXF13eZgqGsBLqU2RGiSzC1Zl9djmcybKX9A72wXjYfscCx5AVuInbOxK+w36X3pS1K oiQ3wWguY3WBqys0xiaSDP45nvVZmI2cyP8oplvnQbQ6b98/NNAGdW8IIe5kSSN0NWz7 Fcgg== 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:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=TY2brkwcBdIH91nPnw+zTPTVXWuUUIgSzEitafhmCuQ=; b=LIlIzM0lLTAJgFt/YFL9WqnrrOlEIxUpuQ9+boJFsXZeb2r+hdb4AolM/nr1RKpqnk 63x+dSgyPbdtz+ze9xFW9ubcilgvLfilA1Kyv/vSxnGVcK1JjgTBzzRF3HTyDUV9Y5Ft pp/WI3Je9hdgvv7W8rsI9hpfw0Z7zJiPwtp5XTCWLuL7CBDHeQbPI5Iihqx59i9rFkMH 0/ikn4rI14lNVO+g09p+XYnPZ+bWogQdFThCaPt2LS1JRsFxHqjALaoUAKrgbMaQpggH 4gvg/lTdcotj0QEVzxI7YOlRW5RIi8kxhARWQjMpmFuoBLqz32S/ZlsQ/kuasBYjHewk S3dw== X-Gm-Message-State: AOAM532CQaXzo0IvCxaGrMSW4Amsvwf2XOJA9zfpCSsMIYuz0+yyBx5r JYX0zHr/J2KtLKDuw/zOQlaoFwDOE4c= X-Google-Smtp-Source: ABdhPJww6ft9/ueFuG6Ti/u9IQT55Djg0UTp+YsMTR8KgJN4Mh6giyG9lruzrREt/xQU0Lwds6Jh1w== X-Received: by 2002:a1c:7ed5:: with SMTP id z204mr15758471wmc.177.1601886237446; Mon, 05 Oct 2020 01:23:57 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 11/19] configure: move OpenBSD W^X test to meson Date: Mon, 5 Oct 2020 10:23:41 +0200 Message-Id: <20201005082349.354095-12-pbonzini@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201005082349.354095-1-pbonzini@redhat.com> References: <20201005082349.354095-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+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=paolo.bonzini@gmail.com; helo=mail-wm1-x343.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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.248, 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" The TCG option is now passed through to Meson. Signed-off-by: Paolo Bonzini --- configure | 15 --------------- meson.build | 8 +++++++- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/configure b/configure index a32c43a905..b31bf24d60 100755 --- a/configure +++ b/configure @@ -1594,10 +1594,6 @@ if [ "$ARCH" =3D "unknown" ]; then linux_user=3D"no" fi =20 -if [ "$bsd_user" =3D "no" -a "$linux_user" =3D "no" -a "$softmmu" =3D "no"= ] ; then - tcg=3D"disabled" -fi - default_target_list=3D"" deprecated_targets_list=3Dppc64abi32-linux-user,tilegx-linux-user,lm32-sof= tmmu,unicore32-softmmu deprecated_features=3D"" @@ -6041,17 +6037,6 @@ if test "$mingw32" =3D "yes" ; then done fi =20 -# Disable OpenBSD W^X if available -if test "$tcg" =3D "enabled" && test "$targetos" =3D "OpenBSD"; then - cat > $TMPC < 0 + # Disable OpenBSD W^X if available + emulator_link_args =3D cc.get_supported_link_arguments('-Wl,-z,wxneede= d') + endif endif =20 accelerators =3D [] @@ -1247,7 +1253,7 @@ foreach target : target_dirs c_args =3D ['-DNEED_CPU_H', '-DCONFIG_TARGET=3D"@0@-config-target.h"'.format(target), '-DCONFIG_DEVICES=3D"@0@-config-devices.h"'.format(target)] - link_args =3D [] + link_args =3D emulator_link_args =20 config_target +=3D config_host target_inc =3D [include_directories('target' / config_target['TARGET_BAS= E_ARCH'])] --=20 2.26.2