From patchwork Wed Jun 14 15:23:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105549 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385359obh; Wed, 14 Jun 2017 08:23:46 -0700 (PDT) X-Received: by 10.99.103.4 with SMTP id b4mr560342pgc.221.1497453826543; Wed, 14 Jun 2017 08:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453826; cv=none; d=google.com; s=arc-20160816; b=YLlRa400mhrGjGsYGM64N4+dhG6EnoCelV3vrwQQYfVD3R3h1wUCIG+DWL1TwRCpSL 1osNduao6qI8cpMJU8tMlCHJPE6I+HR+uEiCCSN9jpxApDnmutImyGKc54204Tv0Rozz 9TwJ5AipzvNES+Kj7UX8lK63I7qWf6eJqrdzQXqANrXY2FSz5wZG3wPQL9VW5gpTWWWy n2YOU5uQscOLW7mDqjCzZ7dwDRkfTtE6k/4jed7Vy+F0omlnF8LzzLIa6UQTfQcRgeO9 rrAnfs21xSVbmSR7OnLD4tLec/oa4Ox4HpBWCzJ78ETRbEAbtJy3IT+Ws9Q5pu04HWa6 Ec1w== 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=f/jrvZqtGg6Z6/B62LP12R2UEVJj+mdGibGkJOfnjxc=; b=oeF/jMCYHP7VWkYiqYeGLXvDnmKcn+4bndgkCcMQw0K2Qa4oRWluGH0EnrC6r/EjHR ABpD+x+DFuQ60pHjTWAGeDpuie14vzGiErydpojwuRKW0bjtuSOx87DQcfbqfK6gcM82 3Di/URJuKNoNimN6WL16aLoWHm/oSejrCE9JBePx0B1DJF8vVv594iyKZHWGb0DPzZBt pPmCpAPtqyC+fEqHuOuPZl7LoCxRc5+kQ7M9gceF3yqFoZcdjCJMkrdnUQ6upZ/9Av3k J9LJRdu1a1oNQCPBcxyjMnNinULg/Gyx0ijJzWK0xeGhnpRIgz0CbUzvpGdFEWLakMEs 4+6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=ZwjfOhyA; 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 y8si194660pgo.217.2017.06.14.08.23.46; Wed, 14 Jun 2017 08:23:46 -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=ZwjfOhyA; 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 35EF9783B5; Wed, 14 Jun 2017 15:23:44 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 8AC1F783AC for ; Wed, 14 Jun 2017 15:23:39 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id w12so510238pfk.0 for ; Wed, 14 Jun 2017 08:23:40 -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=VkzQlCvNcZ6kAcUD2E30XR2J99tpzScwVWpndwntAps=; b=ZwjfOhyAssbehakL87+Tj5lzzvVwnAtAKKd/pYdY2U4TS0J2aRGoot/cgorR6ApQjI Q9Uhaa9LYk8G7YUHy4Td4oZal+vnuibRM73XW6tcc7lKuOUFDz+bBMuPfmIp6jYV1Vzd J2mdvfiamxR8LwdsaFN6KnUtirXWvjTSmErNqj4FM5LjjdExwKjUZ4k7yYFv5vUmTFq2 bzAFsrahR84P3rzEKy/UVYMrx4cBtZ9slzIWXbInWLcW5E35mmOU34Di8Snkmw1ZxTjg qoV+gA3FjV7G9AmPXcdSTF8Q3lVq+9tYM0CaI6OpC9uZfiK246ZxgGHXsGdQj52HUy87 rrEw== 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=VkzQlCvNcZ6kAcUD2E30XR2J99tpzScwVWpndwntAps=; b=TcFdRTnUo5DgelTgMmNkgDq1tdqrSTLu7ot/VGnbHoPybOAO1fdlq7WCLYvo0HAiIJ TSXGVUUdMg3Z50y/S3kuXqtDwkBRj+nr8xX89z88TyGgM1oimFOiYyofhEE+pUc4kIJT qR0RWTIexFp9v0QC80YP98KeDZnVwUeYM5nkmefG/PZW2+d3BhtFX4KjrLvbzF0X8nmc KBFQxWYfEwMf5RCfkmsZ0CAZq8cqhzcBzy5npGMBXAenzEWPu9zimFeWkpCWXKrT2yET ff5ZLYv4ykBklE5Z2VXIjIgQQY+lkPYKYzp2dzvWgbYfJOvP4huvv/1vtMvub3YnHMiY KQsw== X-Gm-Message-State: AKS2vOwbiFpXwDB5PUph1NdHGk5FRldEDNMCJ/XSJV+Fdk1Zgttm+hs1 CoeY6qvGp6v2851G X-Received: by 10.84.236.66 with SMTP id h2mr657897pln.233.1497453820291; Wed, 14 Jun 2017 08:23:40 -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.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:39 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:20 -0700 Message-Id: <68f0709c949f9264e5164d549c12bf67b773374b.1497453168.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 01/10] gcc: Introduce a knob to configure gcc to default to 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 GCCPIE flag which is empty by default adds "--enable-default-pie" configure option for harderned distros We do not require to add -fpie -pie flag externally anymore Signed-off-by: Khem Raj --- meta/conf/distro/include/security_flags.inc | 4 +++- meta/recipes-devtools/gcc/gcc-configure-common.inc | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) -- 2.13.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index e162abeb3d..d3b7257240 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -5,6 +5,8 @@ # From a Yocto Project perspective, this file is included and tested # in the DISTRO="poky-lsb" configuration. +GCCPIE ?= "--enable-default-pie" + # _FORTIFY_SOURCE requires -O1 or higher, so disable in debug builds as they use # -O0 which then results in a compiler warning. lcl_maybe_fortify = "${@base_conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=2',d)}" @@ -12,7 +14,7 @@ lcl_maybe_fortify = "${@base_conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE # Error on use of format strings that represent possible security problems SECURITY_STRINGFORMAT ?= "-Wformat -Wformat-security -Werror=format-security" -SECURITY_CFLAGS ?= "-fstack-protector-strong -pie -fpie ${lcl_maybe_fortify} ${SECURITY_STRINGFORMAT}" +SECURITY_CFLAGS ?= "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_STRINGFORMAT}" SECURITY_NO_PIE_CFLAGS ?= "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_STRINGFORMAT}" SECURITY_LDFLAGS ?= "-fstack-protector-strong -Wl,-z,relro,-z,now" diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 086525997e..af3575355c 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc @@ -22,6 +22,8 @@ EXTRA_OECONF_INITIAL ?= "" GCCMULTILIB ?= "--disable-multilib" GCCTHREADS ?= "posix" +GCCPIE ??= "" + EXTRA_OECONF = "\ ${@['--enable-clocale=generic', ''][d.getVar('USE_NLS') != 'no']} \ --with-gnu-ld \ @@ -29,6 +31,7 @@ EXTRA_OECONF = "\ --enable-languages=${LANGUAGES} \ --enable-threads=${GCCTHREADS} \ ${GCCMULTILIB} \ + ${GCCPIE} \ --enable-c99 \ --enable-long-long \ --enable-symvers=gnu \ From patchwork Wed Jun 14 15:23:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105550 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385388obh; Wed, 14 Jun 2017 08:23:50 -0700 (PDT) X-Received: by 10.84.233.141 with SMTP id l13mr697096plk.298.1497453830769; Wed, 14 Jun 2017 08:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453830; cv=none; d=google.com; s=arc-20160816; b=wBfucQ57eAvUnfCuLSFfFKF/m3OaYhek9lEQWaMlMi7oum40G1Wa5i5Ru3Ok6ovZ1i aurCkCUZdevjY6MAqUTSY1ow8O7yMP5kPiZEnJ/nhrm1MGtbRp92Z+TIo9pzxXlWz5iG Xx2Qh5YxwH4L/CfK6htdNMo7URxSqD01qUIfKPBp7D+xir0KCBZF6TQ5cRwYDu6yJzex J0glIFHR8pys8/M6+R6LQqMuPafsoAM3CsCJ2wd03amuH7Ym7DL+yDzpIrtiUTWKM/Iz ajM3EcjaJKYbeGaxKEkbkvx5iYIORXhPmwfVzp+ZkvWCRXus1HPTzJpAKdCQzIrb4gkG x75Q== 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=oK3K/liDh8+1F6QBweyK0Niui377jDrqnDEn8AxMGD0=; b=UfJC2l3VKQ/RpSfb3Lmawick7krD/7CvtgwkBk1+S8WNpd5wmCiRM16NxuCv0kDy6l yN4qKBLs91F5jjSfiSqp5mdMfwMscPuYdTKL4CgAoZvQ4E/vEvfmvNznBlgAcrhlvPq/ b2zoPLZYxMnzxytIMDDIzA5l8W12qL4KAzcBVfxXyMy4OrQXA3vRqh00VX4TpE1yJRqF eJbh0DmpN7rpeQJl6R+T6Eu3TgH9DDqcHfN57AbE+Gb5HhP92XvFy+986GHwUO1JuiS6 VNghGZwVoG/P0WDz1udEqhqrfCefAlAkeYy5/BfjHstGschjz4+si59lqC8BUryjHjuv VUyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=PNLD3CSU; 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 g6si227314pln.178.2017.06.14.08.23.50; Wed, 14 Jun 2017 08:23:50 -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=PNLD3CSU; 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 37853783BA; Wed, 14 Jun 2017 15:23:45 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 02C0B783AD for ; Wed, 14 Jun 2017 15:23:40 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id v14so477889pgn.1 for ; Wed, 14 Jun 2017 08:23:42 -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=KkksbstK3R9z6xXLsJJuSbZgh2+DVw25DiQWAlQfvMA=; b=PNLD3CSUtIQMAzfWBjZ2zYHV1B710iU6/CIOqh13u8+O2DUMn+u+VdAdZrwL65Hg0s bZvRbT3y8sOzu1DQIH3Fq/cyacVLUTNlZ82eSV3DbgctQMHx5uEUVaQILWXUkW+aOg0E IFu5cQoZ4LTCkHlBpmH+hl9enco0nD//VNtcS06vTZJRZlGrLLWGxwcpNQJYMuxWq7ht SydKjmbJp5SV2hlrwy/h1WdbYR+yeFwx2iGFwG0kuCLfCoEIOdjEhSFKbs/KB8XqaG3S JZwOQe2sBnY4S4mWg246LpLkpQp3KmXZpW0dotPZjPcyBZm1Kz8jS48zddCYMjwkawAw 4igg== 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=KkksbstK3R9z6xXLsJJuSbZgh2+DVw25DiQWAlQfvMA=; b=PjJxT3RCN6R0p8gmDvy3wlHGF1+2jvSOCp4NKZ+B4vPWbtxpJc1ftwnI7KzyI7bWPX A6Ob8l1WRLiPlzjPcTl/BK7C+wPCOZpqWfebq7JBrnnWpPr917tn3OY8WYbw5iQQ2MaL if40Uiyn/ChY8K8cW1oU/7xxbAo0lHjMoH6Ww41pkFDcZqrXxG5cy7bAAadD+VQaHe3R mLDHSq7tvqObPdEIKm9+DCxZErguKsYmK9i28h+B64jOVy4cexbOEwXd64sVLkvmpOHK wR2zS4EFkH8v7eSenrq0CQ/N0jKmGg00haAJAY4zGMOE34WKpzR1h2scHRJp99+LW4Cy sivA== X-Gm-Message-State: AKS2vOygeBM7eeBqNjeO1rkcRQKzepYF8RIsM46z7Cb3pJFzIYhhks/t XHrhUKF9QI93ig47 X-Received: by 10.84.209.238 with SMTP id y101mr675764plh.290.1497453821852; Wed, 14 Jun 2017 08:23:41 -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.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:40 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:21 -0700 Message-Id: <80c14cbb1b41755ac3370626f36f7fc84f106f92.1497453168.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 02/10] security_flags.inc: Delete pinnings for SECURITY_NO_PIE_CFLAGS 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 GCC is configured correctly to pass PIE cflags/ldflags Signed-off-by: Khem Raj --- meta/conf/distro/include/security_flags.inc | 83 ++++++++--------------------- 1 file changed, 22 insertions(+), 61 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/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index d3b7257240..f6bbf70655 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -1,4 +1,4 @@ -# Setup extra CFLAGS and LDFLAGS which have 'security' benefits. These +# Setup extra CFLAGS and LDFLAGS which have 'security' benefits. These # don't work universally, there are recipes which can't use one, the other # or both so a blacklist is maintained here. The idea would be over # time to reduce this list to nothing. @@ -14,89 +14,45 @@ lcl_maybe_fortify = "${@base_conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE # Error on use of format strings that represent possible security problems SECURITY_STRINGFORMAT ?= "-Wformat -Wformat-security -Werror=format-security" -SECURITY_CFLAGS ?= "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_STRINGFORMAT}" +# Inject pie flags into compiler flags if not configured with gcc itself +# especially useful with external toolchains +SECURITY_PIE_CFLAGS ?= "${@'' if '${GCCPIE}' else '-pie -fPIE'}" + +SECURITY_NOPIE_CFLAGS ?= "-no-pie -fno-PIE" + +SECURITY_CFLAGS ?= "-fstack-protector-strong ${SECURITY_PIE_CFLAGS} ${lcl_maybe_fortify} ${SECURITY_STRINGFORMAT}" SECURITY_NO_PIE_CFLAGS ?= "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_STRINGFORMAT}" SECURITY_LDFLAGS ?= "-fstack-protector-strong -Wl,-z,relro,-z,now" SECURITY_X_LDFLAGS ?= "-fstack-protector-strong -Wl,-z,relro" # powerpc does not get on with pie for reasons not looked into as yet -SECURITY_CFLAGS_powerpc = "-fstack-protector-strong ${lcl_maybe_fortify}" -# Deal with ppc specific linker failures when using the cflags -SECURITY_CFLAGS_pn-dbus_powerpc = "" -SECURITY_CFLAGS_pn-dbus-ptest_powerpc = "" -SECURITY_CFLAGS_pn-libmatchbox_powerpc = "" +SECURITY_CFLAGS_powerpc = "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_NOPIE_CFLAGS}" +SECURITY_CFLAGS_pn-libgcc_powerpc = "" # arm specific security flag issues -SECURITY_CFLAGS_pn-lttng-tools_arm = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-aspell = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-beecrypt = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-coreutils = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-cups = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-db = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-directfb = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-glibc = "" SECURITY_CFLAGS_pn-glibc-initial = "" -SECURITY_CFLAGS_pn-elfutils = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-enchant = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-expect = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-flac = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-gcc = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-gcc-runtime = "" -SECURITY_CFLAGS_pn-gcc-sanitizers = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-gdb = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-gmp = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-gnutls = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-gpgme = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-grub = "" SECURITY_CFLAGS_pn-grub-efi = "" SECURITY_CFLAGS_pn-grub-efi-native = "" SECURITY_CFLAGS_pn-grub-efi-x86-native = "" SECURITY_CFLAGS_pn-grub-efi-i586-native = "" SECURITY_CFLAGS_pn-grub-efi-x86-64-native = "" -SECURITY_CFLAGS_pn-gstreamer1.0-plugins-bad = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-gstreamer1.0-plugins-good = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-harfbuzz = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-kexec-tools = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-iptables = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libaio = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libcap = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libgcc = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libid3tag = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libnewt-python = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libglu = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libpcap = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libpcre = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libproxy = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-mesa = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-mesa-gl = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-openssl = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-opensp = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-ppp = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-python = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-python-pycurl = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-python-numpy = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-python3-numpy = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-python3-pycairo = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-python3-pycurl = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-python3-pygpgme = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-python3 = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-syslinux = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-slang = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-source-highlight = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-tcl = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-tiff = "${SECURITY_NO_PIE_CFLAGS}" SECURITY_CFLAGS_pn-uclibc = "" SECURITY_CFLAGS_pn-uclibc-initial = "" -SECURITY_CFLAGS_pn-valgrind = "" -SECURITY_CFLAGS_pn-zlib = "${SECURITY_NO_PIE_CFLAGS}" + +SECURITY_CFLAGS_pn-mkelfimage_x86 = "" + +SECURITY_CFLAGS_pn-valgrind = "${SECURITY_NOPIE_CFLAGS}" +SECURITY_LDFLAGS_pn-valgrind = "" # Recipes which fail to compile when elevating -Wformat-security to an error SECURITY_STRINGFORMAT_pn-busybox = "" SECURITY_STRINGFORMAT_pn-gcc = "" -SECURITY_STRINGFORMAT_pn-oh-puzzles = "" -TARGET_CFLAGS_append_class-target = " ${SECURITY_CFLAGS}" +TARGET_CC_ARCH_append_class-target = " ${SECURITY_CFLAGS}" TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" SECURITY_LDFLAGS_remove_pn-gcc-runtime = "-fstack-protector-strong" @@ -104,6 +60,8 @@ SECURITY_LDFLAGS_remove_pn-glibc = "-fstack-protector-strong" SECURITY_LDFLAGS_remove_pn-glibc-initial = "-fstack-protector-strong" SECURITY_LDFLAGS_remove_pn-uclibc = "-fstack-protector-strong" SECURITY_LDFLAGS_remove_pn-uclibc-initial = "-fstack-protector-strong" +SECURITY_LDFLAGS_remove_pn-mkelfimage_x86 = "-fstack-protector-strong" + SECURITY_LDFLAGS_pn-xf86-video-fbdev = "${SECURITY_X_LDFLAGS}" SECURITY_LDFLAGS_pn-xf86-video-intel = "${SECURITY_X_LDFLAGS}" SECURITY_LDFLAGS_pn-xf86-video-omapfb = "${SECURITY_X_LDFLAGS}" @@ -112,4 +70,7 @@ SECURITY_LDFLAGS_pn-xf86-video-vesa = "${SECURITY_X_LDFLAGS}" SECURITY_LDFLAGS_pn-xf86-video-vmware = "${SECURITY_X_LDFLAGS}" SECURITY_LDFLAGS_pn-xserver-xorg = "${SECURITY_X_LDFLAGS}" -TARGET_CC_ARCH_append_pn-binutils = " ${SECURITY_CFLAGS} ${SELECTED_OPTIMIZATION}" +TARGET_CC_ARCH_append_pn-binutils = " ${SELECTED_OPTIMIZATION}" +TARGET_CC_ARCH_append_pn-gcc = " ${SELECTED_OPTIMIZATION}" +TARGET_CC_ARCH_append_pn-gdb = " ${SELECTED_OPTIMIZATION}" +TARGET_CC_ARCH_append_pn-perf = " ${SELECTED_OPTIMIZATION}" From patchwork Wed Jun 14 15:23:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105551 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385430obh; Wed, 14 Jun 2017 08:23:55 -0700 (PDT) X-Received: by 10.84.231.136 with SMTP id g8mr658592plk.257.1497453835731; Wed, 14 Jun 2017 08:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453835; cv=none; d=google.com; s=arc-20160816; b=hbWShPHsLOzOzQUqsQKqUL/dBJmjstdmAcBCwWllpOfx+ZQhJptRpTPUzpoXvGWamz O9Asd2Hw0z8rI/6LxD/TQ1a0PzNSrXcnDWZRBj/DOKEzFsGBGH5DAVMVBuUe46gC7cHS +SeUnSivZPh6KSYkGWWbTio9aC9jEzVPxw/tc5W+l3gWrZBcgQycZH4zcioB0pUAi/xl u/o+TjBvkrRl2jrKuTmT/VNQ+Fh8I+CP9s0QVw8jHvkmiox94RTrgcSP5Xsn3SUrfpKr FhN/G0xn9v6wCWW+31RDNB/sihCJxrPk889f6veFOOS8JxJ67IcKxjHm7tQlfWJ3NtqJ crpQ== 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=qcgMbWVhTRM9vTTjxQQKd0Y0Q9W9CTAREX+hwT2cqyc=; b=H/+mSS/2bh5udrHilkml/of+B6hAsL5DsB1pEvVCqKbXQmODIqjWF2Y06Iw36quu38 gkkhCYr2nafnhUmYSKxwC2l2UpvidSnZr3NBo1EtjOd7d8CWs6/WxBPCcMdS6PtKxpEj sYzDNGNSzZWjU0tUn+DH4Za3kbnP/qpn5QGF+wCf2DTX9ltzNiE2QjgYGMHHlxB1IUOk Aj/cmmBF2f0ixYBTyHYjUAQR6xHta5F6ffCmf5Hiwvu6rRUThLp2EBCCl0FKrW7+kLN5 cbPtEKP1BBjMzJWVhRfEayg4Eyuel/8ai7WB3MzrrI3tyYy6VutPUCDTjnHK4j88NoN+ W3Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=l6UKy/6R; 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 z3si220776plh.358.2017.06.14.08.23.55; Wed, 14 Jun 2017 08:23:55 -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=l6UKy/6R; 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 40687783B1; Wed, 14 Jun 2017 15:23:46 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 286F07838F for ; Wed, 14 Jun 2017 15:23:41 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id w12so510364pfk.0 for ; Wed, 14 Jun 2017 08:23:43 -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=OFRJxX7HPXW+caqiLUFSSRAF08UXoiEkQ0BP++pDJGQ=; b=l6UKy/6RtcIGWzXScvZ41rqxWZ0nO6AAGJf4Sc3jeq8vfZLjOiOEEohLl0T9YTHYek amyy/rg6b3mzd9MBPj0ids08ORTU8hJ6yhYXEkCVu0psrgX9yqI73qUy/HaC4K9xabgF G5EI6dpl5FRYuVfiBhaIBG+pDMVCyi0PF52YHo189iwSIc+sixTIrJtqFAC0Z11veh1O 8FBrx+yCPOn7Yoin/IGOQ5Ke7yS6WsWXAitohQm/koBYdc1Havbfn0Je9lhmZdm6vS2Z /WATyxJWOgIQQI9ywcjT7a6BN79olWB7NZGNUyqiT8e8NSIqBWsqXsWHRqU0ib5fPRcU vzhA== 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=OFRJxX7HPXW+caqiLUFSSRAF08UXoiEkQ0BP++pDJGQ=; b=soWvho1MnEDG401crL7fJ8CAFFICZsIYS+M8Z7ggP9fIKbSuJ9Sp6IcZaUv7t8f0wk BLF/zEExiPup0rZ592J2pqvseIruBNYzX2TWrMx5yZxgZzZaPHMJpRwbwWVtrt1ayvKE 9RFqfxmJYzZcPSUNCNd1g9vVwQXzfPjpRZwzutD6/8UrAADY146a0HEY+79+B7u+/Mvn u/SWcP3ekNShsnW6SinV8QWeujjDMJtgmavHE6N+oGTOcLrHE9ly/VqxjFD+ayxeiaDE vLfwCIxxPJQThLJQ/6BllQpjJ5XGvBJFtig79WywDKU6C0tHaf8m9gY7uP9P3cUClGR+ cvQQ== X-Gm-Message-State: AKS2vOzGjpHq3mtqrZMcR1+DK91U5mKgoniiwZ+o43nCcKm992jp90e0 NTQg4TryUmftewpM X-Received: by 10.84.238.131 with SMTP id v3mr699242plk.168.1497453823121; Wed, 14 Jun 2017 08:23:43 -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.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:42 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:22 -0700 Message-Id: X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 03/10] distutils, setuptools: Delete use of SECURITY_NO_PIE_CFLAGS 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 gcc can handle PIE in gcc driver Signed-off-by: Khem Raj --- meta/classes/distutils-common-base.bbclass | 2 -- meta/classes/setuptools.bbclass | 2 -- 2 files 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/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass index fa733c672c..824a1b68b1 100644 --- a/meta/classes/distutils-common-base.bbclass +++ b/meta/classes/distutils-common-base.bbclass @@ -11,5 +11,3 @@ FILES_${PN}-dev += "\ ${libdir}/pkgconfig \ ${PYTHON_SITEPACKAGES_DIR}/*.la \ " - -SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass index 7d0c5267d7..56343b1c73 100644 --- a/meta/classes/setuptools.bbclass +++ b/meta/classes/setuptools.bbclass @@ -6,5 +6,3 @@ DISTUTILS_INSTALL_ARGS = "--root=${D} \ --prefix=${prefix} \ --install-lib=${PYTHON_SITEPACKAGES_DIR} \ --install-data=${datadir}" - -SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" From patchwork Wed Jun 14 15:23:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105552 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385464obh; Wed, 14 Jun 2017 08:24:01 -0700 (PDT) X-Received: by 10.84.148.134 with SMTP id k6mr702820pla.150.1497453840967; Wed, 14 Jun 2017 08:24:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453840; cv=none; d=google.com; s=arc-20160816; b=ft4G04yiXEd5wFW9/mu7GERh6lfm3wUW/ayM5mOMSmVJjt1+0Er0C8yMK0n64JC1tg 6h3c/79XAY3lmrKTx3aBRJ++fDKPmYxosFuXls5Q3lU37C/553/vPQk14vWN7avJ6qnj Rwm0EM8IPkwZUUURzBEtV7VK4FkSgTrDWdw12z3HhLhNCE5UJMFM7PtYFoThluETMlbT hy+92PyAg/uc6Tw8yovyjeerERIuWsqNyakoFwSyZChMyy/ITocWcV+XlE9tGqcFcMBI OQO4TAtDjh88f0TWHafqtcj53X1YO/A4rRrKQA9pTNyhmjA0tYQrRzzDAd6mqhxz9D0V j5IQ== 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=d/oelKSnqo2DGnpwqlDXQSaqb2b2N04qgj49xlGM/FQ=; b=ewfkK/U4mpixGwz1+Z6aam8TW040PhTWf9R06h3Fd1syGb7pyDRLFd1Y+AWqlarkMG uq3EtL0rYePLClGGbqEohyvwBlBn+TTBHKx2INYbUZtYhYBr2/AR/9Wc1HLVaP8JQWkL Zd4CIcwA0D+w72BKBvk+/FwGfAcuYCvY53pcV1Jg7d2UmLEnUF73p4jbaJ+HaRXx8mEH zREjcQcLL/ugBN27Ii+MePEj9rsQk1l6R1VxGPRVdPHj33QLHDqWZQSPxHChMQoCSz4a lw6RCmhCYOPVl8L2W/kYuazk29W7qupy1mp4G7Thojdzg9BHXyjn4JYvuW2K9/kjObTM N33g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=RGMV3tWn; 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 d7si228442plj.262.2017.06.14.08.24.00; Wed, 14 Jun 2017 08:24:00 -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=RGMV3tWn; 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 3C3A9783C8; Wed, 14 Jun 2017 15:23:47 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by mail.openembedded.org (Postfix) with ESMTP id 9CED4783A6 for ; Wed, 14 Jun 2017 15:23:43 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id l89so1851280pfi.2 for ; Wed, 14 Jun 2017 08:23:45 -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=Ctq5UgEmecwvr4R7WbvxFafUEqan5yfhTGC5/XMmMVc=; b=RGMV3tWnmYOd5PkfQRu299pT9+A0LFmZ2ksgMWXHEUBelogbM7d600CjXG8rIqgGYw uMfNexLcBbRd2/lZ6EEBoaKqoDntAoawISG9/4zkoxIJu/eEPTZOQrQfqOpU+9/H7noF VE+FaDuNzpalNS6bjmbryZEcRuRWSswOMoc8ct2FKMvA5aoG8DFytRc+nGa17cT0rSe2 NYHEGanIgmsYxEj7TOdhaVXw+YXAuWJLFFk3o81Lld8PwhSNFHJibyPmp/TJ4V04EwPn Nnbne3V0Q3qesfRhNjnbR4pIOubNzli/TkIrXJ8xj8xsQo5EDm6TqWVLCmhPKKT+qlD2 sfrQ== 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=Ctq5UgEmecwvr4R7WbvxFafUEqan5yfhTGC5/XMmMVc=; b=aYfeDkPeT53zs5gnhUCTomWimrWIcXkAqfg959XqPjQJaoQzLPKGTBdqu4uThdSo2u QBm+0hvj6o+YSglm6lzjvDm7skB179bqzKQ9DwDaInt8YxbX+LhHvyPD7waqQL3/mzyH ckDoXTNvxIrvCKsFVp8iQircdNME5uGRWnGfwNWJd3oUZ28mz/T3QpLXC3ZoYz+SWzdG bJTvW5MxGqXQOygFwAIHGaEd3jhMeH3v4DdiH1D3ZE8qZ7RZ6rarYqk/taYnRuMJHLAu 2RmVb5Yw9i8W5WJeruc74Km0BpFYmS5AwvcLnmcTAwLzHVlfXY8JdVB4YH+HRD3NHh2k gSjQ== X-Gm-Message-State: AKS2vOyEsMFypAlNCTqJDuuGhjMzAo+wYRKUj86H1FNOa8GSn6mTR2bP cd0VmFF1d/OBvIRi X-Received: by 10.84.233.130 with SMTP id l2mr694891plk.212.1497453824530; Wed, 14 Jun 2017 08:23:44 -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.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:43 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:23 -0700 Message-Id: <332b26d3b81ceb83fe3d6eda1a0476ad80156808.1497453168.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 04/10] ffmpeg: Upgrade to 3.3.2 stable 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 * Fix mips/mips64 along the way, it was broken in 3.3 as well Signed-off-by: Khem Raj --- .../ffmpeg/ffmpeg/0001-build-fix-for-mips.patch | 44 ++++++++++++++++++++++ .../ffmpeg/{ffmpeg_3.3.bb => ffmpeg_3.3.2.bb} | 5 ++- 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch rename meta/recipes-multimedia/ffmpeg/{ffmpeg_3.3.bb => ffmpeg_3.3.2.bb} (97%) -- 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-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch new file mode 100644 index 0000000000..3f8224aa07 --- /dev/null +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch @@ -0,0 +1,44 @@ +From f34c567045bea5a7ded9bcfa8e785cfd24cc7dde Mon Sep 17 00:00:00 2001 +From: Shivraj Patil +Date: Tue, 4 Apr 2017 18:56:01 +0530 +Subject: [PATCH] build fix for mips + +Signed-off-by: Shivraj Patil +Signed-off-by: Ronald S. Bultje +--- +Upstream-Status: Backport + + libavcodec/mips/hevcpred_init_mips.c | 3 ++- + libavcodec/mips/hevcpred_msa.c | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/libavcodec/mips/hevcpred_init_mips.c b/libavcodec/mips/hevcpred_init_mips.c +index 331cfac115..e987698d66 100644 +--- a/libavcodec/mips/hevcpred_init_mips.c ++++ b/libavcodec/mips/hevcpred_init_mips.c +@@ -18,7 +18,8 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +-#include "libavcodec/hevc.h" ++#include "config.h" ++#include "libavutil/attributes.h" + #include "libavcodec/mips/hevcpred_mips.h" + + #if HAVE_MSA +diff --git a/libavcodec/mips/hevcpred_msa.c b/libavcodec/mips/hevcpred_msa.c +index 6a3b2815fd..963c64c861 100644 +--- a/libavcodec/mips/hevcpred_msa.c ++++ b/libavcodec/mips/hevcpred_msa.c +@@ -18,7 +18,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +-#include "libavcodec/hevc.h" ++#include "libavcodec/hevcdec.h" + #include "libavutil/mips/generic_macros_msa.h" + #include "hevcpred_mips.h" + +-- +2.13.1 + diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb similarity index 97% rename from meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.bb rename to meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb index c2b570e85c..f4bb2ba1f5 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb @@ -25,9 +25,10 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ file://mips64_cpu_detection.patch \ + file://0001-build-fix-for-mips.patch \ " -SRC_URI[md5sum] = "368f1fff4bdadaf2823934cc0aadd71d" -SRC_URI[sha256sum] = "599e7f7c017221c22011c4037b88bdcd1c47cd40c1e466838bc3c465f3e9569d" +SRC_URI[md5sum] = "d6c09c84e3d0d9ca8a51f481da660603" +SRC_URI[sha256sum] = "1998de1ab32616cbf2ff86efc3f1f26e76805ec5dc51e24c041c79edd8262785" # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 ARM_INSTRUCTION_SET = "arm" From patchwork Wed Jun 14 15:23:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105553 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385496obh; Wed, 14 Jun 2017 08:24:07 -0700 (PDT) X-Received: by 10.99.121.141 with SMTP id u135mr649313pgc.48.1497453847473; Wed, 14 Jun 2017 08:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453847; cv=none; d=google.com; s=arc-20160816; b=b4N5B6sHXSIOaXoAwt8lJ3gLDHhPGU6qK7Vo9+wFQ6KvtwM6jywRihC3zATIZsQxlg WZKda6mY5CyyL3hz5OaWStBiA9bWgPe6H3LRpePY+Ku/BEjcKf/zNoNNmEuSIeD5cws8 CWbKF+eaUtv9HwMNEJZoShN0pxbuol1kRtlKI3NnQ/1Ni7AxGuDxQ2GnH4oE2Mo7AQZe InAY8dgKjrnTzYk5BNN1DCXISu1JNyrMiMt5lp3Ldyp2v9yeCCQ4FIorIRSnONprE8Ru Bc42PRkaGZzhmQUX5utCw4yLG2sBJG+BwkLCuJ8/MVyxF1kM4PMgjGl0oZGkLUiIdQoG fJuQ== 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=w2Vq9kMEGBoVa2HHTzINtrhZ6k/8/ZB1mVEDaMV+34I=; b=GCdfFoktYohvEEIkG3yZiR/B2Of8KnC67+eYi0XnOtZlJM1gS5BixOvEf8GtqoCuJR KPZHcsk3DRCbHNkSe43r+Wefd+FaFfufgbQ6g+VTcZLDyTTpOgI43Rn2j1kMvlJnQQ44 a8RafhpjDW5YXD81F3KZLw63zK1lfzs/1r06AFFJL3flcdNV54HMV1NrDJd0b5i0GpDN /rvnmAFgH3KyPV6HuVxpPR3iEuvncNdMwMjQpY0cyot0sGdSIHk68VSf3H0LTeOFd/qv FAWFTDDSXdvM37AsrcNQvajIA0bKilCaKk2J++jZglRqm2k0dhSk94SwOHLjFUWzXYxw DIFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=TDRTznFw; 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 w13si180922pfi.382.2017.06.14.08.24.07; Wed, 14 Jun 2017 08:24:07 -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=TDRTznFw; 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 3C76A783CD; Wed, 14 Jun 2017 15:23:48 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 5BAFE7838F for ; Wed, 14 Jun 2017 15:23:44 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id v14so478137pgn.1 for ; Wed, 14 Jun 2017 08:23: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=rE2/zVRkkOgYolNmJl3JpUrDHVhFy24/kunJzoF1Ks8=; b=TDRTznFwFJy79NDkJojGEnA2e/Yqj/b7wNuZOu9hnmDYYN3X1djEc1tm2+8k51i49S V0XvWfF4xQ52c8svpnEzNdbz02Fac6SvkIyMxWhrGfH4gBug+zhkuKCt7j54iWds3c/b 3pTXXBzd4AxYGNH2wyE7VO1pdhYbX0F8BEaaUkbHsFaI2xcJmkLmL/0P7xaQ9GXg+a4s 1OFwWKle2w6n9zjOTsLMV1L3J/EuEZveSpFi8iBRi/pY9Fmu+eF7YjzUorbAH1w0uZl2 3isRF1ZPkSQN06phxJ+E40bDpGMkl1V7kUGQmlg02Tww6s+e411QM7ozy02X0ztZIST5 8pPg== 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=rE2/zVRkkOgYolNmJl3JpUrDHVhFy24/kunJzoF1Ks8=; b=o36rWxaU8XpB4S0FsHw/RlvuImL572KISEW5OhDzcbknTxMZ5i36Z10sUV1lBO0qv2 6pDS+AxPv0Dln1+6EYQwZAiEPwXl0DmqVv7/AZ/NqX/mmdPTB26LZsiL5ffHtMnSvhQn XEfOOnes8D/PxvMvS4WObTnfSPArT3f4AM182Vab6nxMzErhdJ4OvU8RvqN3QHZDkgPK EektDTTR9yBTi7EcGhW892O9mYHNGN1AGCTBnoy5FZ09zoVmaDk+SYL3DZiUSN9+/4gN ZsVMXvfTS2fymBIdy2aNz1kaBUEP2u+M7ypIzOCOHGdo7rpMNC0KgIcNAH7b6hASm1+D UVyQ== X-Gm-Message-State: AKS2vOz1x6XaynCClyCEmfqMQqoKHAl5Y+7O1KW3coesZIxaJmhnLt5Y A97OuXT4STYLC+2P X-Received: by 10.84.217.141 with SMTP id p13mr635048pli.271.1497453825920; Wed, 14 Jun 2017 08:23:45 -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.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:44 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:24 -0700 Message-Id: <1fcd2f1adf3506cc8d22cbbc538ffb7e1eebbf8f.1497453168.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 05/10] gobject-introspection: Disable generating static lbraries 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-gnome/gobject-introspection/gobject-introspection_1.50.0.bb | 1 + 1 file changed, 1 insertion(+) -- 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-gnome/gobject-introspection/gobject-introspection_1.50.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb index 509fc5fa59..ce31097da6 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.50.0.bb @@ -99,6 +99,7 @@ EOF # Configure target build to use native tools of itself and to use a qemu wrapper # and optionally to generate introspection data EXTRA_OECONF_class-target += "--enable-host-gi \ + --disable-static \ --enable-gi-cross-wrapper=${B}/g-ir-scanner-qemuwrapper \ --enable-gi-ldd-wrapper=${B}/g-ir-scanner-lddwrapper \ ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection-data', '--disable-introspection-data', d)} \ From patchwork Wed Jun 14 15:23:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105554 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385551obh; Wed, 14 Jun 2017 08:24:15 -0700 (PDT) X-Received: by 10.84.209.234 with SMTP id y97mr695685plh.200.1497453855031; Wed, 14 Jun 2017 08:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453855; cv=none; d=google.com; s=arc-20160816; b=TL4MuyUEMpUv0GXsceN+3Arz+2OPzCDmZ2plk2F27O5iONdc4KKSTlfI+DcMB7sJv/ AC2TmH8jWWD3uoNokPcqbJ7+MDVIPMQaEAHB/SJYrVHfUp7eZBS+K+pTlPMyA3UtR4iq i1yniIXvzSeok+PR5dI8pWQVcG1KgkvE9qj/WaA/9ZrCxzwONFqArnFObPZWG9k9yvfh jsEzMyhfgQgTbBipU9Lvb2oS7cEAT9J9wrATyLHv+vz8DIWBw9o/2MglDvgYhJLqwzaG PXd4Z/GreA592/graC7K7R44hF0icnKVgHWRFxkUGxVTb4wh47SsZf8oCp/22i9l95L5 xTaQ== 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=SYDVkTHNw4GdJd5QQFfYiIGl4nmJv4pwk3/mJmIfrx0=; b=m7pnfbftuC0K03SLKGaNp17Du8TB2bHe0Q723AP2/BEHSpvU3GfH18+u3AnartIVO9 jL6rYMNbxprmX8LlBC7fRtQa0wcF2BuOhKESxTlJuv3PGft+SzVo1p6JAakriJ6hLHCO R0CyxF3hNtPSA7CT17awZFKlO5kgXuw8n7va93qz5M14Ka8zW2ismnu7KgLsBgazJH8t HJQ5G0YVielM5KFNwHjXWt55LJDBcAhFv5VDbxTMXywKTnPDYSmwgX5VgksH+0ELesJj u0fbz0aYTaOZa35lYwETxGipYgPMgZVDXsYZG7+GMxFL4JHVFJSgqT89qTCyiUXeD5+Q K2rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=peLbNT7i; 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 m11si182392pgs.500.2017.06.14.08.24.14; Wed, 14 Jun 2017 08:24:15 -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=peLbNT7i; 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 5B337783D7; Wed, 14 Jun 2017 15:23:50 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id 5D43F783C3 for ; Wed, 14 Jun 2017 15:23:46 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id s66so499189pfs.2 for ; Wed, 14 Jun 2017 08:23:48 -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=/G+L+C8lSckgIQ5TL9j0q8Ciq7nfqq+0Smivzze7NUM=; b=peLbNT7i7jtMdg87ZZdYB8pFp7wxEKKzWdooYmNXu27Lwq3F3jmCxaoQC/GlrrOxU/ xquZeBlmiO4J908JziXzcp8/FBAI5UVkDKPUOd5w1Q3VVqfAW5IgQO7f6JHinvfwzCzG XQ9KQhpNsg9ShpzYVcuuk/1tFw2y/STOwJZ2tX6KDuoAP9+0WD5u+ajWsweFxhE16knJ zqu+yWSyHyhXW/2+etV+21Q6gdWJ8gyqY/+8XW+N6eMo8RLbPibgxK7DgUNLBuUTLOWr ew+djVzAKWojVta74FF4Nx1fx9KBBeQxGK1uJyJD1Ky0H31THdgIZ8GO5Ab22sVP5NFR ffRA== 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=/G+L+C8lSckgIQ5TL9j0q8Ciq7nfqq+0Smivzze7NUM=; b=QGi3PlE8NLd7K1PikocEhiRwc0oIkLivzEf5Nt5/lb4Dzuf7pUcjKA/bGuXa53Spu3 tT6axjUIYpvYIELDLxoFDoswx/iSh6yCmCENRnlie8pt9wc/tuL7jSkWnjh/UdoNtprm zZ3XBDV8IbEvx+cYa7O9n7Mjq9VTj9FvLOz1q/dfR8dMizwXDSMQzjouyQV7jWwgv/QJ xPbkbE4l+AyAjlV3KK/Lj2FSS3D21Gde8ad4CFjpbZyqOpLBOoDvSCgPbjvSYUzUYM+5 PuroJl9/hFjNcKiI74vfC0nReHrSYCgpP7gBjg86LwbTkXPUkEqs5yyXVDUED6HD3vS+ hp5A== X-Gm-Message-State: AKS2vOxAWDDLsd0FauMx39L0MJ17EzzAm0/+Qfcy3jBfD+ideU2SxpA+ EmykzvnA1J1klOWo X-Received: by 10.98.81.199 with SMTP id f190mr572165pfb.109.1497453827440; Wed, 14 Jun 2017 08:23:47 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:46 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:25 -0700 Message-Id: X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 06/10] zlib: Pass pre-calculate uname enable re-entrant flags 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 Fix ptest generation Signed-off-by: Khem Raj --- meta/recipes-core/zlib/zlib_1.2.11.bb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 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-core/zlib/zlib_1.2.11.bb b/meta/recipes-core/zlib/zlib_1.2.11.bb index d4a81820df..ba216f679a 100644 --- a/meta/recipes-core/zlib/zlib_1.2.11.bb +++ b/meta/recipes-core/zlib/zlib_1.2.11.bb @@ -17,20 +17,22 @@ UPSTREAM_CHECK_URI = "http://zlib.net/" SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68" SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066" +CFLAGS += "-D_REENTRANT" + RDEPENDS_${PN}-ptest += "make" inherit ptest -do_configure (){ - ./configure --prefix=${prefix} --shared --libdir=${libdir} +do_configure() { + uname=GNU ./configure --prefix=${prefix} --shared --libdir=${libdir} } -do_compile (){ - oe_runmake +do_compile() { + oe_runmake shared } do_compile_ptest() { - oe_runmake static shared + oe_runmake test } do_install() { From patchwork Wed Jun 14 15:23:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105555 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385596obh; Wed, 14 Jun 2017 08:24:21 -0700 (PDT) X-Received: by 10.99.127.73 with SMTP id p9mr583655pgn.169.1497453861809; Wed, 14 Jun 2017 08:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453861; cv=none; d=google.com; s=arc-20160816; b=gHmfEAvxapM4+ZI4jv3EvArXKhhNwlKWIeElvmdJTBxWt3AWT5c9mvMrTA6qCg295K qs8Zk57MCvwGTpmANkHkYiZlDjuvB8a/vDlaRUBuNIYyPMvJHMuIiuOFqpsUHbwMMhXX G5l94StISOMrMtmZVVXNKfWAwIOp/04I+h+KcVPxZr7jEukoTELhkCQc1ZMr9pAn0kB4 OTDC2bcT+Nq0/osZUVNHKM6QFZgKiaAkNfXDb2gCVY/56GRdtm9GrDXsbdPTJjNTKntD XH1JVm7sy/NalTIyenrRz4LyOBCgguk/+BfG6hbfxf2eWWC2qfBZLlLI7E20lY0p+2H0 g9NA== 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=qRGSWluFPNO49zcW4jddEIHeQaAs068C3G2/aY2aelg=; b=AEUTfNjmR0EcBaTk/G7URyLb/fDUnXlKUTMcqlqd0pJpANwA8/CfuTplIJbb+u4cuJ siesaM8yBD4/NVdI1ozKVAii0NaxXyiTcv5R83vGOXAwBdRzs1yHkvhRaZE5RxnUKIGQ Pvko5z6AKkRUdckSm8+V0A+aEVSaV4uD9P9VcakXRR8iIF0/Hx1q6EbIQS4RsLRP1wr4 n2Hf90RKE70mvHdwILjh7HReZdQL2EV7Kec/ydU3aRuKYOi6ztrNWd5ybvMzFd07ivqR KRosrC80/9rbVncoNLNFAyfraWPhWE1sfDmOLzPoeXO/2+CGpmxD/H5LmmsWP8qZQyXB Dp4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=BlZVP0uZ; 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 d30si219010pld.139.2017.06.14.08.24.21; Wed, 14 Jun 2017 08:24:21 -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=BlZVP0uZ; 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 5110D783DB; Wed, 14 Jun 2017 15:23:51 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 0879C783BE for ; Wed, 14 Jun 2017 15:23:47 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id v18so465249pgb.3 for ; Wed, 14 Jun 2017 08:23:49 -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=NzZFeov0Y+DIR1tbES9Y09D+ZBAztnf4xUulRno9wQI=; b=BlZVP0uZ4+Tv8p9/iB9AR5NfLRbXTdsFq31wqrhfnWS+Bys5heyVjxhvWvtvVeh6kU WzNTvJ7Q1vkobX7oKQeWoYPrq7vjDekV1wiG26wSO2Xq4Mq8ALA2h6Xm7R+lrJZww5fh ZjoqF0iZ0+gFnPXhCos+Xb9qPWHz4B2FvqEhVu9Jv2/zzAgKsLSnoBDa148nUBpoXOdB IWmuSa7Fj+zVnszxDIrUKk/Z09qVAuJfW39jHmhGOY/OyMcugw4b94077EWEBDlpsBAj pFHKfqJfb8NHkM6uue6Cky56qqThJM+ta2/lZ3NWoBmZ/4lDM1p6JyIYmBqXKydJEFSL HEsQ== 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=NzZFeov0Y+DIR1tbES9Y09D+ZBAztnf4xUulRno9wQI=; b=WYmg6ZTM19n0uPP/QTm+Texd0kuqJEB0WKclKoJo/p9P2IoWqS701OfgseqcoIuDWH LkeMWl7xGypPUatahfBdaucZamvJBIrhqQBHOTHdArygui+Rgmm2Wtu/nSuXLvuGNxZx dqn0SyWqlxAbe4Kp7V9gWKt3XIZCg25Yg/meeWNU1tcqEIOhQh5008vaXwwfBi1N9crH OoK2C/5pJTzuR5pQpVdUDNeOAPXrel/MS8r5FevCsdk03R0gWjSdD9JrVqTKZtZ/9zaw QPZyuFtsSHW8IqBk0WIlqvk//8C3koIQdvHAoVhYyiOrt8OSwl57hcF2YGu4kDaFjRUs TO/Q== X-Gm-Message-State: AKS2vOwuVEs1MdfldfmTTlLmO4rvenlaQ1E8rBMwDHV3c8EiOL9d7GW4 Nx0ukEzS5vnwXo4K X-Received: by 10.99.166.18 with SMTP id t18mr589363pge.218.1497453828806; Wed, 14 Jun 2017 08:23:48 -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.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:47 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:26 -0700 Message-Id: X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 07/10] gcc-sanitizer: Fix build with glibc 2.26 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 sigaltstack is no more exposed by glibc see (bug 21517) therefore adjust to use stack_t instead Use res_state typedef instead of referring to __res_state struct Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-7.1.inc | 1 + ...r-Use-stack_t-instead-of-struct-sigaltsta.patch | 160 +++++++++++++++++++++ 2 files changed, 161 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0048-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch -- 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-devtools/gcc/gcc-7.1.inc b/meta/recipes-devtools/gcc/gcc-7.1.inc index 3df04199a6..77d5ac11eb 100644 --- a/meta/recipes-devtools/gcc/gcc-7.1.inc +++ b/meta/recipes-devtools/gcc/gcc-7.1.inc @@ -78,6 +78,7 @@ SRC_URI = "\ file://0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ file://0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ file://0047-sync-gcc-stddef.h-with-musl.patch \ + file://0048-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch \ ${BACKPORTS} \ " BACKPORTS = "\ diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0048-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch b/meta/recipes-devtools/gcc/gcc-7.1/0048-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch new file mode 100644 index 0000000000..ee15c6cac8 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-7.1/0048-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch @@ -0,0 +1,160 @@ +From 4c07606bb77bbd30f02adb947d480516da3fa3f7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 11 Jun 2017 10:09:13 -0700 +Subject: [PATCH] libsanitizer: Use stack_t instead of struct sigaltstack + +Upstream-Status: Submitted + +Signed-off-by: Khem Raj +--- + libsanitizer/sanitizer_common/sanitizer_linux.cc | 4 ++-- + libsanitizer/sanitizer_common/sanitizer_linux.h | 6 +++--- + .../sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc | 3 ++- + 3 files changed, 7 insertions(+), 6 deletions(-) + +Index: gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.cc +=================================================================== +--- gcc-7.1.0.orig/libsanitizer/sanitizer_common/sanitizer_linux.cc ++++ gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.cc +@@ -14,6 +14,10 @@ + + #if SANITIZER_FREEBSD || SANITIZER_LINUX + ++#if !SANITIZER_ANDROID ++#include ++#endif ++ + #include "sanitizer_common.h" + #include "sanitizer_flags.h" + #include "sanitizer_internal_defs.h" +@@ -71,10 +75,6 @@ extern "C" { + extern char **environ; // provided by crt1 + #endif // SANITIZER_FREEBSD + +-#if !SANITIZER_ANDROID +-#include +-#endif +- + #if SANITIZER_LINUX + // + struct kernel_timeval { +@@ -605,8 +605,8 @@ uptr internal_prctl(int option, uptr arg + } + #endif + +-uptr internal_sigaltstack(const struct sigaltstack *ss, +- struct sigaltstack *oss) { ++uptr internal_sigaltstack(const stack_t *ss, ++ stack_t *oss) { + return internal_syscall(SYSCALL(sigaltstack), (uptr)ss, (uptr)oss); + } + +Index: gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.h +=================================================================== +--- gcc-7.1.0.orig/libsanitizer/sanitizer_common/sanitizer_linux.h ++++ gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux.h +@@ -19,7 +19,10 @@ + #include "sanitizer_platform_limits_posix.h" + + struct link_map; // Opaque type returned by dlopen(). +-struct sigaltstack; ++ ++#ifndef __stack_t_defined ++struct stack_t; ++#endif + + namespace __sanitizer { + // Dirent structure for getdents(). Note that this structure is different from +@@ -28,8 +31,8 @@ struct linux_dirent; + + // Syscall wrappers. + uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count); +-uptr internal_sigaltstack(const struct sigaltstack* ss, +- struct sigaltstack* oss); ++uptr internal_sigaltstack(const stack_t* ss, ++ stack_t* oss); + uptr internal_sigprocmask(int how, __sanitizer_sigset_t *set, + __sanitizer_sigset_t *oldset); + +Index: gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc +=================================================================== +--- gcc-7.1.0.orig/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc ++++ gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc +@@ -16,6 +16,7 @@ + defined(__aarch64__) || defined(__powerpc64__) || \ + defined(__s390__)) + ++#include + #include "sanitizer_stoptheworld.h" + + #include "sanitizer_platform_limits_posix.h" +@@ -273,7 +274,7 @@ static int TracerThread(void* argument) + + // Alternate stack for signal handling. + InternalScopedBuffer handler_stack_memory(kHandlerStackSize); +- struct sigaltstack handler_stack; ++ stack_t handler_stack; + internal_memset(&handler_stack, 0, sizeof(handler_stack)); + handler_stack.ss_sp = handler_stack_memory.data(); + handler_stack.ss_size = kHandlerStackSize; +Index: gcc-7.1.0/libsanitizer/tsan/tsan_platform_linux.cc +=================================================================== +--- gcc-7.1.0.orig/libsanitizer/tsan/tsan_platform_linux.cc ++++ gcc-7.1.0/libsanitizer/tsan/tsan_platform_linux.cc +@@ -14,6 +14,7 @@ + #include "sanitizer_common/sanitizer_platform.h" + #if SANITIZER_LINUX || SANITIZER_FREEBSD + ++#include + #include "sanitizer_common/sanitizer_common.h" + #include "sanitizer_common/sanitizer_libc.h" + #include "sanitizer_common/sanitizer_linux.h" +@@ -28,7 +29,6 @@ + + #include + #include +-#include + #include + #include + #include +@@ -287,7 +287,7 @@ void InitializePlatform() { + int ExtractResolvFDs(void *state, int *fds, int nfd) { + #if SANITIZER_LINUX && !SANITIZER_ANDROID + int cnt = 0; +- __res_state *statp = (__res_state*)state; ++ res_state statp = (res_state)state; + for (int i = 0; i < MAXNS && cnt < nfd; i++) { + if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1) + fds[cnt++] = statp->_u._ext.nssocks[i]; +Index: gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc +=================================================================== +--- gcc-7.1.0.orig/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc ++++ gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc +@@ -14,6 +14,7 @@ + + #if SANITIZER_FREEBSD || SANITIZER_LINUX + ++#include + #include "sanitizer_allocator_internal.h" + #include "sanitizer_atomic.h" + #include "sanitizer_common.h" +@@ -30,7 +31,6 @@ + + #include + #include +-#include + #include + #include + +Index: gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +=================================================================== +--- gcc-7.1.0.orig/libsanitizer/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc ++++ gcc-7.1.0/libsanitizer/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +@@ -12,6 +12,7 @@ + + #include "sanitizer_platform.h" + #if SANITIZER_POSIX ++#include + #include "sanitizer_allocator_internal.h" + #include "sanitizer_common.h" + #include "sanitizer_flags.h" From patchwork Wed Jun 14 15:23:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105556 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385637obh; Wed, 14 Jun 2017 08:24:29 -0700 (PDT) X-Received: by 10.99.167.15 with SMTP id d15mr638481pgf.42.1497453869186; Wed, 14 Jun 2017 08:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453869; cv=none; d=google.com; s=arc-20160816; b=BOBzKqQfMepSaPi+eMZlDV/RXm3EKZclPaK10JFblDd5G5h3Jz3flkCeSQ0KMblqpF 1b4rbZWpEK9zAmLrArjfWEuNbBgw0ZK/hd8gAsqGr91R0KClCH1/X5acQI8Z3dOgDnYw PkLYnTD8a3REo97o4eV1XaqpexFsp96V0CJlYszIuPwUWazQgE/6J7+qmak4gdwpLLv/ wNRs73BF0XrVQimzfL1a3cLIO9M9xbhNFfEZVJhJ+qRyBJTaDy89TVD0DAiFUCLMiqkV D3zRtzSPevCPeDzi+Bir3NVmP60q8s6jzlhpS//IRTXnYxaP4lsZWHX4EN9xAIYiA2EF uZKg== 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=KTVqKKCpDjo4cyT4iJW3Ot+q6iQ5KOqH3bH9msQPkYQ=; b=hk1QxAbbE6C3CKGJOW3MGlycGtSG8y2QUyztYLw8bYrKrmU/aC9+7mBfqEJFo1Em63 HeK0qGMwnYAN6YkbxmVNs7fCEzC6Pao9nvjjWu4jTeUMMW9b8vTvKrivD2qIVlbdjsNj 9VzTI1ClPOyK8LXCWhKHOzp292HTUC4HwtXfaT6hjMILIeNbK9HJB6jNHI2BtH6+E8kP oxzGHJKETu1msZvVF79+rcKqS1FQ3E9L+Nllcc/GdvjHXFlIphUUSEekxZrFpjLDwkqI S1BGu4Xf7Pj85UkxR62zy1xWKyOvEQ+IK+FlX7XlKvBxrctIzX1I3LZiTvQlkgzTW0WG GsUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=PVoJm8gb; 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 a8si225846ple.184.2017.06.14.08.24.28; Wed, 14 Jun 2017 08:24:29 -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=PVoJm8gb; 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 51146783CB; Wed, 14 Jun 2017 15:23:52 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 49443783C0 for ; Wed, 14 Jun 2017 15:23:49 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id v14so478409pgn.1 for ; Wed, 14 Jun 2017 08:23:51 -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=yLnpr4naLfkOrr2NhFaPo/1TZNwJXdLJYul3LmoLNSw=; b=PVoJm8gbF+gfjlzQdLbF/YjhRMLxW8GOLFiXo+i1cAmwUUXcYB3gUcBhCY96653Yrf fQ9jkA1H3zR8yEHg3937owa4xsML/bM58ISF/YnZlGdjaJif1YM061kmwNdq0jkgjK6M /jSZgo3NrwUVY8dgam/tk91r0AaW7qNwXXThzzIX4Osd0JS9PfGsmCTriAi+tDMQLLCf qeRflbaAeuxfkj3mQFvdMbVwz8/yhXzyxKsuxqHMofdL81mlBHh/voXF29V+EOP4XWBH 67FRaLmGO1NGNQsccA/V2krZUd5EhSHmHe452DVW/x8fcINpCedlkAl64IiQf58eXSYW iJKw== 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=yLnpr4naLfkOrr2NhFaPo/1TZNwJXdLJYul3LmoLNSw=; b=V8inQ+Qf1cL3SbdtO8ieR8SjHGZEsT+kFkqqPxlDj/AnnZRC73zRvbne92wt3hdHIG RJyqV3KY7l+sfOmphCgUIn4gGk4qJ8JraAXQYrMro8170skJ5F1QtHoUE4Y4lSnMcQat XL1R7YSd5MTefa9b2fafQthELkOadf5yfTflkQjzjrq0dC0WLALvp2+2R2DOpYEDQD9C u/mzZK8HbjGzdz4wJxJVHWT9hNq9/UwLqHmTBtpQpvnf4ilJjA/u3QoKxuLpL7Z9IF6l 8rVf9RU4ocs/PdKxc3CHZhMPMD2AkXj8QFxlDrvvqYZdSVZ2B3jzOGijK7tymWIUaI6U skuw== X-Gm-Message-State: AKS2vOzBLiUkMH+l2yMs8knTsHAlr5CG6WDdPq0Qw+BF+++7GQQO5Vjp ReIVppcuFgTRR+qf X-Received: by 10.98.14.131 with SMTP id 3mr581758pfo.23.1497453830442; Wed, 14 Jun 2017 08:23:50 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:49 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:27 -0700 Message-Id: <2c3056843b44a67283ed9e031e464bdada4a0080.1497453168.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 08/10] gcc7: Enable static 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-devtools/gcc/gcc-7.1.inc | 1 + .../gcc/gcc-7.1/0049-gcc-Enable-static-PIE.patch | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-7.1/0049-gcc-Enable-static-PIE.patch -- 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-devtools/gcc/gcc-7.1.inc b/meta/recipes-devtools/gcc/gcc-7.1.inc index 77d5ac11eb..9d60620ac2 100644 --- a/meta/recipes-devtools/gcc/gcc-7.1.inc +++ b/meta/recipes-devtools/gcc/gcc-7.1.inc @@ -79,6 +79,7 @@ SRC_URI = "\ file://0046-libgcc_s-Use-alias-for-__cpu_indicator_init-instead-.patch \ file://0047-sync-gcc-stddef.h-with-musl.patch \ file://0048-libsanitizer-Use-stack_t-instead-of-struct-sigaltsta.patch \ + file://0049-gcc-Enable-static-PIE.patch \ ${BACKPORTS} \ " BACKPORTS = "\ diff --git a/meta/recipes-devtools/gcc/gcc-7.1/0049-gcc-Enable-static-PIE.patch b/meta/recipes-devtools/gcc/gcc-7.1/0049-gcc-Enable-static-PIE.patch new file mode 100644 index 0000000000..879e360cf3 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-7.1/0049-gcc-Enable-static-PIE.patch @@ -0,0 +1,37 @@ +From 44ef80688b56beea85c0070840dea1e2a4e34aed Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 13 Jun 2017 12:12:52 -0700 +Subject: [PATCH 49/49] gcc: Enable static PIE + +Static PIE support in GCC +see +https://gcc.gnu.org/ml/gcc/2015-06/msg00008.html + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + gcc/config/gnu-user.h | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h +index 2787a3d16be..ee7b781319e 100644 +--- a/gcc/config/gnu-user.h ++++ b/gcc/config/gnu-user.h +@@ -51,10 +51,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + #if defined HAVE_LD_PIE + #define GNU_USER_TARGET_STARTFILE_SPEC \ + "%{!shared: %{pg|p|profile:gcrt1.o%s;: \ +- %{" PIE_SPEC ":Scrt1.o%s} %{" NO_PIE_SPEC ":crt1.o%s}}} \ +- crti.o%s %{static:crtbeginT.o%s;: %{shared:crtbeginS.o%s} \ ++ %{" PIE_SPEC ":%{static:rcrt1.o%s;:Scrt1.o%s}} %{" NO_PIE_SPEC ":crt1.o%s}}} \ ++ crti.o%s %{shared:crtbeginS.o%s;: \ + %{" PIE_SPEC ":crtbeginS.o%s} \ +- %{" NO_PIE_SPEC ":crtbegin.o%s}} \ ++ %{" NO_PIE_SPEC ":%{static:crtbeginT.o%s;:crtbegin.o%s}}} \ + %{fvtable-verify=none:%s; \ + fvtable-verify=preinit:vtv_start_preinit.o%s; \ + fvtable-verify=std:vtv_start.o%s} \ +-- +2.13.1 + 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)}" From patchwork Wed Jun 14 15:23:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105558 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp385724obh; Wed, 14 Jun 2017 08:24:42 -0700 (PDT) X-Received: by 10.84.232.200 with SMTP id x8mr647979plm.189.1497453882692; Wed, 14 Jun 2017 08:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497453882; cv=none; d=google.com; s=arc-20160816; b=CvyoA/VENnugmjx99hWSnEIsiG4d0fvnUGvq9hvxdUtNMDq7R1ZqqkbP6oiJ/kQkek PoA1yg0xcKtFpttl8XKpcPr6hx98QtV8K3dDbHRF9NI93Tiwup2uwdSA1PglrmeUh94X VfJ2QvKJDu4l9WbmWDhYkvp6MSxOXWUcnduOtOdHsf34g9jM6QjN3LIm97vTwppumvfl bAi5L463KnGMeaIzm5TdVCNk3jkmEnOMYT4/ofDrmat9xHdAhauM3/81RMnXddxce0/I 4A5UoozBlW/VUELNHL7E4+ZC0P7DhLwhyoAiadj0SoBWAoZF8kW9o/7qXYDsoLh5Akfe bv0A== 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=vOhK2uctlooy3Xh8p82U0GoyKdALc3+C8kkSfuEgMZ4=; b=0ns6Pi1BhswnNS/y/Hn7/P40FGvaoJI9q0NoyW/43hvDq+oLTZJcYK4TtkiOIvsJKJ D3uQkCqVIR4duhmBbAXaqostkNHE+T3XVJDn5V1+UKPUNAaBLsfWaEhXKU9vHqVQKEzI 9n6o6Ixi2t7QQ22kw4IhgkMZIvyeS7wS5+3k0n1YgiHyIrfhuITt8B4oZJBD8jYB1aau xwy1RD8yaeZvYVpJHbbZTQP+l6QYaj5SXkgW1zzFqKT+b+1xIWZ5Ts5efQ0ArnyjyBKL dt4lBJJtJMhM6fhpgjALFwyPsBJ7dKHY1PiI9+f0LMCQVAT8PInxFTm4YPKjGLRV2Wy+ 4e9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=RTIArWM8; 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 v81si192888pgb.328.2017.06.14.08.24.42; Wed, 14 Jun 2017 08:24:42 -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=RTIArWM8; 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 56A48783E9; Wed, 14 Jun 2017 15:23:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id AB5D4783C2 for ; Wed, 14 Jun 2017 15:23:52 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id s66so499637pfs.2 for ; Wed, 14 Jun 2017 08: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=e90r7N2D0mPTwcdBq7bVCyf6fUmFuk1PvAjnZMeewWQ=; b=RTIArWM85S8FZXGujywZX4QaWvtgLXA47R7kNhxJgH2tpzGi4FUnzgyMIFIUl68/oE wig0tvxw2cwOmuoZcHc/4qP+CjasCoAi/AOG6GnfzVEH9RsxeBdt5NDZ7FltewlXxv6h Kx8ETpZKo5e7jG331G4m174FKvCNy3dubgEYb8tDL1X/32zaca8ueq72sLZruNnQc9Fd FTHN+/GpEwGXGSLp/Mmhbxjq0GBS2pyiGx5iXC9v+Pjr+lcaxF5/MF8e1TUd9e4PSI7p pZr23NLfC3x66CQ3pp290QdjqWcFB8Fp8Vv+Gc4cOXAUcYi533Yu5eWDcjTPwWbSDBFT Q8pw== 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=e90r7N2D0mPTwcdBq7bVCyf6fUmFuk1PvAjnZMeewWQ=; b=ChYUeWKktSGYgD6G2kAcD7FWrbFvNkqFk6AI28nbU0yJClUJxKb50dbjL5fkM/U1A2 B0qK8nSldVA60YvSzOa/MLRTOsI1PdE2yHSgznco6JujC/Yx+zS+hDp03Z5pGKL7zK+h Q3ypnSvyAFrgTCtT+LbmpeqAK64TE7ze86pZ6fYXA0D12D6jtyJyxBBkVN5HFgTvztdY e3fff02fcby6D6dFN2XdJkD+Y3HtKD7ow9K4dfRU2lG0s+QW10dvpoiB6VJDgoPney2H w00EVEkUfd0Q6oR79B6clneJoaIhMVbYX5TTg6MITrEWENMtoB1dEXQkqNVIEK2HhHLV K8Mw== X-Gm-Message-State: AKS2vOza3t6FRVltqLJdl/9Jq0J3yLUosSVj1EWlKAc/BKP3P+4ZKwBp gFIs9R27iYkdkdKo X-Received: by 10.99.161.25 with SMTP id b25mr633207pgf.26.1497453833568; Wed, 14 Jun 2017 08:23:53 -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.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 08:23:52 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Jun 2017 08:23:29 -0700 Message-Id: <479041378c1cad9534e3bac14cb261d2b0aebccd.1497453168.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 10/10] valgrind: Remove -no-pie from cflags 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 It has been moved to distro security include file Signed-off-by: Khem Raj --- meta/recipes-devtools/valgrind/valgrind_3.12.0.bb | 1 - 1 file changed, 1 deletion(-) -- 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-devtools/valgrind/valgrind_3.12.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb index d7b6d77000..65e9563291 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb @@ -74,7 +74,6 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}" CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " -CFLAGS += "-no-pie" def get_mcpu(d): for arg in (d.getVar('TUNE_CCARGS') or '').split():