From patchwork Sat Jan 27 03:24:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 126019 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp782016ljd; Fri, 26 Jan 2018 19:25:11 -0800 (PST) X-Google-Smtp-Source: AH8x225PTl21UkTo+thOB2xTxvPWF3l1uhRrUO+LYbEx67Z1YW6hDUH/dPhVvhre1nkmaMNNz6/N X-Received: by 10.98.17.21 with SMTP id z21mr20540030pfi.86.1517023511738; Fri, 26 Jan 2018 19:25:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517023511; cv=none; d=google.com; s=arc-20160816; b=ZfaDJQd4c+noacGbqv4ngje7kz1IkuoCH5sWLAIaiKLnOshh1A6Tlv4DXt0EMUtwis 7bZZjk1DT5YQZ6hDRxyR66yuqXvRMmdX+gU0K8+Is2+c46Py/fr9nKr6SXUybLW0uUS3 Ek/+zMT5Z04Oxk12UvL44dN0dsXgE7rt3ff7SrmQlRst8ydx5QUu4BnP27wxo1SEI6uK BFXmvGmkb2YohIIhAF++04djn26RiGyh908lE33UTwgwDLCqVMnVDgJfRzoUwI6DeUiu qcGsbIoVIqvOPdeoE6LV+KFZ4ZXH63raNl4WZPNj/7qCKp9R5FGcV+uWkLuZ3rliNazS OOdg== 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=cJfamyJlm49pc//TMUziXU7UlRBBHH9fVadlnsLHhzI=; b=Aq/0Xb838sjnxlvfXMrY6AtGN48lpXWJPX4ZpB9lzwFAiAqBvodaujpsNOlCWwg7TU 7eK263sdLm7TOzwuDTuNXDRsPddGuNBz/N+VtxOkI/s/QqhGRUuP+YUvml7txeinl8uC ZRKnPIhwHUnSgtKleDGalftQiGdF4T6vFSzT5s23ei3iqGtqoiHk/k2yB8h/q3erpgAp JjL57JfklicYy/yeXP3Xnp6YbJBxoy2SMw41SxG90SVRIcVmIqfV/D6qlMjHqamFqkqt ntyW+QqL7jbpXrBev6lZJk2HL8EvB/Bqv49FKCJUpegKjzCHrTLgujXnPF1Fv4nuVu1D RJFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lnvfsyVf; 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 d24-v6si4678738plr.243.2018.01.26.19.25.11; Fri, 26 Jan 2018 19:25:11 -0800 (PST) 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=lnvfsyVf; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 91C8C78864; Sat, 27 Jan 2018 03:25:07 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by mail.openembedded.org (Postfix) with ESMTP id 393077885C for ; Sat, 27 Jan 2018 03:24:40 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id t8so166757plz.1 for ; Fri, 26 Jan 2018 19:24:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=T/zHgCzSk4lom1jeE4ZAEUqKEPNKpfHmuYeSV26SXFI=; b=lnvfsyVfyJqyjTQ05OddHn/4nUg9BYiT1uZHYajr3DAJxFhDRgrPlltrFuK3vj3gNw Rfwp392L3ono/L6kLOc1xILwebK9qB8eiOX7b0+t4BhUgV7DGU3LYcoVviiq6WU+dga4 V1XgMhgWk6J5IGyK0qgBylPnMQsMYZ8Zhp5yVoT89FzrbPbhZ/dFKb2WUmdYkCK5L3nE zFzJjHhp+kHSf1HIm2mERMd1YwsLpzOP1ORsIn97RlWVuiVpgEvQWcciSYbLi9tPUMsv qGSB4kK3AlJ3TKgrpc8UTeW8PmcRyeCISQsehMA34dK+MpFiEw8esHziSv58u22J1PCm aCYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=T/zHgCzSk4lom1jeE4ZAEUqKEPNKpfHmuYeSV26SXFI=; b=BY0IFC+Tf962q0dkWQhrlxlTSN0MrcGOmicFC+vzqbDfxka9oUjlKs7Tg7j96Wkuyb E7/jIklw7Y77d5//IFGwhRvso3myEJ3Fsju3dY4WpG6yOA5N+8Qy/cka4AM/4gLG3wHI Q0t5tR6GluZc+fslpKWWQWiYufl12PO/gd/+heK5CAwZT2eGu/dTH40pKwJyO87hsgid H7TKl//Fk64IFoOgDs/P8DG8+dtot0mkgZ/Y5f8VPTZGE7wHg62mh3grIiQ6+0qeaen0 XJhhMda5l/T5omkomCKeJjCN/aCgk7fBW6+jPTyf4WSrAKagSPPv7n71PjTLYXSxvAs7 U+NA== X-Gm-Message-State: AKwxytcTtn7OqEID+V1tuujIq22czDXMcYfIpAr9bboGNOsXPOJYyON5 s+0qzvxncgtVMekk+IEFAe4= X-Received: by 2002:a17:902:6d09:: with SMTP id s9-v6mr16159022plk.176.1517023482320; Fri, 26 Jan 2018 19:24:42 -0800 (PST) Received: from akuster-ThinkPad-T460s.mvista.com ([2601:202:4000:1184:2999:2a82:b9b6:e74c]) by smtp.gmail.com with ESMTPSA id v22sm6692206pfa.158.2018.01.26.19.24.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Jan 2018 19:24:41 -0800 (PST) From: Armin Kuster To: akuster@mvista.com, openembedded-devel@lists.openembedded.org Date: Fri, 26 Jan 2018 19:24:01 -0800 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [oe] [PATCH 01/36] 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 From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Martin Jansa (cherry picked from commit 738bea45bc51d9a78a3d46ee8c18390427ccd547) Signed-off-by: Armin Kuster --- .../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.7.4 -- _______________________________________________ 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 0000000..7e1a23b --- /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 8ce376c..ecac6c5 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