From nobody Mon Feb 9 20:12:57 2026 Delivered-To: importer@patchew.org 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; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1580234390903383.14560870855144; Tue, 28 Jan 2020 09:59:50 -0800 (PST) Received: from localhost ([::1]:34770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwV9R-0005HI-Ll for importer@patchew.org; Tue, 28 Jan 2020 12:59:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57826) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwV44-0006Jb-Iw for qemu-devel@nongnu.org; Tue, 28 Jan 2020 12:54:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwV43-0007wB-Gz for qemu-devel@nongnu.org; Tue, 28 Jan 2020 12:54:16 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:33865) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwV43-0007uX-7h for qemu-devel@nongnu.org; Tue, 28 Jan 2020 12:54:15 -0500 Received: by mail-wr1-x42c.google.com with SMTP id t2so17092568wrr.1 for ; Tue, 28 Jan 2020 09:54:15 -0800 (PST) Received: from localhost.localdomain (93-36-56-206.ip58.fastwebnet.it. [93.36.56.206]) by smtp.gmail.com with ESMTPSA id o4sm27046968wrx.25.2020.01.28.09.54.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jan 2020 09:54:12 -0800 (PST) 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=dErvkepkYgUBIWRCc2un1YcfpszwmABIk9M1+FNSCyQ=; b=b0UAcBCKuQUQPye+XxgYPImD3EoDZagWNc1LbEySVdZbdDxej3DzJ93Q+HVbSZ0d4s L1hhw+PpjH9KLxH9A4AiekMB798H9I65Ms5MJwyLor9YDACRXC7/MxtEDI+nWykB2LFO v3+ydt2s0SgIGB2j3/c9PFFKSPaNtfBG6HatIw1uXa9/4x9ST7VALQYNivH1hjGR1ItN aq5kYJvb92OE86aySQv3JTbguMOCcR5Wtk7xAp0TElMdc+hSzFTD+LzfIqyiKM7BmI2s nKwKQEdMz+c9KAzPYgVTFB228QPU/VXy3C4Ll6vkMtWJOvo9DaCiFklbXIPHJK+MTUBm 9AJA== 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=dErvkepkYgUBIWRCc2un1YcfpszwmABIk9M1+FNSCyQ=; b=VcBatMjt5D5uupsUCm1pT0tfQF1ClKigtC6L6GHOVCx1LZeCpjTOQZpU8vhTNjxEcq +sXKlIAh36zXV47KwPscufo+alrNCwAQ+U98fkghiPeJJptBrdAa0DfzD2+Y91pYVE22 maUjjOjmsPc+uKW5qDvtn59z89YesZ8hympuJEYj0RtBKl1AiAKhXnLtwnT2VE+HkkKq keasvYXe1/gG+fMRHptkQPhOC9Ry+6RjAg9pg9uoFiwphHpctfT+LbL2qkOv4hshbabF afspAyaJgPmYGd4BZ6sJPfXoOTanpREqOk4BJwi2qhgAXDlKvMNDF66SfZhMwfhiRwQG SgvQ== X-Gm-Message-State: APjAAAVJSA7BSrKgKjE8YVid7v04d7AARxIw0uuSHPqjcdJEetoVh/wk C5BDVpC/1tw0WeXiEM4KYl0+IHl0 X-Google-Smtp-Source: APXvYqy5yEAVWFpwQbhe0kmXFctPtqp5j86+ifP4xHUofV8GrJUb8W6uDxdAs6x1VCz1q2EMcF/Zpw== X-Received: by 2002:adf:f244:: with SMTP id b4mr28607741wrp.88.1580234054138; Tue, 28 Jan 2020 09:54:14 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 010/142] meson: enable pie Date: Tue, 28 Jan 2020 18:51:30 +0100 Message-Id: <20200128175342.9066-11-pbonzini@redhat.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200128175342.9066-1-pbonzini@redhat.com> References: <20200128175342.9066-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c 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: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Marc-Andr=C3=A9 Lureau Signed-off-by: Marc-Andr=C3=A9 Lureau --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index b4f36820da..a9ab67bf26 100755 --- a/configure +++ b/configure @@ -2103,7 +2103,6 @@ EOF =20 if compile_prog "-fPIE -DPIE" "-pie"; then QEMU_CFLAGS=3D"-fPIE -DPIE $QEMU_CFLAGS" - LDFLAGS=3D"-pie $LDFLAGS" pie=3D"yes" if compile_prog "" "-Wl,-z,relro -Wl,-z,now" ; then LDFLAGS=3D"-Wl,-z,relro -Wl,-z,now $LDFLAGS" @@ -8125,6 +8124,7 @@ NINJA=3D$PWD/ninjatool $python $meson setup \ --localstatedir "$local_statedir" \ $(test "$strip_opt" =3D yes && echo --strip) \ --buildtype $(if test "$debug" =3D yes; then echo debug; else echo debugo= ptimized; fi) \ + -Db_pie=3D$(if test "$pie" =3D yes; then echo true; else echo fals= e; fi) \ $cross_arg \ "$PWD" "$source_path" =20 --=20 2.21.0