Message ID | 6fb62a7b3030d5cc0264d6a41a9a2d4e49f2a8dc.1498893436.git.raj.khem@gmail.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3562518qge; Sat, 1 Jul 2017 07:25:35 -0700 (PDT) X-Received: by 10.99.98.193 with SMTP id w184mr1043216pgb.155.1498919135019; Sat, 01 Jul 2017 07:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498919135; cv=none; d=google.com; s=arc-20160816; b=aTXnWAHKLa2RYlsAd0L+w67c99KYd3Sh/FlpNV1WJglvDvSiU4tquvU2Evvs4PZFB3 NN0fnD2PwXuQij6jvtTl8pVR58lnQL+OTOeW1Ioz01BOr8wBrDeDpX1ijtXVnVVljYJP 4Q0LmLAxdUc8mdqzklKPLdAB4wmPQ1wx1y/Ofsc4yo1JqxtGacD0Qm3cGKyRLk9PHJJU /nuhrmnD7+PZzUyFK4EMkK/UpV57mNUOWffhoBH/bwtN621R6Sc4tqPnfUQu829DiTtf n9EzAYCpswJPxQ0ms5j70v8DsTtiPYNhZ+kogumQX3eyQ8evgea1KsReVx8ahknU3rPe TwxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=HwXeYyl5n4+Jiz17dXSnLhuT0eDlqiBz5yREq0ItIs4=; b=EWN+U1bNhOPbTl1kNmCGFJbySFLBN37eRZm+B4aW0cBzoMli9MqH0jLgOJG3eiQYXP EPC8f2T492WU11XHa+RTrlcvNyD4eFA4w6pCzWl5U/MqWe2caL8WWa5tVde1ZF7AeOJa gVIEBdtaIPxHArofr7X2U5PKqOKgzNbc9VRtjIBSMizxu7+/gwSEd/lO8Es4/hLS0rNg 91sVLz/57I/KepghEmdYfcafixkU56WISLxAN+Qi0aFheXfyaSCprbGvyQ/Tc8ktliS5 nRCAfrP5nSCV889ydlZ5cafcZezHuvqqC5n5vJ2acL1CT3nyC4vJ1P6VBvh6xfQpq3GA 8h4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=jzsg7Zpu; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: <openembedded-core-bounces@lists.openembedded.org> Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f14si8075481pgr.380.2017.07.01.07.25.34; Sat, 01 Jul 2017 07:25:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=jzsg7Zpu; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D6A6C782E8; Sat, 1 Jul 2017 14:24:54 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by mail.openembedded.org (Postfix) with ESMTP id E2A8C78292 for <openembedded-core@lists.openembedded.org>; Sat, 1 Jul 2017 14:23:52 +0000 (UTC) Received: by mail-pf0-f180.google.com with SMTP id e7so80224413pfk.0 for <openembedded-core@lists.openembedded.org>; Sat, 01 Jul 2017 07:23:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tG4bJD4h2vkzUkRHQptbCqLK/n+3DxBBzMBIflJOOP0=; b=jzsg7ZpuUNAqV0LsLkVbnOZNo1vowZs+Z41/pwIrT3q3SM1zjXazd+ekxQvE3/wx9K 5qpvOKfZ5iiDebuMskxRhbE9uKbnlQBtAUhIuSP5NPNmbh1046fL1KMmTTTF9fyu7PmV j0qap2oKflrqjyo16K2v2OrSOMkWiRiGrecRHpvJNVyrzL+H5bnnNKlv8QMtISCvyskj W7zLw9BSNntHseLPUC1mzu78MZvxnC/J3JjpgC8hchX3gHsiwKqXJ3r8DmZ7G+cdraM/ 1yHo4AmtgaFY6sctCIoipOhhY8fjAAkjiQFAuCJavqWW7sofsfTvIthlZRLDS/Q918LQ tj2Q== 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; bh=tG4bJD4h2vkzUkRHQptbCqLK/n+3DxBBzMBIflJOOP0=; b=PnJL8H7/PXDaSOGjI0/ZJef2FMBCej9qWFkWN62FOSAkTp/Yst43I0kZek85sWIqPT cRAOkY0GsccdT4cadB23+vBAOMURlwrkJ+3celSsDf/R1p+LJjcrALl2X9ykAJHHLmAm U9U8cPS0q4k37KYUGw/SNMYYfng4yEMTfQVeYHjPfWSUBiTwhs4ZlNDnGck5UsThEp6V dR1VyuXLeBkBMTzU0QBsB1lnVKuKxq1wFPWGbxC/auhAGliO6+zdFkSSGfJs8KzevKm5 vdmy/UQgX1C5tBZSrcIlGda6ihRe73rCo3JwKGp7qrG5pqBhOY9JNkmJdsuTCguJnYLw BeoQ== X-Gm-Message-State: AIVw1100cYoT1Yuza5EYbnYg5IoIv8IGXhyC5Rt1JkNj7m/VmV9njOIh noJrvWR2uydPx62Z X-Received: by 10.84.225.5 with SMTP id t5mr977694plj.108.1498919033586; Sat, 01 Jul 2017 07:23:53 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id 17sm25026909pfn.84.2017.07.01.07.23.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Jul 2017 07:23:52 -0700 (PDT) From: Khem Raj <raj.khem@gmail.com> To: openembedded-core@lists.openembedded.org Date: Sat, 1 Jul 2017 07:23:13 -0700 Message-Id: <6fb62a7b3030d5cc0264d6a41a9a2d4e49f2a8dc.1498893436.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <cover.1498893436.git.raj.khem@gmail.com> References: <cover.1498893436.git.raj.khem@gmail.com> Subject: [OE-core] [PATCH 10/19] libunwind: We set -fPIE in security flags now if gcc is not configured for default PIE X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer <openembedded-core.lists.openembedded.org> List-Unsubscribe: <http://lists.openembedded.org/mailman/options/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=unsubscribe> List-Archive: <http://lists.openembedded.org/pipermail/openembedded-core/> List-Post: <mailto:openembedded-core@lists.openembedded.org> List-Help: <mailto:openembedded-core-request@lists.openembedded.org?subject=help> List-Subscribe: <http://lists.openembedded.org/mailman/listinfo/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org |
Series |
Rework GCC PIE and security flags (take 3)
|
expand
|
diff --git a/meta/recipes-support/libunwind/libunwind_1.2.bb b/meta/recipes-support/libunwind/libunwind_1.2.bb index e598e40c6f..c6312f24fd 100644 --- a/meta/recipes-support/libunwind/libunwind_1.2.bb +++ b/meta/recipes-support/libunwind/libunwind_1.2.bb @@ -21,8 +21,4 @@ EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests " ARM_INSTRUCTION_SET_armv4 = "arm" ARM_INSTRUCTION_SET_armv5 = "arm" -# see https://sourceware.org/bugzilla/show_bug.cgi?id=19987 -SECURITY_CFLAGS_remove_aarch64 = "-fpie" -SECURITY_CFLAGS_append_aarch64 = " -fPIE" - LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta/recipes-support/libunwind/libunwind_1.2.bb | 4 ---- 1 file changed, 4 deletions(-) -- 2.13.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core