From patchwork Mon Sep 10 05:06:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 146277 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2079064ljw; Sun, 9 Sep 2018 22:08:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdboN9wr1/MDByXVIHkgb59OdIYA8+SaEYnXnaC9vh0uu1VIfNz/K3B6V6BgjxSpO7/nap+y X-Received: by 2002:a17:902:8bc4:: with SMTP id r4-v6mr19355197plo.124.1536556116846; Sun, 09 Sep 2018 22:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536556116; cv=none; d=google.com; s=arc-20160816; b=VlV4vl8SPaUMiX1l+D8U6mgarVmd6EUuzH8vSc+UloW+jrQ4eIbDbgrUUM7c3gv5j+ Mkz/MPQRYGz0o3mnHbbphKr9CmMavnJ2I6VdEv2LLu4b6rB9bEXUMbzQaWFdo51RR0CS u8e1ja2hyTAalXBKutBq6YGe0Gw7d2EKFQH+QWX6skU9Q67jk2RvtsH8yaWYnH0ffP0A dSC9xnqxNjFnrs7z/ZAuqlLgRQDXHh/mtTTStBI9AnU+7UNL35DDO5LC6ldFmR3xuAH5 baAgtzAoPO7f+KpNnqOduGoCq2NVMOFnQG8YxjVfi5C2S4FiCI0S7iVe5FBSDyPisbbi tRmQ== 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; bh=ryfOR3AnVvHXa7KHSd2K9YIgGppiqxXEgK8iVoFqCoo=; b=vZ+RdEDvsyi+RTBOQPG8OT+6Rc0Dzx39bJ089NMPFdCWoxlQa6UPFXPZVwB5lQHoyF uV7PuHnNGf90bIaSvqyfs7AVxOhHQvrcC5CKIAzFPYzYPiMtPzhJM+UGyyAjAYWGSgqI 8NrJYaQ6weCrwjWuG4G5Kz9Qo+QApkGNPN29ANTlJFmbfSU1t+MVsq7H3l/YvL2gsINW 4sVnE3wLyId9IZCQMsp2djZjanTnd4os47DZhfZX9i5doTiex/mXsiOlKXaQppc9SG1s 8Ol+zDd3+RO+x0B3S/Wbtz5SlJnB8JL0oIrc1EzErSVRVRS4E/qTNAuk3nx0SZYAJK27 HXhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gYDPPHjf; 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=QUARANTINE 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 u1-v6si13576375plb.291.2018.09.09.22.08.36; Sun, 09 Sep 2018 22:08:36 -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=gYDPPHjf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3CE9679702; Mon, 10 Sep 2018 05:07:48 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by mail.openembedded.org (Postfix) with ESMTP id C04427931A for ; Mon, 10 Sep 2018 05:06:45 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id h69-v6so9840268pfd.4 for ; Sun, 09 Sep 2018 22:06:47 -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=p+sxttF17PTfCx3W8jnpjbZdkZl4bY+xY++WGJCXDmQ=; b=gYDPPHjf2l75V1/UAUEzk74JDPhHSr+TQOL6dr6+CNBmk+jYBwmlK8fFnk0kXBZrT4 zFgF/ekYorDhCYW1coIJ+ZZSB3XLDxnRsLFFegt4kTROMNZ+c5v9Pn8HaidLjbrEZEoO PxkgQ4hzsyE3NudsqpiKtq9ZpWt11bV3kCG1ygbBAViQqxlvjs8mktaMZmxwNpOM7wWN RevvcyJAzpWIPMP/YP5bTYPuc+tGZ2Qx5QXuQQoakXUAlIBNsLto7FPd8YiZ3M48CRnE vMZlcQ28WAZhK4PIDXDoUmf1OdBi5ZL53o0MDNdaokeAH/FJ8HdrMhtgX+XB4BiiXVPG ZgCg== 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=p+sxttF17PTfCx3W8jnpjbZdkZl4bY+xY++WGJCXDmQ=; b=QPsf+Ovb14lQNQIcvRBRfWJGL7ftpOrBY+omtkj/ovhGLgs5+l2t4b8W//AArG7B1I HzlhWSm3efbALZRBhzaOIBKZOc0o64EedZUpPwkfCcfByr3NR5taoHdOlw3sk5xvELNb GQbwCFvuOTHJJRUyJbVMzXvim/mn4Ae4ov4mKz7Hmb6tzpPrxB/TFH4Ht7uqDbyULU/w tAwyxXZ+OdG2HwSGC8KXkAnGsOJi5VYh2fLV488o5tZm8VRW9TSZuT69R8G41sPv8/Ne x1PGDCyLdxjKxwbgdyTT4szVPBJuwR7HV5kw3EAeUGFVJT5r6Pjr3D+SD8aO36D19JYx JzuQ== X-Gm-Message-State: APzg51CGgzGiTCfmv/gA/pp2DNu0ypK/i8Me9ny7ShMMtWpygOrH6NOe c7LF4QhEie/yjlkoYydhEFyNypIU X-Received: by 2002:a63:170b:: with SMTP id x11-v6mr19978061pgl.364.1536556006459; Sun, 09 Sep 2018 22:06:46 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::2887]) by smtp.gmail.com with ESMTPSA id x24-v6sm18819188pfh.67.2018.09.09.22.06.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Sep 2018 22:06:45 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 9 Sep 2018 22:06:28 -0700 Message-Id: <20180910050629.16170-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180910050629.16170-1-raj.khem@gmail.com> References: <20180910050629.16170-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 09/10] libkcapi: Disable Wsign-compare warning with clang/musl 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 7.0 is grumpy and complains about cmsg structures and macros from sys/socket.h kcapi-kernel-if.c:25:11: error: comparison of integers of different signs: 'unsigned long' and 'long' [-Werror,-Wsign-compare] header = CMSG_NXTHDR(&msg, header); Signed-off-by: Khem Raj --- meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb b/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb index addd169a8d..a93ddc8237 100644 --- a/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb +++ b/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb @@ -24,3 +24,5 @@ do_install_append() { # when no binaries are installed (empty bin_PROGRAMS in Makefile.am), rmdir --ignore-fail-on-non-empty ${D}${bindir} } + +CPPFLAGS_append_libc-musl_toolchain-clang = " -Wno-error=sign-compare"