From patchwork Mon Sep 11 15:10:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112196 Delivered-To: patch@linaro.org Received: by 10.100.153.131 with SMTP id 3csp5931234pji; Mon, 11 Sep 2017 08:11:10 -0700 (PDT) X-Received: by 10.107.78.25 with SMTP id c25mr2827570iob.25.1505142670056; Mon, 11 Sep 2017 08:11:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505142670; cv=none; d=google.com; s=arc-20160816; b=RWs/EXSXQeUXOB/SA+nC45Lr0jHsl8hw0fJTRRioiYQZfoJ8KYh7olBBroc1z5gg+7 uAcW5bpXefdtqPU2GmwBthS7GydFA3HWvC3PRrT298kxfrS6cBjkAiy6yXDXvqy8L/nx GwXeMQA3PHI/NFuuoy0UMDQ0CI6s6ledkNdP9Y8EjbaMG7XN6xFDQgUv6GdCUpiUOtho rdW2WFRDWUuYblqaVha8LPeuXgKObeVkMTPU9A2VUEw/oRk3Iu7+2/Ape8e8oEvEBng8 06Hi+5C4jWFm2O1dSPoA2gbo5mrfQ6MGG6wpiVB3rvk+0bWXvpYOPSuQBPofvkw0LVkR wggw== 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=7uJcMgVT8o0qxFoSCDRW/GLdOpgD26hytwLCszUNRxY=; b=lREZXw8hWA6FKZwLE3kliNQgKrCNIb4wd8bnOFLplhSgzwbWbIoHiuhWRTfO2cfx3o i4PZliDBNCRIZyyI+37wI09kLZmWl1yywtLC5pG5ebVupx8RnOdXtJVFk5IPMGlZ4XXq cvKVIcpSc++fJRIhH1rQWqFD90v+XNBhhdtZ8c1ApithyksP6QubgOCriUFhukdVrlLs 0H+dSB141T4SG3yFqpJW4rVfD49J3qxbKxJZOJ4TfQfE+VshLvjNFckcEzr2K/d3/Kcp tEqokmNu1EO49vwam9RQpeVoucx9Lf1hsch6vRtnJ6cGswaLnPl/IAZuku168F65Rgrn p7Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=YzljYtyx; 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 i82si8601432iod.365.2017.09.11.08.11.09; Mon, 11 Sep 2017 08:11:10 -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=YzljYtyx; 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 7BF3F78275; Mon, 11 Sep 2017 15:11:05 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 593E871BE5 for ; Mon, 11 Sep 2017 15:11:03 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id q76so5009725pfq.5 for ; Mon, 11 Sep 2017 08:11:05 -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=j9vF0n2Qp6HT51pPCNob1PsKj9u8fsDSMwFc5Zedp1o=; b=YzljYtyx2Ncaibb0jH2q4hJz0j6BL170xK+WH/zMewNC30NNVc4rooSaiJuNEVPZtA ANXFcvFToJTs2+hZekARnSkaK/cfZZoWyOl4T7zUUS8OxfWXo4D5ACURCnTcFUtKQ24M ohGkVJpX1N8BLQKLTXudoy8PQp52Y8eC8mfd5YZvl4fUW2fU1R/Db3IkaV1lqlD8onQr X8x9QAIfPAUDgL67daFhX2sWotesDIA8dorCdvm+78IL/z03ORj0RoKptd+ZJh2WxBJ4 kjQdguQLxS4OKP1EgOWSW3E1aidQ9DXfZTnHMvZv9K+8xAw1T/Ep4XsLKV6a5WMvfcFi WPaQ== 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=j9vF0n2Qp6HT51pPCNob1PsKj9u8fsDSMwFc5Zedp1o=; b=UY+OQ4TE+MbFvkcfSFQ+RNRd0VQEK9VbsAqkLvSanFEsbC/W5gXtpa+UWO6Cua8pYj x+Ou4pxGN+htmJVXv31Z/XC5G9IQFZGqLaYDsirkqCBkjSZ2lPK9VrBKJpmTITPb5YdN zEyiewrexy5OYlT+K7In5HyhQPgySmLPt98o1ZgANVKHv7ZiQHdFpxbaaA47CitNS/dW 87wCkM6+qkK8sghhQuqcGpm3QwNLBTJiUs7bCfa/GRdZRJq0mjpOgNwIFp+TkkHLE/SP jvmnxhYU+LkiEDz98JaEVDgHjH28HwaYaccCaDza+slPJplz8vlFELsfl9JvAwSzJpnY oVZw== X-Gm-Message-State: AHPjjUjOg0IDl71CasDQCkMUMe3E5syWzeWxo1uPeo4ZhlVam4opVY9a /QFyfWqJGK7jqTSd X-Google-Smtp-Source: ADKCNb7qVkcm2EgvMoU/sc8kdCazvRyPuLJLvAOTnvJFuAgwAWdzVpN3dd+WIJXlS5mqOsU854LGNQ== X-Received: by 10.98.103.89 with SMTP id b86mr11916082pfc.319.1505142665320; Mon, 11 Sep 2017 08:11:05 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::989f]) by smtp.gmail.com with ESMTPSA id 75sm4374067pfx.145.2017.09.11.08.11.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 08:11:04 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 11 Sep 2017 08:10:52 -0700 Message-Id: <20170911151056.4577-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [oe] [meta-initramfs][PATCH 1/5] klibc: Edit out gcc hardcoding in do_compile 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 needed when building klcc-cross and klcc-cross does not have do_configure, therefore stick this just before do_compile Signed-off-by: Khem Raj --- meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index ed15b2e1e..dec3d3704 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc @@ -50,7 +50,7 @@ do_configure () { ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux } -do_configure_prepend_toolchain-clang() { +do_compile_prepend_toolchain-clang() { sed -i -e 's#$(KLIBCROSS)gcc#$(KLIBCROSS)clang#g' ${S}/Makefile } From patchwork Mon Sep 11 15:10:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112197 Delivered-To: patch@linaro.org Received: by 10.100.153.131 with SMTP id 3csp5931479pji; Mon, 11 Sep 2017 08:11:22 -0700 (PDT) X-Received: by 10.107.20.14 with SMTP id 14mr2772557iou.69.1505142681961; Mon, 11 Sep 2017 08:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505142681; cv=none; d=google.com; s=arc-20160816; b=HSqelaMT7oEluIiTbklIG12PiIkVxBvUEVJJ1zMbEdjC0ZBQH2zNmAfl61PjqzLE22 SvaP+No9rSGJskXhitZfjmU1NMHH+NuLqUnkl1Xsx7ZbimXefaWoz08kaB57ZqUHD3lZ gLg/VpZDaeE7UpBytDmVPM+c0s/p7xjinYXylX7AFV3Msk8bGH1EvfgUxwGlBrFkJUA4 hQLnZ+0Xk3Gu+oPmCJfYIqKxvP6Emm8PGtOxYxFy3Bryds2x2yZYXK2Jlr53eXfYiOl4 J3+1EFH/hxqAD3QWDhZsdGzu/lXAMYVuPr6p7CD31/YmA07ZV/Y61FF6NQ4MrQuJnADs qiMQ== 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=+4JPOmVbG7oHarp0ITghvgC5Q+SvkhWQbfVc38/UiFM=; b=EZVg6P+nduzhUfB+I9zZhuBBtDPyAebWnmMfMAg3wMEwKsFUa7m5K9sk3Fv5EAPm8i Uj6wmLtfa2zXatOGi0HSHCQGViLi+gSDhE9iYuetfM7xBw63EZb+G4spwRUOKzIBVzk6 Nznyx89Oguw0ySz+5oYIc58geDaeGFIF+HrToofrHO3kCMnADrAvFRuA12YiuGSCHtLS ViFdW6oD743lH1KquBFOaWM0jf09khb4n/RT6kOX0wZafHAr8d9OsbE6NkBVoNhYaCIb y3FFm0Kez7nCRca5sgjp3yIoAmXzy/QSfDx6aTHUxrs14lNQW7+IqREqtSyhlBn85s95 732w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=H1f+iEg7; 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 191si6046105itb.9.2017.09.11.08.11.21; Mon, 11 Sep 2017 08:11:21 -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=H1f+iEg7; 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 335AC7828A; Mon, 11 Sep 2017 15:11:18 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 4E72271BE5 for ; Mon, 11 Sep 2017 15:11:05 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id t3so4756481pgt.5 for ; Mon, 11 Sep 2017 08:11:07 -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=7DS0D4q5Ww+eVOHcKM/SegVUual6GbPhuB4jSVdDbbM=; b=H1f+iEg7PE3DOq74iPPFUQomxsEzKUIL0H1tPhObrkRiulJVlc+ApwCuMFFKH9YlV3 GHdtGV/TigBNtfAblyC3nAKXO8falyRvAiSqHTiuGtNoTI4xSD0fqIwzoyUXWRuxO/q4 3LblQmLhP1fWneVrjhX0HcxkD2CYeh2XdNIwGQiP4dYRNai9JUNpEPCcD9yyjXW8bTFM asC53uwA98L/owLKcUpr7pve4v8z2SlbgbeBTl2/gzQU43r1It3rSx7YrOUyrsinvy1u gbVIrCwr7vH7ZjW7B2EkDmfU3nLElJejJWtQrGMvZOl8Y/iU9LIaTkgH5ClCZmezpDl1 9Bpw== 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=7DS0D4q5Ww+eVOHcKM/SegVUual6GbPhuB4jSVdDbbM=; b=n83jJPMXJLiZtaW8P6DxpvDwhP22eydynyRnB8r6SOvaV/oEUKbc9bdueGVeHPwRP7 6isuTo8dXroQYrgHj0XE6kur2pMo/ySYWgHOhBeQUn2GT2ELcPyvLc0i77M0jtlt5GW/ M6Zp1mJVHlg+pk7TZQec48gjQxTMBvxKgC4oL1lmgnyA7xhYJw2ETSdPSLJEfChCft4g SSUpbpVeqaELqVDAbXCP4DB/bRIjbRmnaR933Hapk2rfEw/AEeXlED4ivd2AP9U1NFUE LNWG1cfdGTDb6SvhngrOOgEEj04JJgikAYD+4jyG7CazupwhONMZ7iJ33aX4LaoP9Pc+ Yx8w== X-Gm-Message-State: AHPjjUjrcUxEy7sCQGPWswg8dweX5fTZwFUp5UtdNTULLNOAUA1o2R9b SarpLgFIGPhNCfbC X-Google-Smtp-Source: ADKCNb6s/cwdN5Q7rpvzgiOHePnLd//mgrDEOE6G0/cYK6ivMDGGOTE3F14MYFmqT2aNvXuwJWVtBQ== X-Received: by 10.84.229.75 with SMTP id d11mr13832959pln.411.1505142666206; Mon, 11 Sep 2017 08:11:06 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::989f]) by smtp.gmail.com with ESMTPSA id 75sm4374067pfx.145.2017.09.11.08.11.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 08:11:05 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 11 Sep 2017 08:10:53 -0700 Message-Id: <20170911151056.4577-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170911151056.4577-1-raj.khem@gmail.com> References: <20170911151056.4577-1-raj.khem@gmail.com> Subject: [oe] [meta-filesystems][PATCH 2/5] xfsdump: Upgrade to 3.1.7 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 Fix build on musl Point to new SRC_URI Signed-off-by: Khem Raj --- ...-c99-defined-int64_t-instead-of-__int64_t.patch | 28 ++++++++++++++++++++++ .../xfsdump/{xfsdump_3.1.6.bb => xfsdump_3.1.7.bb} | 7 +++--- 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 meta-filesystems/recipes-utils/xfsdump/files/0001-xfsdump-Use-c99-defined-int64_t-instead-of-__int64_t.patch rename meta-filesystems/recipes-utils/xfsdump/{xfsdump_3.1.6.bb => xfsdump_3.1.7.bb} (81%) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-filesystems/recipes-utils/xfsdump/files/0001-xfsdump-Use-c99-defined-int64_t-instead-of-__int64_t.patch b/meta-filesystems/recipes-utils/xfsdump/files/0001-xfsdump-Use-c99-defined-int64_t-instead-of-__int64_t.patch new file mode 100644 index 000000000..1fe1bde8b --- /dev/null +++ b/meta-filesystems/recipes-utils/xfsdump/files/0001-xfsdump-Use-c99-defined-int64_t-instead-of-__int64_t.patch @@ -0,0 +1,28 @@ +From f1e822d546e08cc195eaeb38ca172bd0c3800aa9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 9 Sep 2017 07:48:48 -0700 +Subject: [PATCH] xfsdump: Use c99 defined int64_t instead of __int64_t + +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted + + common/hsmapi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/common/hsmapi.c b/common/hsmapi.c +index 6054773..0709dbe 100644 +--- a/common/hsmapi.c ++++ b/common/hsmapi.c +@@ -585,7 +585,7 @@ HsmModifyExtentMap( + struct getbmapx *bmap) + { + dmf_f_ctxt_t *dmf_f_ctxtp = (dmf_f_ctxt_t *)contextp; +- __int64_t length; ++ int64_t length; + + if (bmap[0].bmv_entries <= 0) { + return 1; /* caller must already be at EOF */ +-- +2.14.1 + diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb similarity index 81% rename from meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb rename to meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb index d1033cff1..0ac991b23 100644 --- a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb +++ b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb @@ -10,16 +10,17 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://doc/COPYING;md5=15c832894d10ddd00dfcf57bee490ecc" DEPENDS = "xfsprogs attr" -SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${BPN}-${PV}.tar.gz \ +SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/${BP}.tar.xz \ file://remove-install-as-user.patch \ file://0001-Include-fcntl.h-for-O_EXCL.patch \ file://0002-Replace-__uint32_t-with-uint32_t.patch \ file://0003-replace-use-of-SIGCLD-with-SIGCHLD.patch \ file://0004-include-limit.h-for-PATH_MAX.patch \ file://0005-include-sys-types.h-for-u_int32_t-in-attr-attributes.patch \ + file://0001-xfsdump-Use-c99-defined-int64_t-instead-of-__int64_t.patch \ " -SRC_URI[md5sum] = "50353cd4f4b435685955363e6044f4d1" -SRC_URI[sha256sum] = "7f78c11ca527477d90e5e62b0778f3ad96f2b71c19173044e9aca9515fff42d0" +SRC_URI[md5sum] = "c6e91f2ac8b76c796db2d236f5ca5947" +SRC_URI[sha256sum] = "99e6d4df257ebc6d29ca9e970ca20672c2ea03481ad949bc68f98de3e4d56dce" inherit autotools-brokensep From patchwork Mon Sep 11 15:10:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112198 Delivered-To: patch@linaro.org Received: by 10.100.153.131 with SMTP id 3csp5931660pji; Mon, 11 Sep 2017 08:11:29 -0700 (PDT) X-Received: by 10.36.104.85 with SMTP id v82mr12224285itb.87.1505142689753; Mon, 11 Sep 2017 08:11:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505142689; cv=none; d=google.com; s=arc-20160816; b=MWXmxskVW0P43NJPOARhnFBHnoLLg+S2pmv5cUA5Mx1DoOfXk5GQOrEYPSYAfPYjDT IN4GZa2Wp0N4FBtX81iFG/z2kAOlSMTajHEUsmbHIRnsBOLXxI35c0F4lM7mGVUyMGNO ANAKXTjZJf+vjcUEjO/sWgCDpkJU2YJZ55lIBIsMsOVN4hRMkZ2eZAoC4U5zBR0Eg+DY 4ruShoaJsmGxr2jgvX37tfpk/XRkOy68cl36uOF0cz1jjzDMub39ZVeTVvl7aTSnTcH9 SMzkV595r075IdHUKBXfwz6XYC1Rivvev3bfZiLggVWUs5wbxRK70tIAU3MXg5Wa1pHP Q9MQ== 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=kFhHV/1m7Egh2ryCIgiPeJc8w01Dc7e7wREByKsmEPo=; b=Wp4tFHhXObzaDEfn8R2NWGualhgKIJaquSxb6HyfjWgI/PkZPBF0vSBTBAimDSIPII /CK1jlXTU/05tWW1I5dgs+4Lc4O64ybSS/GDrD7Xz2jXGr9UK7jPKOmBFYcNSgu6gqoD iUtFieaYC9d1CY2c7AVCJph/CSVrkQQUFdcTdscRFLpE3C3FWmNJnlliV04QRXQ/RDIo YEY7tqCefVBoyTJB6PbFfKEQeTHXaQPdT8eV4QaoCqphsDyd86EpjeAWpAhnBAb6AlLU VLlz+zQMW7q7Ie2lEHKm7Ccy5udrfVCJCiBrgBhyHjLQPIZafiJRvmnryiXuadCOS2UW lsHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=qKnwbOgU; 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 q186si8075975iof.354.2017.09.11.08.11.29; Mon, 11 Sep 2017 08:11: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=qKnwbOgU; 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 27BC47829B; Mon, 11 Sep 2017 15:11:21 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 9776A71BE5 for ; Mon, 11 Sep 2017 15:11:06 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id q76so5009758pfq.5 for ; Mon, 11 Sep 2017 08:11:07 -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=AbnPXdZwtaarG36HlJdz3xeZNRKt4lzpWnt98bEYpqc=; b=qKnwbOgULESQrlQzZB97exBrQnKdUJ9d52Z+1ysEtGTLvkVx2UaPMKfSO4ecBU0G1T +rA+fD0v3bxhbyt2iCG5xEcg+SjhMS1+yXG9glly4+MDUB3YGt4Jxg4MIpUjYU1gC4Pc bi6yi93JSJ99WltzgEWrmD3hFWzkx7FWc2c9YjprhLPdMkIkC1tlNAPEJVxt7HSVxQsQ 6hXtV9zp7ihZPqBTu1nLA4ICUSVw/G/TqK2gLwd5mEXRSGA0KAU9eiBxjvCrFZFOcvb6 VtOekMLuoxOLymIxKhCG+toVABZdYJvyz9kU6V/c9DusVqUGS438YjDak9WOp0S4V90P Hx1A== 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=AbnPXdZwtaarG36HlJdz3xeZNRKt4lzpWnt98bEYpqc=; b=LC+XtV+KxBcxx+ctjeVyDGsJeUAB9IIVPhoU2Tmm2yTXHFG+qTOnpYTaaZzwu3y+1C Odd0dKifHKYvykcWqfWoMTS2dNUhJmLu1F87NYlzpZ7SuwtGuOe0GhD0aarA4liNxf8T 3JLNX1IsYs+kUK/JodisdhfR+HIO1m+yZ7Z974NBu++VDYRR9IYR/RyZmAUvq/K+qeme ja2iKJVb8S3u7S7y/JP7AzcpRG5MWw0xNG5OA0Uc89Ez4XoVsC8kQJviI9aBD/r/OaFB jEZOBdMwx4fK7Dz/BjemajAmtXii/Tx6u7ed6p4mybKMzoGlttmA0hxNs2oEfhp2iPtl vc1A== X-Gm-Message-State: AHPjjUhKm5aVMwf/uoBEmSHcEIRTzuuKaQxqA7SIuFHr6fvynHOmZBYa ZLF6d3M3KqjtzSt5 X-Google-Smtp-Source: ADKCNb6xrNwnQsA3IObA4eLY+SqlLVR7ajZSg9Q6GzCh5vfBAoxPK78MINjFe40vs2DXOdrwF4sLCw== X-Received: by 10.98.93.152 with SMTP id n24mr12005794pfj.288.1505142667408; Mon, 11 Sep 2017 08:11:07 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::989f]) by smtp.gmail.com with ESMTPSA id 75sm4374067pfx.145.2017.09.11.08.11.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 08:11:06 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 11 Sep 2017 08:10:54 -0700 Message-Id: <20170911151056.4577-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170911151056.4577-1-raj.khem@gmail.com> References: <20170911151056.4577-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 3/5] opencv: Fix build 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 -isystem is not needed even with clang Signed-off-by: Khem Raj --- .../opencv/opencv/0001-Dont-use-isystem.patch | 26 ++++++++++++++++++++++ meta-oe/recipes-support/opencv/opencv_3.3.bb | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.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-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch b/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch new file mode 100644 index 000000000..6dd48fcdc --- /dev/null +++ b/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch @@ -0,0 +1,26 @@ +From 2bc6bb9831d07f035fea74ea745cea43dd5f9ef9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 9 Sep 2017 23:48:31 -0700 +Subject: [PATCH] Dont use isystem + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + cmake/OpenCVPCHSupport.cmake | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +Index: git/cmake/OpenCVPCHSupport.cmake +=================================================================== +--- git.orig/cmake/OpenCVPCHSupport.cmake ++++ git/cmake/OpenCVPCHSupport.cmake +@@ -17,7 +17,8 @@ IF(CMAKE_COMPILER_IS_GNUCXX) + IF(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.2.0") + SET(PCHSupport_FOUND TRUE) + ENDIF() +- ++ SET(CMAKE_INCLUDE_SYSTEM_FLAG_C "-I") ++ SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-I") + SET(_PCH_include_prefix "-I") + SET(_PCH_isystem_prefix "-isystem") + SET(_PCH_define_prefix "-D") diff --git a/meta-oe/recipes-support/opencv/opencv_3.3.bb b/meta-oe/recipes-support/opencv/opencv_3.3.bb index efbb2f52a..25f247662 100644 --- a/meta-oe/recipes-support/opencv/opencv_3.3.bb +++ b/meta-oe/recipes-support/opencv/opencv_3.3.bb @@ -49,8 +49,8 @@ SRC_URI = "git://github.com/opencv/opencv.git;name=opencv \ file://0001-build-workaround-GCC-7.1.1-compilation-issue-with-sa.patch \ file://0002-imgcodecs-refactoring-improve-code-quality.patch \ file://0003-imgproc-test-add-checks-for-remove-call.patch \ + file://0001-Dont-use-isystem.patch \ " - PV = "3.3+git${SRCPV}" S = "${WORKDIR}/git" From patchwork Mon Sep 11 15:10:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112199 Delivered-To: patch@linaro.org Received: by 10.100.153.131 with SMTP id 3csp5931894pji; Mon, 11 Sep 2017 08:11:38 -0700 (PDT) X-Received: by 10.36.73.216 with SMTP id e85mr13535359itd.116.1505142698642; Mon, 11 Sep 2017 08:11:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505142698; cv=none; d=google.com; s=arc-20160816; b=GCLymzrJsxV4ZE6FPPgi3wgrAeTaEwfw6VXzBWF2amxcim48/vuO0R2u3UILjBb2qO rVfPeo4PV3PCxONssJLo6BysHpvxzpdUDMX2fYv/IzVZ2m2UkTKzN17rTxI21yLCyr5V 4eFuqEWf/WSy2myQb0PGqzvwqZUKBWRFwZFuQPueKisOTibVVpdAXakH/4a/W7orjtlP DbQvmtjNUes2yJrAoqpjBhueFK0vYI84wfDQxg7dFLAC7LYx4H/hU3lfYBm5I5UmA0qs C+ZyhqDfCsj0nwYU0kfzRqLQqvOduBc81utTFfFj+NAANq09LHTdvNj3UOoQ/4Au/mUw gRkA== 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=7WMJPK6cnhv++tMP4K0mNiCyplHuryzYIVjPxqhPcVk=; b=IzQ/Ni8JhhSfRrwdboWweA5zmEnIuVYqhoMp7gZtX7D/FwIFUgLXKYGoA+wmVHmgcs H8+2miXaBVXA2Amnfe8LksVB5JGByCG4fEAicTw2W0T4mxB+ZZG3Ped7zEosB1UZ3JES 7B8JwUUyHtMo4JCQuis0fA6di9w2WqrL4jqzW8d8v1DJ1cBrjm0suUEMJRL2krm8sJjD ZjkN95u7OgUVmNndK/BD9keZ2K/2pC49aWRcEAloT+AzeAMsjyou53WP9sQcYjJpv+Ct wDDLjdTWl9G+NKjev5u4oDhh0WRdIOZHjfVKFDrCbsmxTdV6zIkc+JnS4kd32996GDuy xXBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=cx0HJle7; 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 g10si8594953ioi.77.2017.09.11.08.11.38; Mon, 11 Sep 2017 08:11:38 -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=cx0HJle7; 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 3D465782A4; Mon, 11 Sep 2017 15:11:22 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id CC87C78282 for ; Mon, 11 Sep 2017 15:11:07 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id t3so4756516pgt.5 for ; Mon, 11 Sep 2017 08:11:09 -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=5Hk7Fb4kCJv8zWH7X9TUTdoFHJA4VKyaDFfC3kMrZ1E=; b=cx0HJle7ee0mfkuJdHF7Wj8G5c5R/zr6Cv64GUsuvXYqD0X9AnMBn++0n19OBjKsuI ALlw/HSPRtHzcWjEEO40iB0IFkWbAA/PKV2VXupXf47tn1edhYa943TNZRPjEUdm30ct Hco+W+R5UHC53DpdDv5ACnl5PO/6uSUY/6Vmeh9xuabtV4F5aMGF0sXJljdShYd7DhXG Fb7uLSV1YaneaEFcXP8EM60p8uhsdgq39or1SQCpKmPFvMrG/Phz/Dk39lMgrn8eEaO+ 3AmoP+UNDR9rceDw04yuq6TL3Lz6DRsowiayk7+/5yR3vDzvgfIqF4DMYAs/4HbSOo5y Jv6w== 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=5Hk7Fb4kCJv8zWH7X9TUTdoFHJA4VKyaDFfC3kMrZ1E=; b=pGWlQbuVK0Fo/VcIT8iSyPMqEFsvhnOZ2a5qNBCltR4uFI2/UCtq4rY2doE3kpWiRc y+D+qeJDiCKpxqSpfnN5f2drFNNAN4FDIxK3gNZ0o0XgcHk6tkAMIO74BntEIfVCVf0y 8X2867W1F/noq4zcqt1XREyMeDHj1AE7qcW7dil6gDnZriAsr/9D3ejbR/RYbOZzeocz ZynECnqvP4vKtN9hyzTLaigB483ZD5XWnFztMuISGul+g7lXGfyR8XSY1TfmfpRbfTDR 0Z+oOq248NpxvmHuGzcGY9FrfstfaZTnT2GFRed1Tg+gu+qeUceoZyYYp2kB9VEkRwqY +Edw== X-Gm-Message-State: AHPjjUjfybEpuYn94zTiKzsXOsfIcaQYywwNy8INVJo4jszPnMZW6HQd /pykvRdD6ahrh/Zw X-Google-Smtp-Source: ADKCNb5J5PTD70qmntXWNNuLPsvAvkWK1v9xBmiUKPjasrZ4Ici5VhPlTVov43XfiVJYorAfFBGU6Q== X-Received: by 10.98.73.73 with SMTP id w70mr12033078pfa.335.1505142668650; Mon, 11 Sep 2017 08:11:08 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::989f]) by smtp.gmail.com with ESMTPSA id 75sm4374067pfx.145.2017.09.11.08.11.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 08:11:07 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 11 Sep 2017 08:10:55 -0700 Message-Id: <20170911151056.4577-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170911151056.4577-1-raj.khem@gmail.com> References: <20170911151056.4577-1-raj.khem@gmail.com> Subject: [oe] [meta-initramfs][PATCH 4/5] klibc.bbclass: Use forcevariable override to define 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 This is required so it can override the CC settings when clang is used because meta-clang uses toolchain-clang override to set CC and friends so we need to use higher order override, forcevariable is highest order. Signed-off-by: Khem Raj --- meta-initramfs/classes/klibc.bbclass | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass index f864104cf..2aacf241e 100644 --- a/meta-initramfs/classes/klibc.bbclass +++ b/meta-initramfs/classes/klibc.bbclass @@ -3,13 +3,12 @@ DEPENDS =+ "klcc-cross" # Default for klcc is to build static binaries. # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version. +CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}" +CC_forcevariable_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork" -export CC = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}" -export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork" - -export CPP = "${CC} -E" +CPP_forcevariable = "${CC} -E" # klcc uses own optimizations by default. See klcc(1) man file. -export CFLAGS="" -export CPPFLAGS="" -export LDFLAGS="" +CFLAGS_forcevariable="" +CPPFLAGS_forcevariable="" +LDFLAGS_forcevariable="" From patchwork Mon Sep 11 15:10:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 112200 Delivered-To: patch@linaro.org Received: by 10.100.153.131 with SMTP id 3csp5932115pji; Mon, 11 Sep 2017 08:11:48 -0700 (PDT) X-Received: by 10.36.77.83 with SMTP id l80mr12971046itb.148.1505142708551; Mon, 11 Sep 2017 08:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505142708; cv=none; d=google.com; s=arc-20160816; b=LgHChzKxBk4Hv51CSqK33yGub891tVM/6NAB8fn2i1DomMCgZVlXIrm7aoTenTsIOT VDhmDs4zqKNi3L1oOVD5g6x5/q5fESkbtaS0gXoN14aJzD/ITG5+E0wbgtZiIlbWiFZn LfnaGTybflsKb06FHrXvmFuAbE+afSwcH/F088FwH30MDUIt0hNj6pSTr6XDKS2IJtQJ beqq3heNEXLsCpAgSLHQcTPdxjG1uLmoyoTW0DDrhXHdRTVNHqNsWFuRrUOAclKiq+Mg 69UzvWtEsluOVEfkBJNpTinRwWBPCUZiZgd9378OhUZrh0J4dmNskq/UrHHx/ArCDaqZ Ek4Q== 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=gY5eXBeX6KIJBiJtmGmxGu60Dt2on/qSZ/C4AgPf3TI=; b=IXjSczwXq+Sn99cB3tvnG2NBwA/irorrpftd2u/6zB/qaWLpGGpO0U0Pm36ajo+CeY HM8cjQJY5YdOpjxWG7Vlkknswjv71yoNAxrahjjaBS3nynlt+S99Ls2gmLe9SUJvAKc5 oBa/Z9ePau095ecEMkohD0m9nVrqHiDXU8JPyq4PkBGxp1rquQIen2Qv9QQn/TLFpJfe bwA65FagZTQa6t2NXLf0irARG9OekqB7Ptn00Vvrxv0eVjx/AXsPMZQGTKFyjGy7bHew ILd0Hk9RBQvwZRack3sXmm8ivpqH0Zm9TT1eLEJ6qaXcQZpN4yD4nzOTbnBbPpdIavMq 10TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=BG8x8ZjD; 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 a184si8617610ioe.132.2017.09.11.08.11.48; Mon, 11 Sep 2017 08:11: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.s=20161025 header.b=BG8x8ZjD; 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 4F0CF782AF; Mon, 11 Sep 2017 15:11:23 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 3992F78282 for ; Mon, 11 Sep 2017 15:11:08 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id e69so3225680pfg.4 for ; Mon, 11 Sep 2017 08:11:10 -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=BmKHU0e76M98stZx0nfDom+mazWU2pOzeKMGOhHQpVs=; b=BG8x8ZjDuPYtemwfZgISL0Wusz5tZTpPclyfemKfKhqxXT8s6MqPH8vAN1Omehyrgc YnrQ7L2aeaUYiR2GdVJ/QUJhPJVmBZjcyXaWdpABUOsqDvAHLYZnVB7dvsbK+24ZVKrj 4U+4JE0TJ8TI+nJIP91NJK3wGX5b49SuedFdNK0ELgOVfRz2mFpD/Aw2ERvm8FUNwzZ5 l/SUDIlVziIqMQvjTWN0T7kMGTuFXSMl/BfQ5LRHbu+AElS5Ty9uYz36M5IlooNydcrS LCpradHIPJ0BU6DW5A7gODNzYDPuq1kmhzxbwsGJA9rYIjBeY6GvXGElUOfELrqiQeb0 2mJw== 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=BmKHU0e76M98stZx0nfDom+mazWU2pOzeKMGOhHQpVs=; b=LQmq5PI7YkBIcerNbbszaK5cEKn3pDrCyn5AImLpAPSvQycohTfqc6PbUtzE6ApHZ2 KHOO/Dbt4buph+IQS9phJgEkbZ8B7/1y/FwVe6gZlAxUya0WTnnn2z7LLltrBKNmZJID nw9I0Q9IqqqTL0lyMaImpzUzHJFv2IGeJud8Jj7tD7fOuDpLLSlBqqmQ3IC+HKBNGCne 2hx7d4ZbsOPaBv2VpFTNnTl9YbW75pJW2e43Itut9lb4ZV+U8gOHOO3NODrwEbXybmVR tYnm9oiroePh/WnmspaRNQR8d46qqCHZKtwoI9jT8RS/LEPG7yaNL2mH978ygIlcsHyv Kw5A== X-Gm-Message-State: AHPjjUghATKSm0HDoiaIerPVkwzsJOuf0OrxldUFEIuQp1GluazQ9W3K c95vIQ/0JStyJde/ X-Google-Smtp-Source: ADKCNb7oQjDKITSrrxKBbQspwn8XxhMV4Oq/EmP6+e8vNaolxQv2maPMwl0CXPri5OS0eMWJuwwtNw== X-Received: by 10.84.209.197 with SMTP id y63mr14262509plh.316.1505142669688; Mon, 11 Sep 2017 08:11:09 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::989f]) by smtp.gmail.com with ESMTPSA id 75sm4374067pfx.145.2017.09.11.08.11.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 08:11:08 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 11 Sep 2017 08:10:56 -0700 Message-Id: <20170911151056.4577-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170911151056.4577-1-raj.khem@gmail.com> References: <20170911151056.4577-1-raj.khem@gmail.com> Subject: [oe] [meta-initramfs][PATCH 5/5] klibc.bbclass: Add -mfloat-abi on arm 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 Default toolchain is not configured for hard float therefore we need to pass the right -mfloat-abi option Signed-off-by: Khem Raj --- meta-initramfs/classes/klibc.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass index 2aacf241e..855382579 100644 --- a/meta-initramfs/classes/klibc.bbclass +++ b/meta-initramfs/classes/klibc.bbclass @@ -3,7 +3,7 @@ DEPENDS =+ "klcc-cross" # Default for klcc is to build static binaries. # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version. -CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}" +CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} ${@ ' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" CC_forcevariable_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork" CPP_forcevariable = "${CC} -E"