From patchwork Tue Oct 17 04:26:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 116000 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4421159qgn; Mon, 16 Oct 2017 21:26:53 -0700 (PDT) X-Received: by 10.101.65.4 with SMTP id w4mr9580778pgp.74.1508214413678; Mon, 16 Oct 2017 21:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508214413; cv=none; d=google.com; s=arc-20160816; b=PiC3JVyj9VigS+RlpOnz3IRUmxk+8YXsNZhq01p4GM1cAcIBjwZq+7wYeFpJdv1vVS ezzIsPl+bciFZA572396Pdrnr+QGddyRFxveWDzAmzy6k5rME6WIeCY6HoLjlyphTIHQ 8lx4p0Djrjc7YWfl/Cxq22mHbPOUWv8muaJdrVxcX52sPFOCIR91fcpWz1friIUqQSv/ seelcsJKGnBamz8d0pnfMcrFYeukeUaN7uhZp0hiYbWMR3Us1DXo7TAwplOHQV/qqyul V5vFzAsYTjBazkYbfZfG9RPA7h6RaU3mHWsIumwcivTZZTlRl99NZceMHZBFoqclYgmn /WMw== 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=wtIvKES5Bkx+FiLTQ3q1KLlLF60BG/TIOBXsjgzTCAc=; b=KH6h8/eULqc/igR3srszTad+hj52ZuN14dpnOTOGyd/G9r/XSZv4or1z+Bt+Utkv2Q VlCCH4o3E8rCygdNxiw1JXfscaicoJYcmXr1bFkqSnJ+sSgHarlQQBbYY750Ote+XhLm 8J6pqYvAy1CLYgyXURVZQGAFPBmqixKiAbO1Z9IDMqN/+5na/YAigg13uAkKHHHvRVwz hGESGYoNhpha8ADHjibL9ijgrLkVOCW3eFbERRCB+7xGzOGht6g+IdZ2Tlbj+AhEnOYx 5VFsd7RaZY5ccPUKoV6WRH1dEnibH8Ub9OdeSILZyBlW1t79Eh6aOiG+xsSLYAKnGQtH lc9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Rv4TaHUq; 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 o6si5561550plh.352.2017.10.16.21.26.53; Mon, 16 Oct 2017 21:26:53 -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=Rv4TaHUq; 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 6B83278218; Tue, 17 Oct 2017 04:26:50 +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 0DD57780C0 for ; Tue, 17 Oct 2017 04:26:48 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id a192so449011pge.9 for ; Mon, 16 Oct 2017 21:26:50 -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=4GWSdtoUggrKdH3wGAIpLeBAo3YcWP4bd0JQGRhNNlY=; b=Rv4TaHUqNFsjQjwXTdpI9EXfvhv6J2QBAPqdkPzEs+mmcCQQkY/TbwNb7VlGREwS11 QAOEqG2clmb3uPy40oVFl2CtFeSuHFnZ0srQAEIY6SG1l7X7U+//Wh9/iD1XwfWqeQaL NeCSNYJGWopqBpqMJ0RGvDLrYS6TCV7drLhwYRA7tPpr8OBVc9GBuU7h1jBO6BmPTG8p hNL8nF6sRtWWoh6Krj6dNkaPCrEJ2yrzykWiSDQXi97uNnYOhOb4WA+rnBJguNvMJo/X +eKaduOWOooaMjXSkjz1XIa48kyvv4DJ1pnMEy5I9JIDcs1VmUYgO08/sJJ6aiBg9wMo Fyzw== 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=4GWSdtoUggrKdH3wGAIpLeBAo3YcWP4bd0JQGRhNNlY=; b=jEIwkRQ6teRn36f4NJnTr9k+X0HzAFZGhcM5OwKE/xt/gA/mfXFUD9UhLfeXDn9xGk g8GnPEVkAGQHiX1hLnY62NpjwotKBioab2NmPWhotwD9Wo75xk5USZLQhz7MhK1qipIu ph8Lg7ilhrwRfLQBIbiQEjfHxUGdpp8ygW+cxkklCQcanOCWUrNOAO6jeTXkAoZzPewx eNhvHTGWsT0xfxPOpZElwFZtCiuVANAfTq1xYliCLmQTIzfH5CFcbjZR3uGp1KXyjWpy tOPHtOFR7yoIwptFajRDpcmDMhdQrq4CNIXvcxtPj8nENy4/BhKdUsxrZSVJ/lYcHgph uDmA== X-Gm-Message-State: AMCzsaXz0Q2e3u2x+7WKQqN/BfYiAV5WAIetcSek8lR0ZVi+sL/Ry+Jq HdEog7JusFkz90A+zbzoHA/ucA== X-Google-Smtp-Source: AOwi7QClj7dI9Nly2udQcELNCguAaTf1opaVlCe1KcIhnJnEE2vBU9Z1Ha/L45lur2wvntUkFCQnBQ== X-Received: by 10.84.239.15 with SMTP id w15mr10799336plk.29.1508214409980; Mon, 16 Oct 2017 21:26:49 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::d2ab]) by smtp.gmail.com with ESMTPSA id y30sm14959022pge.27.2017.10.16.21.26.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2017 21:26:49 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 16 Oct 2017 21:26:40 -0700 Message-Id: <20171017042640.17462-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.2 Subject: [oe] [meta-oe][PATCH] gperftools: Fix build on musl/mips 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 --- .../recipes-support/gperftools/gperftools/sgidef.patch | 17 +++++++++++++++++ meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb | 1 + 2 files changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/gperftools/gperftools/sgidef.patch -- 2.14.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch b/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch new file mode 100644 index 000000000..7e1a23bf6 --- /dev/null +++ b/meta-oe/recipes-support/gperftools/gperftools/sgidef.patch @@ -0,0 +1,17 @@ +sgidef.h does not exist on musl and its not needed to compile + +Signed-off-by: Khem Raj +Upstream-Status: Pending +Index: git/src/base/linux_syscall_support.h +=================================================================== +--- git.orig/src/base/linux_syscall_support.h ++++ git/src/base/linux_syscall_support.h +@@ -164,7 +164,7 @@ extern "C" { + #include + #include + +-#ifdef __mips__ ++#if defined(__mips__) && defined(__glibc__) + /* Include definitions of the ABI currently in use. */ + #include + #endif diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb index 8ce376c91..ecac6c5cc 100644 --- a/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb +++ b/meta-oe/recipes-support/gperftools/gperftools_2.6.1.bb @@ -12,6 +12,7 @@ SRC_URI = "git://github.com/gperftools/gperftools \ file://0001-include-fcntl.h-for-loff_t-definition.patch \ file://0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch \ file://disable_libunwind_aarch64.patch \ + file://sgidef.patch \ " inherit autotools