Message ID | 20190910084349.28817-34-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp5531026ilq; Tue, 10 Sep 2019 02:18:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6E9+aI3muLhx7aCEsHfIn9IKHKcM+TncWjznRKtgm10l8ZnHUfwZuHn/9KNQ2c5z6R8zO X-Received: by 2002:ac8:7019:: with SMTP id x25mr28999945qtm.133.1568107113437; Tue, 10 Sep 2019 02:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568107113; cv=none; d=google.com; s=arc-20160816; b=jLd7WR0jPSAuU3I+Pw7cN/rBKaPBwy5xZjtf1o17Agm99ykLkxFUP6qImGqi0tebgB 4jB+01lpsJB9wWvQ70hy9X7fu50pWljlJvvBF9mH0GE48EkncdbVIW7ehpI4qw/3MYDW JbJbP6tn4Lc4W0eAKO2E9e1c0hVl0TY7EoyAghSlifLJW7LCJ9NZMs4Npw6Pt/ZCsQP7 NKkEAqM1ysT1mOK4/nHolKXRbRVuYARv8yRqEeUq50oRnjSl+M1WAge7CzK66hA05URD wF570IEpfX0c/zwC/c1iyBaGboGfflbKbNK1+ULPJJpKOqEt5Xd6/zUELIfoF5edRbjD Rb8A== 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:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=YlfluaHGLx72DnzBu/a39JxtiDjcvKmVMnNy0x5Tr94=; b=TlmCAr6PcjLFUr2DIvvb2rhp2E4aiwh0JOsHwIRXVfqcjmywN+FFZHu//UnlHVzlk3 Q4ssvPiokFz7cvhHt4/ixeaRlzBTcNPcGoGkkJNeT7d19nczS2xoxeQNHVZ4emqyq4ZG 36w2gnJGDgtmNCgprJAR9EzpEx27WaM4fM1nTl0wR0Xjp4zUslCEeqSqeEq2uGP6PfaN libq6DeYCUcvAWdfriONl93J3SFJKAXEsNh6iCVxHdJHt+pnF96y6N9P2ktx8+95Emhr DTZ1/Zij7fyiOXQ5B+YOEfBuRhNZzJNU1T3Zb56uaAcNUnLL7uYmaeQFhfE9xL+YSB3w rw3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="C/jE2z8U"; 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: <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 69si13058254qkh.184.2019.09.10.02.18.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2019 02:18:33 -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="C/jE2z8U"; 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]:36340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1i7cIB-0007oy-UZ for patch@linaro.org; Tue, 10 Sep 2019 05:18:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37329) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1i7bqy-0000r3-CP for qemu-devel@nongnu.org; Tue, 10 Sep 2019 04:50:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1i7bqx-0000ez-Dq for qemu-devel@nongnu.org; Tue, 10 Sep 2019 04:50:24 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:42957) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1i7bqx-0000ef-5i for qemu-devel@nongnu.org; Tue, 10 Sep 2019 04:50:23 -0400 Received: by mail-wr1-x429.google.com with SMTP id q14so18392391wrm.9 for <qemu-devel@nongnu.org>; Tue, 10 Sep 2019 01:50:23 -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=YlfluaHGLx72DnzBu/a39JxtiDjcvKmVMnNy0x5Tr94=; b=C/jE2z8Uc5vowk4G4n9qZm57bOlbvoRZ+8YPRGHDRoGSB6x1Ti+yh1wG44jeFHhO/v j8+BlrvIkttDOkdxiBvLs29vUtQKGDAB5FmFFoRaM/AM56coSAFdmGMfan/+UCuYCRZ0 8fzUzjtdLrkN2g757VOm0ddRSUnIDr0xPdVs/y1HuM3KEi9tjJBRzOJLaK27FP1IpTYS 821o6vSJUyFFQxggEO8FfTBxuXwn2UdMMwAcYn6ECqrogk1BqHMwECxuthPp6qCXXkaT oeQtCsqVenmVwjsZWIdov5/yWW97j2X/4ND7v+Ic+FuJV+NdsBQoqKa6ui84NgXVgki6 FQuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YlfluaHGLx72DnzBu/a39JxtiDjcvKmVMnNy0x5Tr94=; b=sLzcszAsKWype9n53Sc+8/edof9UBgEqELals4XzMgANDi+wl1uMSt//oKnbncC4dj YGiaSMN207VNcQ7v3F0F3I6l4v8L3J5R1KpA09c6AmchnzJPp/Qb2Aqmok82KCT7aNeo Flvj7TRTqsvltSX46Izj9uyFR0LR3hByfby8rdzCdvzEqgERdno2zOzbtejJql6R2uiV rLkf3R3Bag4q0AaDt9BEPZAweGMLXISNbahaEMRdX0dwFsSjWW5Czmr8lGqZyy6acPmy XBoihLsxHaMTjeAMtbJcmE2bgpGrelv5SAg0cTgbEgUdDKMhzNZb3Zw1medImaZcX4rX he4w== X-Gm-Message-State: APjAAAUIxsUch1HmWd8iABrBqyR07seWYlGl9W4a0SbjJ2MeMRwbt6z8 wJo6SY8Ja7fkpREXAjYGsb36qg== X-Received: by 2002:a5d:6306:: with SMTP id i6mr20257578wru.323.1568105422150; Tue, 10 Sep 2019 01:50:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j1sm21991496wrg.24.2019.09.10.01.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 01:50:19 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A30BC1FFB8; Tue, 10 Sep 2019 09:43:52 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: peter.maydell@linaro.org Date: Tue, 10 Sep 2019 09:43:37 +0100 Message-Id: <20190910084349.28817-34-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190910084349.28817-1-alex.bennee@linaro.org> References: <20190910084349.28817-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::429 Subject: [Qemu-devel] [PULL 33/45] configure: check if --no-pie is supported first X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
testing updates (fixes, upgrades, caching)
|
expand
|
diff --git a/configure b/configure index 7860bbc3121..30aad233d17 100755 --- a/configure +++ b/configure @@ -2021,6 +2021,12 @@ static THREAD int tls_var; int main(void) { return tls_var; } EOF + # check we support --no-pie first... + if compile_prog "-Werror -fno-pie" "-no-pie"; then + CFLAGS_NOPIE="-fno-pie" + LDFLAGS_NOPIE="-nopie" + fi + if compile_prog "-fPIE -DPIE" "-pie"; then QEMU_CFLAGS="-fPIE -DPIE $QEMU_CFLAGS" LDFLAGS="-pie $LDFLAGS" @@ -2036,11 +2042,6 @@ EOF pie="no" fi fi - - if compile_prog "-Werror -fno-pie" "-nopie"; then - CFLAGS_NOPIE="-fno-pie" - LDFLAGS_NOPIE="-nopie" - fi fi ##########################################
For whatever reason this doesn't trigger normally but because compile_prog uses QEMU_CFLAGS we end up trying to build a -pie --no-pie build which confuses compilers on some non-x86 hosts. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> -- 2.20.1