From nobody Sun May 19 03:02:45 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1651497163; cv=none; d=zohomail.com; s=zohoarc; b=RvaGcP+NUJ++ClmVuy+lM72Py2Kiol+Vkixz2UiUFB1WYOeArC2oT8kGFC+26osHIIiEKCZpHYdz9kDmr+IrTtFJEFvfA+4gLzFURVxU3ccxGsJMA6wfVR62rMOImlYqJ/LYL8tmA0nt1qC122xdUKlVngWvsLgpM5cv4FHUhm0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1651497163; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=gKGXPT2uWRJBVN7OC2ACtwJmrOOwXGb0C3LHIPaVD30=; b=Vgsonfz5TudcqG0+4Dg7/TqzKTBUtoVjQ0g0+mUnlBZte6fzC5zUTUDKy25Fs8UbnT3Ml0fZ+9TAyQxCZ9K65eNL/3BR/ANmnyAes5m2B6/JkEoJi+MvSFz4u/bYttr8H9JQEbcrbiecSl/3Yio6b7+6AmGwxZCbrO6vfTHVxNU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1651497163419500.40026499305975; Mon, 2 May 2022 06:12:43 -0700 (PDT) Received: from localhost ([::1]:45118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlVqz-0004YQ-Dr for importer@patchew.org; Mon, 02 May 2022 09:12:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlVpt-0003bv-5w for qemu-devel@nongnu.org; Mon, 02 May 2022 09:11:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:43591) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlVpm-0006AT-8n for qemu-devel@nongnu.org; Mon, 02 May 2022 09:11:29 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-395-oIxj8sj9PN-q8I1FnSMLPA-1; Mon, 02 May 2022 09:11:21 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0123F86B8B2 for ; Mon, 2 May 2022 13:11:21 +0000 (UTC) Received: from secure.mitica (unknown [10.39.193.70]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5B840463BAE; Mon, 2 May 2022 13:11:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651497082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gKGXPT2uWRJBVN7OC2ACtwJmrOOwXGb0C3LHIPaVD30=; b=DiBKU8L1/zjBgyEGJckhuW0QWjczLUYo2XdRpksdC1c2J9iprqtMLlkU0RBsykOxEAjQ6n nH9U98OIxtBW44BOv+DJMlxGSPq7OqyA4t48lX1wKCc/4V0TDk4voyn50HK0sBmN0+GLQK VmnJAKeB52p4QyajIHyMrkIOSrrVvQM= X-MC-Unique: oIxj8sj9PN-q8I1FnSMLPA-1 From: Juan Quintela To: qemu-devel@nongnu.org Subject: [PATCH] Meson: Make mremap() detecting works correctly Date: Mon, 2 May 2022 15:11:19 +0200 Message-Id: <20220502131119.2345-1-quintela@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 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=170.10.129.124; envelope-from=quintela@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Juan Quintela Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1651497164833100001 Content-Type: text/plain; charset="utf-8" Without this (at least in Fedora 35) it don't detect mremap() correctly. Signed-off-by: Juan Quintela --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 1fe7d257ff..f96da78741 100644 --- a/meson.build +++ b/meson.build @@ -2041,7 +2041,8 @@ config_host_data.set('CONFIG_AVX512F_OPT', get_option= ('avx512f') \ =20 have_pvrdma =3D get_option('pvrdma') \ .require(rdma.found(), error_message: 'PVRDMA requires OpenFabrics libra= ries') \ - .require(cc.compiles(''' + .require(cc.compiles(gnu_source_prefix + ''' + #include int main(void) { char buf =3D 0; --=20 2.35.1