From patchwork Tue Sep 19 16:31:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 113047 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp5119267qgf; Tue, 19 Sep 2017 09:32:30 -0700 (PDT) X-Received: by 10.98.33.80 with SMTP id h77mr1866886pfh.18.1505838750297; Tue, 19 Sep 2017 09:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505838750; cv=none; d=google.com; s=arc-20160816; b=KUxsOmnCT7n0enHcPw2s7ZX+Gmv1ligd8SsL/mveH1a1B3fWj1h2I5X5gGufPGnX2F OvlfR2/bQO22rmDrrrl53nygiqp/WaXqy1/GN4j2Ej8DaNEXOx94aj+IRz2CiiG/nk53 9cC1KNoTifGQRIQDN3FEbT8OxGxZBlKxA4x1kGXyBm2KQh29bkQ4gUQlPHqk+Bu2TGnk UHttgj7+x2j37NVH3ell+I1nXSQDqK77/UbPuD4px3rW+5n1EmULgFOo92b4Z9p1aGGE 8Ht8padIjUhS7BWqv8zRvw6osw/usaizdepUpZhNM9dB8cFPYXgeZntCvDKPkvDGuu3Y 9r8Q== 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=zcU3sODKpkLT8q9lQZuEo9sMd5iPilfGnOvVQYCQKKw=; b=vbFkILoJy2hS1a7TtpGS5N+EusTmPk5HDD1BMKJOSQ1tHRULThpQjHjJH/LHPKrgR1 XcE7o3RZ68fpxp87B/+j2XN2jk6A0BovZR/zxNonpKMfVhfIi/wBb/yk3k07c1a/v6hm XqGFssFAUK7IiuUOwr9BTRy0T/WbZCgZcZm2muej0U0EsxYPVk9vCPcVv3A0hi5QOv6m OEoFFh96NckKInHTynn5xXi74QmpyPoHSkFBbCZz18qW1LrMj1cE1V5gI7ML/BZmKxAH 4p2zr0YPH21aifduzJtmBxnYaKK14TDOe23+PysSVULA/8vawOqMOR7LRnrYbblAgpLH wMFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ub2GiHHM; 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 h65si1588035pfa.418.2017.09.19.09.32.30; Tue, 19 Sep 2017 09:32:30 -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=ub2GiHHM; 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 0A3B6780F6; Tue, 19 Sep 2017 16:32:27 +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 3A3007807D for ; Tue, 19 Sep 2017 16:32:05 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id m30so76138pgn.5 for ; Tue, 19 Sep 2017 09:32: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=5ZFAZRznhDxqFRcA8PxNyCmnDYTseS4uCa8wQ2MUTcE=; b=ub2GiHHMPTp+37UrvG9CFtlcGT0xX2YoNdfGGMuGHeVjFSXBA0dSu5agUYphQO1/eQ woavujLSxTyPY+XfARhu5pK9HlGC91R2uGJEG0Ascvjdv3B0Akg9CmpmC9z2e9kgEK1r PyoLWQmBbPTKLiKRJdKXvkm2iOT/cVp8LfC5PkITc8sz4jeOukIhAoauCW6Kzy5sK7NQ DIhjRWQ0pDeYOCeQApsBy+CabQxUAxiFyK7y0VGK/OQ1Uhw8X9BYTnmu1csmObG1Jr+o golwr90k31O437UkzK1VctBbON4+NMSe4QPhA2Qkt7Z2yZYmPpcEcbIo1eCoPDSaWUyi k6mw== 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=5ZFAZRznhDxqFRcA8PxNyCmnDYTseS4uCa8wQ2MUTcE=; b=XSbg45q8FVJw8CP4J33AHv6O27vT0WnUKaVg4VklVl1EEu7+h2pwIjUholMzXbYkVW 3SFj7MQryLPLw+ZPXIRrlvOlnoX+r5mi3mw3zFQammOXJ7HiGW/u/gD1vy7m3/5nT7+U ar68Ye89Qjq0iz+iMmilfG3pT5oRdkzHU7WrPP0Y6+lqpljEtmKe4Vxn8XCFJMUEGZPl 4ltEDgYru8iS/00gLYlbWgr1jbT9gpsRz95b0jyYvUD2c+rULlCdESMKr5v96pFVwoET q32U4i/1iOYI/2tBxdu3JkhS+p3nuHwW4j2KsrYJOi7XfHRyhqDEnCXZJ3fk5usL+5AS oWIQ== X-Gm-Message-State: AHPjjUg9RktYe/bYCsKYQM5uBlJJzt8uQDm2cKtDbdghBgcCsRRmKpOm vZbrjAyBqgwAFDTF4Bd6L6jcYg== X-Google-Smtp-Source: AOwi7QD0ycMXL24hUPsHDif+5MvGWfovr/+5UDC9UhGPnHqxz6qzSw3S7dgz+fLzsj5REDykkbIxFw== X-Received: by 10.84.133.69 with SMTP id 63mr1814717plf.98.1505838727093; Tue, 19 Sep 2017 09:32:07 -0700 (PDT) Received: from localhost.localdomain (c-73-158-54-208.hsd1.ca.comcast.net. [73.158.54.208]) by smtp.gmail.com with ESMTPSA id c30sm4257354pgn.33.2017.09.19.09.32.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Sep 2017 09:32:06 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 19 Sep 2017 09:31:58 -0700 Message-Id: <20170919163158.38598-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170919163158.38598-1-raj.khem@gmail.com> References: <20170919163158.38598-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/2] breakpad: Fix mips build on 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 There still are issues but this makes it better and fix can be upstreamed Signed-off-by: Khem Raj --- .../breakpad/breakpad/mips_asm_sgidefs.patch | 20 ++++++++++++++++++++ meta-oe/recipes-devtools/breakpad/breakpad_git.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta-oe/recipes-devtools/breakpad/breakpad/mips_asm_sgidefs.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-devtools/breakpad/breakpad/mips_asm_sgidefs.patch b/meta-oe/recipes-devtools/breakpad/breakpad/mips_asm_sgidefs.patch new file mode 100644 index 000000000..678f63d74 --- /dev/null +++ b/meta-oe/recipes-devtools/breakpad/breakpad/mips_asm_sgidefs.patch @@ -0,0 +1,20 @@ +Index: lss/linux_syscall_support.h +=================================================================== +--- lss.orig/linux_syscall_support.h ++++ lss/linux_syscall_support.h +@@ -118,15 +118,7 @@ extern "C" { + #include + + #ifdef __mips__ +-/* Include definitions of the ABI currently in use. */ +-#ifdef __ANDROID__ +-/* Android doesn't have sgidefs.h, but does have asm/sgidefs.h, +- * which has the definitions we need. +- */ + #include +-#else +-#include +-#endif + #endif + #endif + diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb index 9a1255594..1ddd6b565 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb +++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb @@ -41,6 +41,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad \ file://0005-md2core-Replace-basename.patch \ file://0002-Use-_fpstate-instead-of-_libc_fpstate-on-linux.patch \ file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \ + file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \ " S = "${WORKDIR}/git"