From patchwork Wed Jun 28 06:14:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106495 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp636134qge; Tue, 27 Jun 2017 23:14:48 -0700 (PDT) X-Received: by 10.98.48.5 with SMTP id w5mr9032974pfw.44.1498630488700; Tue, 27 Jun 2017 23:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498630488; cv=none; d=google.com; s=arc-20160816; b=gDQSyMoulQ+pCukOSNREWw2tsHd55G26WLTawXBFcd4OVl0v1XqDfYmcp+eSz3r4AP 89xsTTbfa5xNaBRBUTdOUEdGKEGrSg+XZzbSF2tllBblMbp+Py2dcTUh/kl7fU4rvNkA 0i4WVkGw2gmuIO7Eoxz9zeOJwJJc4v39lj4+YKb+Nim+Wdp7IW+wGC0waZf8JlZ+7hDL u46U/sQmOFDmwQdQYJ1lHPFFka10P1E/mlegpbotQ3sQKgWfm4IS54Xrnr+oaBo2L4Xv y48a7iNNnjUDM2nkvgidRRezCeoyOW9gc3LdOLQH0HmpG7RXTHIkH7o2gVVzpIuDefOi YRgA== 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:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=fWvfRhD5Y8upHXgOMOz/cCJO6QBD7nSHSMqFQG26Fmc=; b=gdHEVO/qrWY2EVC0pM4jlu9A5LdDwB8CoV/NT+5I6FENBysuNR1cgtHYy8uObxs4m4 EjnMTOhKfbobGY4sA/Cp+R0NdI5BlUen0NYGTAse3brbpJUtwa1SJreL5rOq/e0hBsBI RERrhYW/MmDm04p1Ge1BHa1MHngfde3cI/XdqYtJ3KdL2CWNjBmIsTk8nLn11IbK/sWX ZTdYKrIAKlIiR6UszpdSqPS+e1ajxEtA6xO5HMdndyj+uaht6xSzLeOE8hcakW/+BuSD 9h0lKqkwd4z9MhPr7HNnwDzX3xvRPYZ8B8JG3uqcxFN0s40F86SAGjBK+E6gGIphA3Xa ZRMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=fpjZElYM; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 g5si895696pgu.462.2017.06.27.23.14.48; Tue, 27 Jun 2017 23:14:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=fpjZElYM; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 323F578076; Wed, 28 Jun 2017 06:14:32 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 5052371AFC for ; Wed, 28 Jun 2017 06:14:28 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id d5so7696328pfe.1 for ; Tue, 27 Jun 2017 23:14:30 -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; bh=Z04Mw19vtDKbReTQuPbU9kZye9fIe1d5R4XomHUqW7o=; b=fpjZElYMcnul43yeuaTmBHED5fqkwUf+9BYbFvJ8IlhIEkbwK7aXNREJgG0xWz8+ry H6TlEFJ6VC2JO0pVHcIif85ggvMPEm90jc9VSrgQpfGcGogs5yKSb/dM8vhLAkU72QPP uPcDTVkxc502Iy1a7WlLXY9zR/05lfiZnyItfoX0EPXmmwNrcYFrR5CEbp6dbd380xC4 6OrWSA52WddsSfyZonSKpZiGGJD6CNqQIEPLiWNPAlJj4YLdWfHvaWZNvcDibkylOACQ /1IuSjHdo9gC3lVks6IycU7sg0FpLDXlAAd7hxXk6Qy/NpyG02skl/MH6flzAyuvQ35g ANKw== 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; bh=Z04Mw19vtDKbReTQuPbU9kZye9fIe1d5R4XomHUqW7o=; b=uUr6IHIPDeuCS/7mol15BYt9tOfNEn5f3QYZViMWVSHajyRzpeoS+ul/CqLOKvBSgs VhQvTn4+ipJXGXAiKEcNGrDHt5VYZ9o+7wvg3WnZlZW3aQTwwcmVYycPlSsRPVuCkF7C vXU30FAFGu4ysKh+tO4JD/PiLc9y9JtwQLhuOz5QkOtCBI5cKB4MgWW+79x5zb/xtqXg vIlZX4ts1r2ivnWnWuT5bnaX5uD+DCV5GbMqudoppzW8gxhwa9WkrHDYra/iGxH4/lhE EKPpb0keMB7TLQZxR6X9LQl5g3eSV3bQNOV1ayaN9ZLRBdNA2aiNXdCoxfdG14H5Q+hb O5mg== X-Gm-Message-State: AKS2vOwx/jowb0qUcSjpW/fk+Y5IJHAkoPbHk7VWANAJSk2rNgn8sIL2 NoOGZ0lerCqQjJn6 X-Received: by 10.99.67.68 with SMTP id q65mr8829494pga.260.1498630469998; Tue, 27 Jun 2017 23:14:29 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id r129sm2102839pfr.112.2017.06.27.23.14.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2017 23:14:29 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 27 Jun 2017 23:14:15 -0700 Message-Id: <20170628061418.16693-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 Subject: [oe] [meta-oe][PATCH 1/4] cdrkit: Fix build with hardening flags X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb | 8 ++-- ...001-genisoimage-Fix-fprintf-format-errors.patch | 49 ++++++++++++++++++++++ 2 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-multimedia/cdrkit/files/0001-genisoimage-Fix-fprintf-format-errors.patch -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb index 554b89ffa..f0efc51e1 100644 --- a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb +++ b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb @@ -5,10 +5,10 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b30d3b2750b668133fc17b401e1b98f8" # While writing download from cdrkit.org was broken so get sources from debian -SRC_URI = " \ - ${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \ - file://0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch \ -" +SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \ + file://0001-do-not-create-a-run-test-to-determine-order-of-bitfi.patch \ + file://0001-genisoimage-Fix-fprintf-format-errors.patch \ + " SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9" SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da" diff --git a/meta-oe/recipes-multimedia/cdrkit/files/0001-genisoimage-Fix-fprintf-format-errors.patch b/meta-oe/recipes-multimedia/cdrkit/files/0001-genisoimage-Fix-fprintf-format-errors.patch new file mode 100644 index 000000000..f52f71b63 --- /dev/null +++ b/meta-oe/recipes-multimedia/cdrkit/files/0001-genisoimage-Fix-fprintf-format-errors.patch @@ -0,0 +1,49 @@ +From 8547f23c4416ed98f585c53c62e7d8afd8edab36 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 27 Jun 2017 21:05:31 -0700 +Subject: [PATCH] genisoimage: Fix fprintf format errors + +Signed-off-by: Khem Raj +--- + genisoimage/genisoimage.c | 4 ++-- + genisoimage/tree.c | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/genisoimage/genisoimage.c b/genisoimage/genisoimage.c +index 46f0cb7..9089081 100644 +--- a/genisoimage/genisoimage.c ++++ b/genisoimage/genisoimage.c +@@ -3406,7 +3406,7 @@ if (check_session == 0) + if (goof) { + fprintf(stderr, "ISO9660/Rock Ridge tree sort failed.\n"); + if(merge_warn_msg) +- fprintf(stderr, merge_warn_msg); ++ fprintf(stderr, "%s", merge_warn_msg); + exit(1); + } + #ifdef UDF +@@ -3419,7 +3419,7 @@ if (check_session == 0) + if (goof) { + fprintf(stderr, "Joliet tree sort failed. The -joliet-long switch may help you.\n"); + if(merge_warn_msg) +- fprintf(stderr, merge_warn_msg); ++ fprintf(stderr, "%s", merge_warn_msg); + exit(1); + } + /* +diff --git a/genisoimage/tree.c b/genisoimage/tree.c +index 7805888..8412cc3 100644 +--- a/genisoimage/tree.c ++++ b/genisoimage/tree.c +@@ -647,7 +647,7 @@ got_valid_name: + fprintf(stderr, "Unable to sort directory %s\n", + this_dir->whole_name); + if(merge_warn_msg) +- fprintf(stderr, merge_warn_msg); ++ fprintf(stderr, "%s", merge_warn_msg); + exit(1); + } + /* +-- +2.13.2 + From patchwork Wed Jun 28 06:14:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106496 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp637364qge; Tue, 27 Jun 2017 23:16:18 -0700 (PDT) X-Received: by 10.98.150.135 with SMTP id s7mr2607175pfk.172.1498630578611; Tue, 27 Jun 2017 23:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498630578; cv=none; d=google.com; s=arc-20160816; b=XBHWs3mc7Ft3z0w1oygZ8JwJr5Mmeoagw4vm8QGbmdq3nOPOcylMvrkeIuUD1Kp8w/ BM5bX8rkgVajYPwKlB6Jmmi7K4Rhc/xTmblsv/Iwe35lZHV8JR3Y3p30KW/yzt7+qk/m A16Hr2PrqwR7W2KwPku/9GWjK3YUpADKPZpPJSqyx2lONWJbl50GjGIzlgDGlUZVKaov j7uZJ8hCwYax+O03v2Es5bDsRbg1lRc4UijB6+YKRMNPU1QmzQ9z3Vb2xxHDF+HkfTKA 69WxLT+j85eG7vKl2z35vA244CH1vZaBHniiec8CPw6E2KvwFdk2vPhhL/lWVd+HdCYQ BAAg== 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=czjnryGp4TIhJ4Hp9TSzJSV0FL/W3hd3GU5IwzaNNnw=; b=QGWDg8yJuzsMGElh+CDGSQvtm//39e+MNk+SlRC/avQyFeiy9Ki1xT7TcxG3uvPiwX dT1pv/gE42iAa0XR0QbeL2BtI6jpkO5x1Lal4pBahFedLpjpby8BJ865YyyEOg+pttbY LVivL2qC7H54Z5J0xZ6Ny4zLE+psA3bQ+AXvlE1be/0hVJHmsozl4U5Fw0qPxY28nlmH +6q1jIBwsxcMJHBl9JdBCrgzcRlx+tfM4nE9SBW1lanYDzi86mbJAxB6Xh0b1ZbPsTS+ AGxQ7z84I/nb0h5gRScXTKJaz5RUtTjBZ7AQJhpnso5ccAyrwmMNLGyjj+REg6kFyHJG 3wYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=uj3ej4sS; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 y63si949950pgb.47.2017.06.27.23.16.18; Tue, 27 Jun 2017 23:16:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=uj3ej4sS; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 3FB7178077; Wed, 28 Jun 2017 06:16:15 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by mail.openembedded.org (Postfix) with ESMTP id 6D46B71AFC for ; Wed, 28 Jun 2017 06:14:30 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id s66so28069855pfs.1 for ; Tue, 27 Jun 2017 23:14:32 -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=k843tosGRb/ZFuYHHnqgmm38nNKppGKwReXoFCwznLA=; b=uj3ej4sSVvQm82KfGaDuyU+w1f3OYjAKZvezC+Tpg21DPWyxkKGnFRL7KrrOtGlWJA GJLmtaH2gUVLCxLkFV3DzwQrM3omc24VayFFi1e73eEZXpwrpghys0N/WDU2IrTGXzV1 dV3Ntxqz8Efqd+0RMbULAPS2Dn0MqYJ9ln4ke8T7V6xu0AzUPQg39yOMqPW/4X5bN/ez BVZ3yi8U2WiNzoCfFjQQ6ahaQ3iA4YtOFY8gL9CCRO5rYt+lc0ijJS9r8G3n2YFVzoF6 1cDuU6e1DGi2j1eqtoAC+VEVDiGNaKL93bMYf0NzLRqK907q7dFhAbkSwsYMTuNROuJs pyhw== 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=k843tosGRb/ZFuYHHnqgmm38nNKppGKwReXoFCwznLA=; b=dcvRkpEFnK54pQWaYFO6Du27nrcUMcWiqv6NIpC1O4W7vo/4C30MlLCsOxPEFd8Aux oT0A78YjJz/8UbO1NZl3JS4RSRiY/ISU9gKGR8n3UtceWvn1+Ak1BRFqbkzNmL2mRRbK jeQcjNkfluca/TdcLZiZVtbiGODLZmvpwphgG5iP/Sr9NHW6fIOYUyZJPMt/ZkJaL11o DfpsLaCb8nv0sQcVaLfBCoiQn8NfAWTv+yBo9Ft6H59aXaZ4Ub8zpiRfPrGzXkgvIgIK /FZ10oDLQxoOHPGjF25XejeU1n6+1eWcXHLSc0IPsORDs44TKdY/ewYa/HDgHi5wm+RI HFbA== X-Gm-Message-State: AKS2vOy3qYB566HN3o7BYZOxS7fJZGfc0Uk8SoWJN3QkiUPKjk6IlwJE eGSqu/AwBrRanegb X-Received: by 10.99.128.193 with SMTP id j184mr8658400pgd.245.1498630471478; Tue, 27 Jun 2017 23:14:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id r129sm2102839pfr.112.2017.06.27.23.14.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2017 23:14:30 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 27 Jun 2017 23:14:16 -0700 Message-Id: <20170628061418.16693-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170628061418.16693-1-raj.khem@gmail.com> References: <20170628061418.16693-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/4] orrery: Fix build with hardening flags X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../orrery/0001-orrery-Fix-sprintf-format.patch | 26 ++++++++++++++++++++++ meta-oe/recipes-navigation/orrery/orrery_2.7.bb | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-navigation/orrery/orrery/0001-orrery-Fix-sprintf-format.patch -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-navigation/orrery/orrery/0001-orrery-Fix-sprintf-format.patch b/meta-oe/recipes-navigation/orrery/orrery/0001-orrery-Fix-sprintf-format.patch new file mode 100644 index 000000000..eb6241fdd --- /dev/null +++ b/meta-oe/recipes-navigation/orrery/orrery/0001-orrery-Fix-sprintf-format.patch @@ -0,0 +1,26 @@ +From e600d3c09d2f97a197f86e6987d44d142e7b7cdf Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 27 Jun 2017 21:12:17 -0700 +Subject: [PATCH] orrery: Fix sprintf format + +Signed-off-by: Khem Raj +--- + orrery.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/orrery.c b/orrery.c +index e3a1f6d..1b31a9f 100644 +--- a/orrery.c ++++ b/orrery.c +@@ -3767,7 +3767,7 @@ static void drawOptsScreens(void) + displayWidth/2 - gdk_string_width(smallFont, scratchString)/2, + 12, scratchString); + for (day = 0; day < 7; day++) { +- sprintf(scratchString, dayName[day]); ++ sprintf(scratchString, "%s", dayName[day]); + gdk_draw_string(pixmap, smallFont, blueGC, + CAL_DAY_WIDTH/2 + day*CAL_DAY_WIDTH + CAL_LEFT_OFFSET - + gdk_string_width(smallFont, scratchString)/2, +-- +2.13.2 + diff --git a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb index 40a6df3c9..1a00b0808 100644 --- a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb +++ b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb @@ -10,7 +10,8 @@ inherit autotools-brokensep pkgconfig SRC_URI = "http://projects.openmoko.org/frs/download.php/923/orrery_2.7_clean.tar.gz \ file://orrery.png \ file://use.GdkPixbuf.patch \ -" + file://0001-orrery-Fix-sprintf-format.patch \ + " SRC_URI[md5sum] = "bd62a33e7554ee1030313dfcdefcda8b" SRC_URI[sha256sum] = "645166a5e05b2064ab630534a514697fc47b681951e7fe1d635c259cbdf7a5e6" From patchwork Wed Jun 28 06:14:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106497 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp637431qge; Tue, 27 Jun 2017 23:16:24 -0700 (PDT) X-Received: by 10.101.83.197 with SMTP id z5mr1669673pgr.261.1498630584036; Tue, 27 Jun 2017 23:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498630584; cv=none; d=google.com; s=arc-20160816; b=VXNz5QaDcPUp8QJK8XNdynqsJKULg2wI2ZgRpvmD01JZSKoIPrrFPlWFPBa0Y66H0K vZOS5wmC/poJnf87JGK2KPyro/PlwnWJX2L2+Hb5djF6RLLiUwiISgWTsKtFSBYNC6io LG84vZPPPdPYX7v0trGOzduxteOP/nWNTm7A4jzSCAT91tfbh9NAt54zrdql7bHi/jue cEtyk53+iS6ItQEEqZjnm+DhgtEQI04NIF/nSnCh9wZDE+Luq8LChVHhTD2rQn/7lvH/ EOe73qQCAYVDfydo2B4DfDTWOqTTG0sMTtrNY/kEVLLxNlDk+GjO99PVRaT14udhFGZD Vn1w== 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=5SUvNsvK/DEwrAq7aqTmtJ8getTIRl2T9rQrgOaR9Gs=; b=hj2qu/TRfprCUphq8btNGk4L9UMdduYZ6YANpOtsjdqPkFuZbPoWrEiR4tU1T7Ne2B TvOwLe2DXV4NWas1HY/YqE4GMYLicjjYEdwZAD8yzT3+h/IOG+42831yYjKQYCbBCs7j LfDF7Od33UlgiU/lZJLuybraMw+/EzTL0WqyrmtuypQdHpffPSghra/niKFCNk7WPFXv 2lijZSNtxpvbRwr+gmogMtdc98I7vc9jPWJlVZPEKAluxCma6cKC0CoVd4oN9PopS3fy iZ4ncx3T2KSnGhbm4H7Q8d9hqbsWiMjpRHdvMH79sSwfdgAlHztQNrGHFY6k5AzJIMNk HWrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=ZIvbkInQ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 n65si909692pga.157.2017.06.27.23.16.23; Tue, 27 Jun 2017 23:16:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=ZIvbkInQ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 1EC3B780B4; Wed, 28 Jun 2017 06:16:18 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by mail.openembedded.org (Postfix) with ESMTP id 8C6C57808C for ; Wed, 28 Jun 2017 06:14:32 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id f127so6990860pgc.2 for ; Tue, 27 Jun 2017 23:14:34 -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=xuwpo7PDz8oZDYDROHujUI92Wyeu7zOH7QB/lUcalz8=; b=ZIvbkInQHWvAPeAAvR7ZoSJQHNvHMoLOGpAKxizQJUBHT9GaT+dEGwLLUMSs01rEjK jM3GCg++EwwEk5wR59K3i0S2Z2/+65z1VvrBwJCE0/paL3UErzARsG2FmsbeZFCaNUwi joQZ+Gqs/ONiyhYvGtZwjcJmjO5ju5e9BJWXhuZU1zGye2W4/TI7NndqKGxoBtPlP+po hbdpb4c56gL4lIql+Z6DCCj2MGrBOLHnBDwHXZ1A7OM3zGCh3BuubEpOtMB6Di/SPwMq bo7PF/qxa+oGsme+rMdFWmg0UFp1mHh8lbZGpZApaCZZTp5x8HFRTtSg2K6wgv0xVG7G Mogg== 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=xuwpo7PDz8oZDYDROHujUI92Wyeu7zOH7QB/lUcalz8=; b=QDl1xSKeNRCvDVS3mjUXEVhYYbHYSeJb6oVWUPBvpAqusLBUsZKyF22hbg9cJZ1HzE cAuM0MgSULjyOZbzHLw6A4Iti2t18mQ1x3xwjwyksFxsPjdaWgMB/i/3RYZJBYfzrnVm rsPrMXfrubkTNEQoAnp84pu/8YFtXxQ+A6Q8O3aiql0Ulx6at11n+h5SLCe/F8ezMkYa jJ/wdZhU3qRDe2zDARXn9Zr5H0DjrcYE2VrPp3jJaU6sprq7Hx4cNgQMBEXSU88gcQDz 1kCrgH5v6ER8nEfrOJ2USR9ZM1XOBBSitbDW4+gRFwoWa7evTNv0SwbFuyp0AiBPYUGG yFPQ== X-Gm-Message-State: AKS2vOyy8GB7b2OP8fN0WfAcGEyioDPZt5VaLonm6q8pdniPv1pBLJz+ hwYILepZnmoOnrud X-Received: by 10.99.122.81 with SMTP id j17mr8872840pgn.97.1498630473424; Tue, 27 Jun 2017 23:14:33 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id r129sm2102839pfr.112.2017.06.27.23.14.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2017 23:14:32 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 27 Jun 2017 23:14:17 -0700 Message-Id: <20170628061418.16693-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170628061418.16693-1-raj.khem@gmail.com> References: <20170628061418.16693-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 3/4] crash: Pass optimization flags to configure via CC X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This is because when using fortify warnings we need to have some level of optimization, while we append warnings to CC we dont do the same for optimization, which results in compile failures when doing build with hardened flags Signed-off-by: Khem Raj --- meta-oe/recipes-kernel/crash/crash_7.1.9.bb | 1 + 1 file changed, 1 insertion(+) -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-kernel/crash/crash_7.1.9.bb b/meta-oe/recipes-kernel/crash/crash_7.1.9.bb index 93208e398..d40937e93 100644 --- a/meta-oe/recipes-kernel/crash/crash_7.1.9.bb +++ b/meta-oe/recipes-kernel/crash/crash_7.1.9.bb @@ -35,6 +35,7 @@ SRC_URI[gdb.sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5 inherit gettext BBCLASSEXTEND = "native cross" +TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}" # crash 7.1.3 and before don't support mips64 COMPATIBLE_HOST = "^(?!mips64).*"