From patchwork Wed Jun 14 15:23:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105557 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385686obh; Wed, 14 Jun 2017 08:24:36 -0700 (PDT) X-Received: by 10.99.53.197 with SMTP id c188mr573484pga.165.1497453876089; Wed, 14 Jun 2017 08:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453876; cv=none; d=google.com; s=arc-20160816; b=SCoAaCpVDtpI1bJnMljvjJAgMKvqKSMxGCm3/oSa42E69deXrN7CYQmSHrNDK9jHc8 Vu3RDw4WBl1rqOXBuERE6V1pBnG1BOuul+w79ydLkeLLJXrxLBo8j7VVw0fmy+Iw26x5 +jXLTDXh68rTKLFyEzoi3aUE2cDsIJn469exU8tPV5cYBvH872SCQbfrMCc59RwxBe/j IrJclfHgbb596LZzNrCXfCJsPQV7ZnNdGH18ZkibfVlKQvjYtfuGcl6kai1OB45WZiFf /Ds8e2BNUgJPH4gnl+jihlmpKbLr8x8Z4DGheAhH9SW79s5uu0wiTKBFWDGcCaJIO4Zk Y8Bg== 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=5LRAWRbCUUSEbQQVKCKIqe/o3JgL7XfnFNMU1j3qyNs=; b=T3m2hjGXe4foTNadylmk296JmhCGyd1TYBoJXaO/TJ2HHLCgjxpmDmFlHU5awSTHJC hnuTE9xpoNiU88iTlnQbPPZrOlmEcI/4kd4nmdirYh5sxbNQXZbg4jeYYmAwcvhAPKVG iZasK6fZsuR6dvUQ8fGxDZ4/H3VlmcpKEo3z+MS7qbQ2q8O0lBwojtzSxmVDwup0Ln7U NhdohbEpVKaCNvUKNMVzUgZmCMJul6lLtoPiuC1RJTVIfepckyG4KCRCeHivfHWlNJKY UCfXtV8qfhhJY0dbpX+AGX6rI+o6IYZUqI4PY864rYKU4brQ8fY03EvTUbvbSMsCe0OA rHiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=Rt8USffF; 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 l191si214167pge.20.2017.06.14.08.24.35; Wed, 14 Jun 2017 08:24:36 -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=Rt8USffF; 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 51DA5783D3; Wed, 14 Jun 2017 15:23:55 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f54.google.com (mail-pg0-f54.google.com [74.125.83.54]) by mail.openembedded.org (Postfix) with ESMTP id 7E7FD783E0 for ; Wed, 14 Jun 2017 15:23:50 +0000 (UTC) Received: by mail-pg0-f54.google.com with SMTP id k71so1654623pgd.2 for ; Wed, 14 Jun 2017 08:23:52 -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=nsSoIeJcsGHEVnDaOWgHdeJfb99r0xS6xh2P08iu4k8=; b=Rt8USffFAXLNAOZXcpbydDX9MgAO1ruh6MB0bh063b2ckupALsLVviU6Gk3Hq6SUZI L4A36zqewZ/kfEEbsIKXfKbVnptCdGeCpfOyMJv9KVJMn/6uoPZIm/eyktcChBsVjBN0 nL8m+qud8ra46QkTnhICXf1dxML1InV7hlTGpQ6LtqPqqwAwscPlhzLuwAWOiciZg3eU iFcbI/t5M6ASJ6efP5QSW8EP7m9AKMoK+kEKicX67BzWksL8jVBADnJfSgJgBpIyPgyq 1lJy3/WW6gD6CSqG5bMZCqrYwOllA1YMu7CsvlwmkteZxnqJdEyLvXqjNIWE2wk7EJfP zPsQ== 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=nsSoIeJcsGHEVnDaOWgHdeJfb99r0xS6xh2P08iu4k8=; b=AilwJis9gLuKYZ/t76GT9HhPaZjky188kWcAi9V9E72w6Akn2fmhAmKeWxXpbnzv+5 wehXne1oalD6YmHJ5ZqVUIriOONsORlyl2S4Dr4IQWwU3QFdIQhhl/+M+Cjac4++mw6+ if3lVskzizr3byC6idtW9QqKVaEVt5I5U1Eli5gYeExy+dJeUZqp5zkvKFyCT+Bqcjvz 0R3CKUJvOfEj6hjA1fvmPpr68GnjaDfp8qnGVf1FoFFh/1f3X4Lvro2Dg9KCOrBHjoFK kV+fvI4GQYmkpVOEMaIiagp/Dr5MDn4pxrT31uPSx21+T91zxYfYJinJ4Wl8KBSFBORY GXHQ== X-Gm-Message-State: AKS2vOyH626jbsAVO773K/nv6qawtCzV6dsu8ihlZohfQvETQZyM6ieY MSchHULliWzAGpd/ X-Received: by 10.99.5.147 with SMTP id 141mr605959pgf.134.1497453832116; Wed, 14 Jun 2017 08:23:52 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::264a]) by smtp.gmail.com with ESMTPSA id i2sm502948pfe.89.2017.06.14.08.23.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:50 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:28 -0700 Message-Id: <0c42aa0a47357fb01ce61c059be4e7bea5f61cb9.1497453168.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 09/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.1 -- _______________________________________________ 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)}"