From patchwork Mon Aug 28 05:38:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 111098 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4375829qge; Sun, 27 Aug 2017 22:38:18 -0700 (PDT) X-Received: by 10.99.127.78 with SMTP id p14mr6379689pgn.374.1503898698128; Sun, 27 Aug 2017 22:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503898698; cv=none; d=google.com; s=arc-20160816; b=Bj70xccxrMnRIOhB2q4DnLHGQKDp4BPxLYGl/H6NCBNIRkBt9aPp4WNkyYJgyCPpCj PI2Ndd35GQTypM1l+PrIIbY06a0WcWT05Q5bOx/NxPSCyuJcliJwTR8kSM+YoJA3SpgZ Wie8kmTjnQtknzSOWYxCQe6qDDhMzrzxAU2VeKlsYEzyKu6/qVkMMem2auV1Y5RIftjc nq5r+24sWrp9tLTyeRmcgYvDPCyiuAtcDj7ZSW+zayOA+zxxqjzjsbZvjDuotxbcBFQs XiScMG4sghzlZKjJ27NN5fABgOPOGdDoxP99T0DskP3nF1/mXHH8Qf8xeQQu1StU1AqW w36A== 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=u1DnwXx6vDVJzczELXRk7bXEAeaayXoj3LRrWAFNnMA=; b=D+V+oTzDgeUc/kmx9SUeUQF9Gie3wZqBDyqwroFaIh1acOdZZiPVXolZXwKM43YYh2 XQmbTXf+XtVB/Cr0bfRyORd6AuHkt3RBgIrrKTx8fO+6IqlD13T2zBqUCyk8oNAvqXlD RXt0jlIXNLrnjh3hsc4cZvgGCJAoMN0RJcrPbTbJ2D6ASKwJ8eI1beRGAAg2qNhXYuNT kxdwuQXR+TtU03rzve+U5RXZCy5qAJX2wBwaWULN+OjDQwllSyKqHGBc4vB9WEuEV9Pg UO2QncAJ74EqLpp74C+1+47U2LrgGIDUn9qwqTM8tH9LRFIV15bMrIn2xisWecG4y4xG MIxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=YUjWfEFY; 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 g10si9515758pln.761.2017.08.27.22.38.17; Sun, 27 Aug 2017 22:38: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.s=20161025 header.b=YUjWfEFY; 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 BB9E678093; Mon, 28 Aug 2017 05:38:13 +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 ED34360290 for ; Mon, 28 Aug 2017 05:38:11 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id r133so5574799pgr.2 for ; Sun, 27 Aug 2017 22:38:13 -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=wmC31c525cZuPhsxx+nUjCho6hUKVvjVynSjZ8Yv9Sw=; b=YUjWfEFY+LLGTMAEYlxxyz5MiUlSdwz9zWiX4NxDS9Dqjz+ziz1xHehzDS2y0KMHKP vLuidOGDC5uA1OyqAZAZBmVrwuMD1IW7xlKHgnOZYXQTgV/4c8oHqfbOZ2JTEtckO4/O dNbYqmRmjPuWmDJkCTddeQfMf1hnVyagmgOQAWRacG4rui85xb4/TDVZO5M0xupyOQvC xWmehbkbA7+ExoKNxFlCnFynXdstEtIQF4NY1irO0DQ5TpZPODhy77QFlX4sTCSVOx3W 7pviCbytBUXCc+mDRO5teLb1Mtyh+8qBmti3eCHaaN3w6DOfcgXYQMhDT4f4gL4ez2Kv Kdcw== 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=wmC31c525cZuPhsxx+nUjCho6hUKVvjVynSjZ8Yv9Sw=; b=aPMYGTkBb2ktkf5wLPwIKlL2K5WPfSP0yx41h2zCREPyg+h4nuSCQWFPImLeQtuQPR l1iV4xGXQ1jvZFAjmcvu9iAzrif/AjYUY8l2+QsHdm7THLBNmgulSRxGQqLA2c6xVLPk XPMqml/dApNHBgH5wqx35qRQCMb2kbETxlsivpQRq2pnh5b2vYSNsbh5C0AtV2yzLNgB fULbrKxUi8I56LxKzle38OITkXuZA98gYGNBqOlS5sjOoqYG3TaMOIhz8DBrILjmk/E+ YCn9z4MtP4WCQ+QsMxkOs128VnUQHFAJPPVYUGvB3scqkQYT3CLdlzDNJgw4OAal5RHF XX6g== X-Gm-Message-State: AHYfb5iaJJztJuIqPqX6tp6r0UrUA+HqWif0bIFOngeh5/OTQVUQ2r3a NKU//AOtdrmNfjKL X-Received: by 10.99.109.139 with SMTP id i133mr2241597pgc.440.1503898693073; Sun, 27 Aug 2017 22:38:13 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::79ab]) by smtp.gmail.com with ESMTPSA id c80sm22113515pfj.26.2017.08.27.22.38.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Aug 2017 22:38:11 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 27 Aug 2017 22:38:03 -0700 Message-Id: <20170828053804.37296-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [oe] [meta-networking][PATCH 1/2] openhpi: Fix ptest compile failures due to narrowing warnings with clang 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 --- .../openhpi/files/fix-narrowing-warning.patch | 20 ++++++++++++++++++++ .../recipes-daemons/openhpi/openhpi_3.6.1.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta-networking/recipes-daemons/openhpi/files/fix-narrowing-warning.patch -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/openhpi/files/fix-narrowing-warning.patch b/meta-networking/recipes-daemons/openhpi/files/fix-narrowing-warning.patch new file mode 100644 index 000000000..4c545708f --- /dev/null +++ b/meta-networking/recipes-daemons/openhpi/files/fix-narrowing-warning.patch @@ -0,0 +1,20 @@ +Fix + +sensor_factors_000.cpp:66:5: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned char' in initializer list [-Wc++11-narrowing] +((dRExp << 4) & 0xf0) | (dBExp & 0x0f ), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Signed-off-by: Khem Raj + +Index: openhpi-3.6.1/plugins/ipmidirect/t/sensor_factors_000.cpp +=================================================================== +--- openhpi-3.6.1.orig/plugins/ipmidirect/t/sensor_factors_000.cpp ++++ openhpi-3.6.1/plugins/ipmidirect/t/sensor_factors_000.cpp +@@ -63,7 +63,7 @@ static cIpmiSdr sdr = + dB & 0xff, + ((dB >> 2) & 0xc0) | (dAccuracy & 0x3f), + ((dAccuracy >> 2) & 0xf0) | ((dAccuracyExp << 2) & 0x0c), +- ((dRExp << 4) & 0xf0) | (dBExp & 0x0f ), ++ (unsigned char)(((dRExp << 4) & 0xf0) | (dBExp & 0x0f )), + 0, + 0, + } diff --git a/meta-networking/recipes-daemons/openhpi/openhpi_3.6.1.bb b/meta-networking/recipes-daemons/openhpi/openhpi_3.6.1.bb index 64b2cc38c..6375c2ee0 100644 --- a/meta-networking/recipes-daemons/openhpi/openhpi_3.6.1.bb +++ b/meta-networking/recipes-daemons/openhpi/openhpi_3.6.1.bb @@ -38,6 +38,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ file://0001-Fix-build-failures-with-gcc7.patch \ file://c++11.patch \ file://clang-c++11.patch \ + file://fix-narrowing-warning.patch \ \ file://openhpi.init \ file://openhpid.service \ From patchwork Mon Aug 28 05:38:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 111099 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4375982qge; Sun, 27 Aug 2017 22:38:29 -0700 (PDT) X-Received: by 10.101.91.203 with SMTP id o11mr6314620pgr.321.1503898709782; Sun, 27 Aug 2017 22:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503898709; cv=none; d=google.com; s=arc-20160816; b=FS2/OcA2jVuj0XQUUZb9o4ADFeaiFvV9/5pUzwtjbMX5kT4DYSkfapgjZam1und+/2 AoL227VatZGMfW79tok0GfhdnhsAUAnt8RUjdAdHqZk5fG7ZYQ6upeeKm8Wj66R2rjmT 35CuF5DDNNiOUmyJ59VmGCYB/vlf7DyAWEFTFSArVhnxd3ALBcY0CYdKztwGhgS2Ou2+ 1Dqlb/FH5WabyPvLEP0cGaZ3i3/TTooNeaiDPpVRD0uR7ud7AesXuTbe+3ebMu40Brnx GEySEcVmBPuBcfQdHcW72aY6vmXtQ1v2Val/BJKCV2J4LyrZkyXLfd83Q/Qs1Yy54oaE mBbA== 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=QWLHLWbl4YZTY+Fa/EIkQq+3+7LGJa1spSVgPX4ZKjw=; b=WSDLlhy23wa51+SoPzwCnW0aSv50oIActciIhdKDkBdl+ov0LKAY+CUg6bNfwd4g6l ALk5zp34BbU8Silws4gP9WDBAjvEjnJ1jrNpyulET10CAJy4a8rLhOzmgLYumzJrJ+XK UNuFf0mYx9p0MjgkG7mlm6TwiJMwe1bVxlj+Tr2At8CyOtZMUPoJqPTvmoZ8F/icLcg2 jj81TY1yUqna2TyUad5Mc0w1qyKHITV3RAPOnz4pbGNZ3qqow3KJT7bh/nDH5LmuMadC y83uQ/Rsnz9G9Gq9lmnvq0e88R7YIMyNWRnGwkalm53GB4fCbakoWOyYMmUfr9m3Av3t dkSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=HENxcSY7; 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 35si9572415plf.15.2017.08.27.22.38.29; Sun, 27 Aug 2017 22:38:29 -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.s=20161025 header.b=HENxcSY7; 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 E99C27820C; Mon, 28 Aug 2017 05:38:25 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 36FFC7813F for ; Mon, 28 Aug 2017 05:38:12 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id g13so3479153pfm.2 for ; Sun, 27 Aug 2017 22:38:14 -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=8VSYkA2uHIY4uBGDctH+hGK8E1lb5BL5bp4dxaHcOsw=; b=HENxcSY7zwa/hPYIGCKwUnGqG6Ng66kIYiAvocSVe2FD4TWjI/aARy4bVXvyR7mEOj VyRPIyHFghlzGw+mtSoNERaLszeBLQd5ig6aEVyGAn6mwoGC9pwMuUbSnbKyWwBaKMmc CLMWpZ4OOBbShpRJ7HFegIlHSpoTqj1NlUecnbSz2GUKF9M3Yxune/7vcgXiiYm/98+5 2OHdT1gi6l/wHmwdw2bjv/wPe4TucOj7NJtwtNYJYhs/KWYwhP/hxVxeIk7QwSXjjF9a hDOUcKPv/+MlN4Rw1Juf9TzWoC1+AsoznncctQMzbY65DReM8mhXUqLrv4wCrrZ9k/si h+sA== 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=8VSYkA2uHIY4uBGDctH+hGK8E1lb5BL5bp4dxaHcOsw=; b=KkEoZSwzRAIgoT++jRKekNwAt+z6cmwTTq5gbN4owfHCG5vmZ/g1mOP2S63pe36CPM vE9k1M76w0grN9GfhfxwWo9w7sLZg0TjbsARcA5W0oDP2b7uxkmMXS/LFU8jdg775BRT Npqk6eDqGchW2B6AHJFha2ALsIfalIfwEROwEXJSR+NqL+T3Xqn0JqsN2EO2IIp0eynb 3OQbAO8inbRhBdBoGwp2qBMSnAdsl9b1Veqocwr9D/BeHsMzcguhKdkM/ByFaax4i9sZ 5Db78yxMS0sfgE19p+HEDIf8JsjORHo8pd7UUS4OXg4Rl7bfViHuPikCCrXqSKm8266l hBtw== X-Gm-Message-State: AHYfb5jWbEc5UCbZ2f462Ip/ogSiOmQRSRsgrlv/hqu/MxRthYDhrSgJ Ohh8sCdrq6aMTc0w X-Received: by 10.99.149.73 with SMTP id t9mr6133847pgn.227.1503898694120; Sun, 27 Aug 2017 22:38:14 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::79ab]) by smtp.gmail.com with ESMTPSA id c80sm22113515pfj.26.2017.08.27.22.38.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Aug 2017 22:38:13 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 27 Aug 2017 22:38:04 -0700 Message-Id: <20170828053804.37296-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170828053804.37296-1-raj.khem@gmail.com> References: <20170828053804.37296-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH V2 2/2] squid: Disable format-truncation warning only with gcc 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 Clang does not support this option Signed-off-by: Khem Raj --- meta-networking/recipes-daemons/squid/squid_3.5.26.bb | 3 +++ 1 file changed, 3 insertions(+) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/squid/squid_3.5.26.bb b/meta-networking/recipes-daemons/squid/squid_3.5.26.bb index 9f0ae5da1..3ee96abb7 100644 --- a/meta-networking/recipes-daemons/squid/squid_3.5.26.bb +++ b/meta-networking/recipes-daemons/squid/squid_3.5.26.bb @@ -26,6 +26,9 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P file://gcc7-fixes.patch \ file://0001-tools.cc-fixed-unused-result-warning.patch \ " + +SRC_URI_remove_toolchain-clang = "file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch" + SRC_URI[md5sum] = "dc1830cd361e077814aa39bcc3691d8b" SRC_URI[sha256sum] = "41d8845863dcd026c856508cd1599d417c8947ffd96e86e24085f9893cb8b8c2"