From patchwork Wed Jun 28 16:04:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106549 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp3715937obb; Wed, 28 Jun 2017 09:05:57 -0700 (PDT) X-Received: by 10.98.35.214 with SMTP id q83mr11715165pfj.101.1498665957206; Wed, 28 Jun 2017 09:05:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498665957; cv=none; d=google.com; s=arc-20160816; b=ITeJsE8frmk+Hhq0zrwu5OKtcAQxLj/7e0Q2ErGsMG9fh7UzrTgt7JaBf7FdUVK3aT h4QNckLFkCtlOeojsZhO/W0P6bKVJnkwfijuu/ixWu91JJWTtJLk1nWcqRwAzcsV+DAz /mDWx6U0tPpUTJ+obYGSlzsAOgW1ctCwS9tcDO8jebS6RjMeyUDrHT1IT8fpp9LOQtoP h6W/GeHchVqAOCL84AZyHzdjVyR8JU0i7cDMS8LibY4DrwmfQ5fftiJ5gpOWRLyQDgqY g2v01BP6E7RGhqeLfBELBBL7Gs2itMtrOoGvK3e0X0lRiVPOLfstdiDBXKGbTRyfK1mI EYcQ== 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=sNRfq8HryoXEYjUSh8OWxSWOjj/Ln/MjMLdvit4oZLW3kqEtEx8IlR1SOl354S+I2S GztIfW9juilqc1ykxZSu+J7fgt5iiq6SKSqwJQYzA8NbllvoI1DYa/dq4Xv8NpX83a0S gqQrcSxi8hhEps0+yjsAMk9YWiPP2CWwOi/sYMidIOlsOtpIFX+If7CQeN+ECB2ZLnVW li8mpgoklFFMimFSHLEbi7zIwOgr6vi/ynhfGJoOqluxP8p/j+UbkMfDUt7J0JBq8mPM bCkIVQeKtFBkyWz8JHqJGkLPho36Tz8Cor7ZVQMQDBY1VWbLxasonbQdlHPl72bTYugp vxNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=XeEZJtpJ; 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: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 7si1850973pgt.528.2017.06.28.09.05.56; Wed, 28 Jun 2017 09:05:57 -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=XeEZJtpJ; 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 10AAC780BE; Wed, 28 Jun 2017 16:05:43 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f41.google.com (mail-pg0-f41.google.com [74.125.83.41]) by mail.openembedded.org (Postfix) with ESMTP id 844DC7805C for ; Wed, 28 Jun 2017 16:04:44 +0000 (UTC) Received: by mail-pg0-f41.google.com with SMTP id j186so33917527pge.2 for ; Wed, 28 Jun 2017 09:04:46 -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=XeEZJtpJupP2nNizceAL1E2vaIzyuXj5el2+TB4Y0KTIUxPkls0c9H8icusclqRDs0 mKD0/9MSHmSbXB25oJ3vj87xw1gc8ZQUxdNPIRMxQrgS6FONkyi8qfeFilTVOEXfTrgT tzZyHqFWDjxBQmADhLazg8GxsSnXtfoQde8htG31rhMB3PqI7kcyok5tz9ug3skxby1+ 0uExc3/pmjFkpZ2YmYiLSo1vNkwgR3R5EPsTI9m5H4mtC/BuZzR8q/tBlJ5kdPK/lwgN +fYCuhMK6npfGnNx+IkWikd7Ua4fJN9koZcpRqz7aWjagtTR8N6E3GkYNS9SQYa1KXQZ MZww== 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=LZwoARtvZNvAI+4TrN/zAJ3C3kXOP+30XjEEsu62/weJx9zfQG/jaJFXJPdEyvKG9f 5l+25w9cJlqP5JrAL16JtlHZYnBaBLmUnUujIctv8QMsUHUpmxC7Zn1pM3D3l2Q1fq8m bA7XQLfN+j8eXfdkBsXPccaABaz/dxYOolodhS/sq74JJ0ioTjHqEufcJTxQvHUZyd9W OB8EdIQYGLMuGj1xUaNKJjTFgfKDZBkr7Gujjuvf3bRy97JS7OA30SoVLMRQmZB9QBnj Bk88X8oTL2HUjSyyAq8B2O0QxCz9Hgg/j6SjqdjfRtT0wx/vxVihl9JFXUgwrlwYC+oj CfEA== X-Gm-Message-State: AKS2vOz43Pbk3nYRxoQbF0NYkynZ6hera5dHCKBINAOy0cnY6iQtcOl9 MfED+fY4PMoJYRTA X-Received: by 10.99.174.4 with SMTP id q4mr11021840pgf.196.1498665885887; Wed, 28 Jun 2017 09:04:45 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id v62sm5243608pfb.124.2017.06.28.09.04.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jun 2017 09:04:44 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 28 Jun 2017 09:04:19 -0700 Message-Id: X-Mailer: git-send-email 2.13.2 In-Reply-To: References: Subject: [OE-core] [PATCH 06/10] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- 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 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)}"