From patchwork Fri Jul 14 05:40:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107731 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp455017qge; Thu, 13 Jul 2017 22:43:15 -0700 (PDT) X-Received: by 10.99.2.17 with SMTP id 17mr12908450pgc.264.1500010995523; Thu, 13 Jul 2017 22:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500010995; cv=none; d=google.com; s=arc-20160816; b=sP5yG5/tC2/3kXsDQ4zQhDEw/yhwKlcfY3NRrHUIIWnC+JCCNKGDkSVz4IiVAw7veb +pulwmriSuTsvlLgaDry8IBVsn3klwAbn3268R0icssrkuWzrlSqiAmcBE1ja/Pi1hvU TuDNoLsCmOneZYU9abcfAqEHoOdZWzJUURjLGLsx92y76qnx8UyrMGjpbrMOb01T82As kXOUKU8JWTh2Wrhud2RjHhcIyVoJnd9zPgSryUEzmeIAzStXioWyAj36V+3AswSJMHD2 6/VsofR/h+t7DpcDMnZKpHGEGy6oQz0S4PYb2Tdo27XZXW90KCYiCaT/kVIeRY2qxTfc D9iA== 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=p3Tv5g9JuVSly/exdrR1cHAj2tm71KyYGoaLJav56xo=; b=KPHp+8eSfuJYiTDvQJgxGrviY/GhnUs9n+qYgaAQ+th2pKZSBlQN2u79UIWU0hhil5 /ljS5vSfeB9BbPJwj1U6iX7qCPi2zsMwZjDHH5qE83LJTHzDI7XmX1o3hxtALcfXy0Z4 LW4Z8kFMRcPeBGqdpUycspPqfUAH5sOu1Ii0GPNI2dBW0sCWZpvhUGJWSANE8y3z2fUY or++ysaAL2wLbVOS+HsIt76DvZC8f+ZdUkUdIX8IhSlnjHa/JklIVL4vkOC+2/3kiIiN n96GPub83c7AKtPIcz9h49PETI6NbcnVYLwNkHcBNTg0p/AaSgfBELgo7XNhu7hPryQ6 P3fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=DWC5WVPm; 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 o76si5607710pfg.332.2017.07.13.22.43.15; Thu, 13 Jul 2017 22:43:15 -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=DWC5WVPm; 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 3297E78250; Fri, 14 Jul 2017 05:41:46 +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 0FA24781CD for ; Fri, 14 Jul 2017 05:40:44 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id d193so9392844pgc.2 for ; Thu, 13 Jul 2017 22:40: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=TFaaClM8GV/gPLF4MHZbbsbdcYVXbgofLc+JhvgK1lg=; b=DWC5WVPmSJHRzorGhRdMMiNyyD+1AewhkOS8nnqPDN/Cde0yUaGIjwEEZPq5+tvn+A TOM9QQLnwaQNZ6g6rGwx4khHNYNXfIAVS7ytIPo7YFVx66iyQYj/2Fg4fOBmmMPcPM10 VG2013S5Tx85U+qmuT24Fx8mRNcrExFmCIF09ZFGBSphQ2yCUBkKMEIfdI7RNuKO502N zkx5ARRFwGjOa8U4Pxfva0AgbEGOwMsWFIlmjfRfOkhQumq2+wa5I1mWyHQhMSqNmsMf EX281/dl8PHJhe3/HiXT623E0o2/bvHi3mt+EYvP+z0Rf39fhgNM2xFruOPvwlmRm9Hf 1Tkg== 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=TFaaClM8GV/gPLF4MHZbbsbdcYVXbgofLc+JhvgK1lg=; b=NkPi1KFsMI6Shj0Mxmg5QsYsVGEx4Fhz+dlKYvECULluuYGDlI2VkHB8DPrWNUmD+K KARCWyMH7tBSrb+PgPn0D+m7eS4NySmG14Ci6MYzheb3zLYIfZdRL3e9qec5rtjfNo7j HxUdhR7KckVXpnrGnQxzAy49QkCsDcDvucxTNHzCi4QLF2Ng+6dDJppShPctjCXp3IXz di8AYyyeg8CxsKUSgHtu9+zlh+Com6EK5LXwtWm2XJTD09s1tSDSGimcIld2yF89jYDa 5eh2OGb+b6ufL/noxfepnJ9OPOkE0WE2e+KTWD4EO0uVXsPhgbQODh99aNmsM2sSm7R2 5RHA== X-Gm-Message-State: AIVw113kldlgAyn2Fd9a9t8dlqO/H9N+tm1ZR0yEggVPzEFGsaBN1UZF +PpS4kEg9WOr8tmM X-Received: by 10.99.7.129 with SMTP id 123mr12591777pgh.171.1500010845340; Thu, 13 Jul 2017 22:40:45 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id z86sm17519420pfl.40.2017.07.13.22.40.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2017 22:40:44 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 13 Jul 2017 22:40:10 -0700 Message-Id: <20170714054013.34458-15-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170714054013.34458-1-raj.khem@gmail.com> References: <20170714054013.34458-1-raj.khem@gmail.com> Subject: [oe] [meta-initramfs][PATCH 15/18] kexec-tools-klibc: Fix build with 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 Signed-off-by: Khem Raj --- ...he-order-of-headers-to-fix-build-for-musl.patch | 30 ++++++++++++++++++++++ .../kexec/kexec-tools-klibc_2.0.2.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/0001-Adjust-the-order-of-headers-to-fix-build-for-musl.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-initramfs/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/0001-Adjust-the-order-of-headers-to-fix-build-for-musl.patch b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/0001-Adjust-the-order-of-headers-to-fix-build-for-musl.patch new file mode 100644 index 000000000..a7600b301 --- /dev/null +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc-2.0.2/0001-Adjust-the-order-of-headers-to-fix-build-for-musl.patch @@ -0,0 +1,30 @@ +From 86b962e7c0de43b20b6210d059e4855ce87078bc Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 13 Jul 2017 16:20:08 -0700 +Subject: [PATCH] Adjust the order of headers to fix build for musl + +Fixes +kexec/ifdown.c:33:16: error: storage size of 'ifc' isn't known + +Signed-off-by: Khem Raj +--- + kexec/ifdown.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kexec/ifdown.c b/kexec/ifdown.c +index 2215798..e13f777 100644 +--- a/kexec/ifdown.c ++++ b/kexec/ifdown.c +@@ -16,8 +16,8 @@ char *v_ifdown = "@(#)ifdown.c 1.11 02-Jun-1998 miquels@cistron.nl"; + #include + #include + +-#include + #include ++#include + + #define MAX_IFS 64 + +-- +2.13.2 + diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb index c9fec2542..49c53a3ea 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb @@ -20,6 +20,7 @@ SRC_URI += " \ file://sha256.patch \ file://sysconf_nrprocessors.patch \ file://fix-out-of-tree-build.patch \ + file://0001-Adjust-the-order-of-headers-to-fix-build-for-musl.patch \ " SRC_URI_append_arm = " file://arm_crashdump.patch"