From patchwork Mon Dec 16 03:41:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181640 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp3821166ile; Sun, 15 Dec 2019 19:42:20 -0800 (PST) X-Google-Smtp-Source: APXvYqyNuJHOnpcIZlYyE9bpAQt7MyXq8dHG77fduGe1Pb8Rthj8/hJ2BCQztPsfeEqcuroizOBm X-Received: by 2002:aa7:8653:: with SMTP id a19mr13457928pfo.230.1576467739969; Sun, 15 Dec 2019 19:42:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576467739; cv=none; d=google.com; s=arc-20160816; b=v0JYnS0vGOJMqVFoPd7Ggk6hV/AsqLFZZ4jWzRaYxUN94mXG+QiCjzY59JaazklsPB hofQerg6T3ieB6/DY5xGRrKcHhnneBP9Y3P3af+Bp0rm9DR+2mfzOmIv2r/fQLB4JYGq cktNpAvntMxSlCcoL5O5AwQCtdCuzvqbiMovsoG0o8v6PjcRGjXoB8MuxhloUFFygwz6 un8ahs5Koye2yiwvmyZK77BKjpm6MvmJQs6v/pRdDsvp9iUyGTqzNUSYNhJjnlZrTxIb x4IUpPjtgtctMxi4bwox/YYV1TPKH+BHATGf+Q1qWLwhh+2Q5FpvOcVI3jJKTsqU//nD e50A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=2nGZlwfDxL8md8yv1lPWEVC7RGGnZdOhOCbuRNCfdVw=; b=M0sO2UtXlvWOrHutozms53acqJi5Tu6a5y514FP8HZSvvwJF2hPQOdH4x4IlBv9ZS2 d/hMg0GMffFjfa80oQ4usHK1mZWyns0PvqKcI3NmgXXnknfLnKn2sTopqfzpB4x6CKZQ +xeRwa/5Y+75/bd/RgIGpz02jLUL8tkcqIY1mD8Scuk35HZPSAl2nwxOeljNrzWm2LaT QtHRh0UkTsZCONo33oTIkp8othbnbsBKHwzuZLaPvRdMzblvCryv6NnxN3YiCxKUoaTF PddcXYF0eAdKIJX7rja2uzkREgQ317LgRppynAYXPraym/AGb0aJ48dzDaW73zAvh+sB 91Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=o47h822C; 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=QUARANTINE 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 x11si15915347plm.345.2019.12.15.19.42.19; Sun, 15 Dec 2019 19:42:19 -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=o47h822C; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AB9067F81C; Mon, 16 Dec 2019 03:42:11 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mail.openembedded.org (Postfix) with ESMTP id 5B2E47F7CD for ; Mon, 16 Dec 2019 03:42:09 +0000 (UTC) Received: by mail-pl1-f169.google.com with SMTP id k20so3829922pll.13 for ; Sun, 15 Dec 2019 19:42:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/Y3FE9cEMQqqIVxchhITGQqgClkU1u6N7khRVy9vrC8=; b=o47h822CxgoT9C6msCTok1iOrkgxyeuUH7oOXFCXDTmsJ3yjcRzrX202aX1dycuUSH EJ1d1CfJpRwldBQ4JhC17ADTtUt9Ex/bnWO7VAY36urE/uOjMXf9h6O2R7i9JIcwt2mO /JUtV+wrFfBj1qB5/nQIYBr8Tpxae3zlNcZEAMtZ3rNooAnkoD9RjXBOZQTH5E0txKEN 4GV0YU871oGuYk4JdcNaQrApmgjk1DaSYayas2CIs1WOTIWqnuAW7blK0qi1cinwJdwi PQ1MX3cYtUimid+GsbxgYzH2TBJBHOgoA2f33i1v4iAPDpHH82PHPmemA6vjqw9VusWU pXxQ== 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:mime-version :content-transfer-encoding; bh=/Y3FE9cEMQqqIVxchhITGQqgClkU1u6N7khRVy9vrC8=; b=IN7j/Dnc4w0B+QcPzQqmIx5w/qwmVv90CecXGoLHd07+uAhUawRdE5bVC6CR9G53Kk so7ABCacqg6EhjvdGCv7dQDpImkSPJxtMQlDU8eqdZlKkbHsaa8K2HKyw6ZZj64Acx7v V6EHrJe9ScmWQiL4d7tgKNpPx5HgsOpkcYXxmNkWOicS2dIkzDuk8pnrsPxt1mwp0GO4 LU4TgopRZohNUlUrtHO7KUh+GhJnbDypPoePAY7MaTaA1LTgtPJ8b57PXoWj08gpR57p fiEYv5v3kQZHV3SnRc0s8YXKtkTtT6sRcFnrwR+qDP1EDm/9usZ1JYHf4Xkb7+tY6rzJ U9Hg== X-Gm-Message-State: APjAAAWM4cgi6oacEnoWiKbB7RFgx1hJ4vs9Gy3YAMBGO60fXebwoXqZ iJYfw3m0JzXdK34cd8+vibZejVinfFM= X-Received: by 2002:a17:90a:8a0e:: with SMTP id w14mr15606575pjn.51.1576467729804; Sun, 15 Dec 2019 19:42:09 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::6563]) by smtp.gmail.com with ESMTPSA id a22sm21336106pfk.108.2019.12.15.19.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2019 19:42:09 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 15 Dec 2019 19:41:51 -0800 Message-Id: <20191216034155.2675900-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [oe] [meta-filesystems][PATCH 1/5] ufs-utils: Renames from ufs-tool 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Add a patch to fix build with musl/mips64 Signed-off-by: Khem Raj --- .../recipes-utils/ufs-tool/ufs-tool_git.bb | 23 -------- ...place-u_intXX_t-with-kernel-typedefs.patch | 54 +++++++++++++++++++ .../recipes-utils/ufs-utils/ufs-utils_git.bb | 32 +++++++++++ 3 files changed, 86 insertions(+), 23 deletions(-) delete mode 100644 meta-filesystems/recipes-utils/ufs-tool/ufs-tool_git.bb create mode 100644 meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Replace-u_intXX_t-with-kernel-typedefs.patch create mode 100644 meta-filesystems/recipes-utils/ufs-utils/ufs-utils_git.bb -- 2.24.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/ufs-tool/ufs-tool_git.bb b/meta-filesystems/recipes-utils/ufs-tool/ufs-tool_git.bb deleted file mode 100644 index 208ac3c58b..0000000000 --- a/meta-filesystems/recipes-utils/ufs-tool/ufs-tool_git.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Tool to access UFS (Universal Flash Storage) devices" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" - -PV = "1.3+git${SRCPV}" - -BRANCH ?= "dev" - -SRCREV = "8b00e33003b57d7071943f63863fcf8cc48d5be9" - -SRC_URI = "git://github.com/westerndigitalcorporation/ufs-tool.git;protocol=git;branch=${BRANCH}" - -S = "${WORKDIR}/git" - -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}"" - -do_configure() { - sed -i -e "s|-static$||g" ${S}/Makefile -} -do_install() { - install -d ${D}${bindir}/ - install -c -m 755 ${S}/ufs-tool ${D}${bindir}/ -} diff --git a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Replace-u_intXX_t-with-kernel-typedefs.patch b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Replace-u_intXX_t-with-kernel-typedefs.patch new file mode 100644 index 0000000000..e69a3cf1ff --- /dev/null +++ b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Replace-u_intXX_t-with-kernel-typedefs.patch @@ -0,0 +1,54 @@ +From 6cf6f5b9c39dfd0d46f2069c3baeab92ae980367 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 15 Dec 2019 00:58:13 -0800 +Subject: [PATCH] Replace u_intXX_t with kernel typedefs + +u_intXX_t requires including sys/types.h which might not work in kernel +code, if this header is used in a kernel module + +Fixes +| In file included from ufs.c:16: +| In file included from ./ufs.h:9: +| ./scsi_bsg_util.h:131:2: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? +| u_int16_t result; +| ^~~~~~~~~ + +Upstream-Status: Submitted [https://github.com/westerndigitalcorporation/ufs-utils/pull/23] + +Signed-off-by: Khem Raj +--- + scsi_bsg_util.h | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/scsi_bsg_util.h b/scsi_bsg_util.h +index 3f8a482..497c3ae 100644 +--- a/scsi_bsg_util.h ++++ b/scsi_bsg_util.h +@@ -121,15 +121,15 @@ struct ufs_bsg_reply { + #endif /* SCSI_BSG_UFS_H.*/ + + struct rpmb_frame { +- u_int8_t stuff[196]; +- u_int8_t key_mac[32]; +- u_int8_t data[256]; +- u_int8_t nonce[16]; +- u_int32_t write_counter; +- u_int16_t addr; +- u_int16_t block_count; +- u_int16_t result; +- u_int16_t req_resp; ++ __u8 stuff[196]; ++ __u8 key_mac[32]; ++ __u8 data[256]; ++ __u8 nonce[16]; ++ __u32 write_counter; ++ __u16 addr; ++ __u16 block_count; ++ __u16 result; ++ __u16 req_resp; + }; + + #define BSG_REPLY_SZ (sizeof(struct ufs_bsg_reply)) +-- +2.24.1 + diff --git a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_git.bb b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_git.bb new file mode 100644 index 0000000000..5fdd089aef --- /dev/null +++ b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_git.bb @@ -0,0 +1,32 @@ +SUMMARY = "Tool to access UFS (Universal Flash Storage) devices" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" + +PV = "1.6+git${SRCPV}" + +BRANCH ?= "dev" + +SRCREV = "a3cf93b66f4606a46354cf884d24aa966661f848" + +SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=git;branch=${BRANCH} \ + file://0001-Replace-u_intXX_t-with-kernel-typedefs.patch \ +" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}"" + +CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__ -D_GNU_SOURCE" + +do_configure() { + sed -i -e "s|-static$||g" ${S}/Makefile +} + +do_install() { + install -D -m 755 ${S}/ufs-utils ${D}${bindir}/ufs-utils +} + +PROVIDES += "ufs-tool" + +RPROVIDES_${PN} += "ufs-tool" + From patchwork Mon Dec 16 03:41:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181641 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp3821578ile; Sun, 15 Dec 2019 19:42:59 -0800 (PST) X-Google-Smtp-Source: APXvYqxHJbtb26A2oUmHc9oR4oW/B1HOn3kVtSPTlDaYh8AMcnrdLXBDmJm4KZ2X8GelpW4b3Ja/ X-Received: by 2002:a17:902:64:: with SMTP id 91mr13967478pla.307.1576467779163; Sun, 15 Dec 2019 19:42:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576467779; cv=none; d=google.com; s=arc-20160816; b=WI4iDEStjMbkPHsx0AbBcv/t+wL1RkO5Ximc7KoIDSQtgYuyifac1fnm4m01dv4WAT QE0ybJobnjO8MiQuwYMOrPgG82e+bZZ2GLkycKgmBybzoLKPrlKQjG2h63wJww+kS10o 6KnyU2Xl4ZgEr0GPc88tnQSySCtOBDrQH2IRSL0IlJZEX1lClcWaTmR5Ygejm/K/dJHi ovWxfod6o4+swHRhnYIf0jGhqsGKIKwDFbqmSnhG6kjSyt90MX62yyMPzg4zGZh6iqkx /H9tBK28MIfps4Rgxb75teZHMXVaXiJ4M2HsMcb/x9efTTV1DCJ2vNN4yy0NayvZuKIR fxGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=QTh/y7rEBBKgiSM+5fGQnZrsHokEXpCC3vfZsXzSKP8=; b=X+lpQfB8KMvKh9RGJtEh+COKmpDfiKBioZ2DaV2AzdBcTdxh88dS7vTbufE+sRZ3Bm mQ5i2nMgeB5ZtkIK22sAcypz6oNu8djhQVGxYYpEhqSTNDowXo/BgH7lTFdm4giao+Tr ejdTrME8LW+2hccuUPi9qgJj10EoiCVD1zaUtvaxAxwqWLesageLzEgLdSxtcqDdLkl8 +Kusg28LH5iFg8360JST+YwLZ7tnB6XMLCek4rnVQNlsMGYBDsgXQB+ebR3LbGzdpVDW MtOLXBaYbmsWS5RRqJVVBL1Rro/TBiOtaXcZYNCWEy9bhtbmoK7DKtMtR4ocWcwtlNQv 3Pag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Oki11rHm; 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=QUARANTINE 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 j12si18291082pgb.207.2019.12.15.19.42.58; Sun, 15 Dec 2019 19:42:59 -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=Oki11rHm; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 088397F7E6; Mon, 16 Dec 2019 03:42:56 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mail.openembedded.org (Postfix) with ESMTP id DE8A07F7CD for ; Mon, 16 Dec 2019 03:42:10 +0000 (UTC) Received: by mail-pf1-f175.google.com with SMTP id h14so2919895pfe.10 for ; Sun, 15 Dec 2019 19:42:11 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=Y5dYAuW8SwGi/JuaT5AUYE8FvleAHUf6M3zTRYHKWgw=; b=Oki11rHm3XL2J3HX3vaTBI1VRv9jc2mWWPuO0DolQykf1//8snkjtkA/OYyE8GApnU HBVctDuoRNst2ct1LBuR3cvsnfR1ZG3Sycr37E/M9UMIGGGYfi+GMhpmaul0Yww3kTw/ oBCmlV1UvWLIDP41kf8TTyIiO0tRkJJKwnRI574W3fZRwGJYNlNRLPmDOAOmPxqjG+c8 xeLvZFCDfY0ZAz5ejDq7avPuZmATdVwJNHWbhBAN1ybV1eguWzKqk4A6XQG0MPuZrAIp K8RykWyuLYZitB/6L2etq1XV13WTXcv9MjmAEAHUZn/NJKsNNIOiI8FszxrozWMeKwgO fEFg== 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:mime-version:content-transfer-encoding; bh=Y5dYAuW8SwGi/JuaT5AUYE8FvleAHUf6M3zTRYHKWgw=; b=NtjxzfvlPhDZc7vqg+V8t4ZIgbGiJpGYzaI5XxV4Gq+eJJeZcMlsepjXE7odl82jm7 sHJn5e59+Kw56v18VzxXjAk3bIYkyqjKIGffMEhfH95bPg6Tjzz8f/yn1D+fts1ksd0j IiMdsMMl4XUgGVZuGr/yLtVbDZ3f+T7mbTNTL95UlWbecu2Xh8cpv97ErtJb2xysI22Z Q593bjcVdE3K29+L3n7JxgcL2sM9335aN+Wd9p3PFYk2iKtPD43V91H3p2cwS2PWchoI RXCWKMXXvQUy5gR0Z/Q5qHyDR/+PnIuYTZtQOcUVpf7HwzPl73NUPPyEra0vcjSi6VL0 SX+g== X-Gm-Message-State: APjAAAWfyyOpR2qhMWH2A+fb45i0NxcRcqTz2mMiNVzBDAA9GEKaoJTS aP9N4wGDmpse8X4vL9T19NthF2hjl3I= X-Received: by 2002:a63:646:: with SMTP id 67mr15753033pgg.150.1576467730487; Sun, 15 Dec 2019 19:42:10 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::6563]) by smtp.gmail.com with ESMTPSA id a22sm21336106pfk.108.2019.12.15.19.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2019 19:42:10 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 15 Dec 2019 19:41:52 -0800 Message-Id: <20191216034155.2675900-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191216034155.2675900-1-raj.khem@gmail.com> References: <20191216034155.2675900-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/5] breakpad: Update to latest upstream 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Drop upstreamed patch Adjust syscalls for mips64 Drop fpregset_t/mcontext alternatives for musl Signed-off-by: Khem Raj --- ...t-add-stack-pointer-to-clobber-list.patch} | 57 +++++++----------- ...isable-calls-to-getcontext-with-musl.patch | 10 ++-- ...001-lss-Match-syscalls-to-match-musl.patch | 25 +++++--- .../breakpad/breakpad/mcontext.patch | 59 ------------------- .../recipes-devtools/breakpad/breakpad_git.bb | 12 ++-- 5 files changed, 50 insertions(+), 113 deletions(-) rename meta-oe/recipes-devtools/breakpad/breakpad/{dont-clobber-rsp.patch => 0001-Do-not-add-stack-pointer-to-clobber-list.patch} (52%) -- 2.24.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/dont-clobber-rsp.patch b/meta-oe/recipes-devtools/breakpad/breakpad/0001-Do-not-add-stack-pointer-to-clobber-list.patch similarity index 52% rename from meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch rename to meta-oe/recipes-devtools/breakpad/breakpad/0001-Do-not-add-stack-pointer-to-clobber-list.patch index edf903552d..6e58490980 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch +++ b/meta-oe/recipes-devtools/breakpad/breakpad/0001-Do-not-add-stack-pointer-to-clobber-list.patch @@ -1,26 +1,26 @@ -From d1d7b616219fd47736c804ff4c2f393d7184a75b Mon Sep 17 00:00:00 2001 +From 5c63eb5d56abd4e5232add4727247965a863d851 Mon Sep 17 00:00:00 2001 From: Khem Raj -Date: Sun, 23 Dec 2018 16:58:04 -0800 -Subject: [PATCH] chromium: stack pointer clobber +Date: Sun, 15 Dec 2019 14:02:45 -0800 +Subject: [PATCH] Do not add stack pointer to clobber list -Do not add stack pointer to clobber list +It was being ignored until now when gcc 9.0 became capable +of flagging these silent ignore via [1]. -it was being ignored until gcc 9.0 became capable -of flagging this silent ignoring via [1] +We weren't actually clobbering the stack pointers here +so it should not cause change in behavior. -[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52813 +[1] https://gcc.gnu.org/PR52813 -Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/linux-syscall-support/+/1390160] Signed-off-by: Khem Raj --- - src/third_party/lss/linux_syscall_support.h | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) + linux_syscall_support.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) -Index: b/src/third_party/lss/linux_syscall_support.h -=================================================================== ---- a/src/third_party/lss/linux_syscall_support.h -+++ b/src/third_party/lss/linux_syscall_support.h -@@ -1957,7 +1957,7 @@ struct kernel_statfs { +diff --git a/linux_syscall_support.h b/linux_syscall_support.h +index 9276f56..6e73309 100644 +--- a/linux_syscall_support.h ++++ b/linux_syscall_support.h +@@ -1955,7 +1955,7 @@ struct kernel_statfs { LSS_ENTRYPOINT \ "pop %%ebx" \ args \ @@ -29,16 +29,7 @@ Index: b/src/third_party/lss/linux_syscall_support.h LSS_RETURN(type,__res) #undef _syscall0 #define _syscall0(type,name) \ -@@ -1966,7 +1966,7 @@ struct kernel_statfs { - __asm__ volatile(LSS_ENTRYPOINT \ - : "=a" (__res) \ - : "0" (__NR_##name) \ -- : "esp", "memory"); \ -+ : "memory"); \ - LSS_RETURN(type,__res); \ - } - #undef _syscall1 -@@ -2014,7 +2014,7 @@ struct kernel_statfs { +@@ -2012,7 +2012,7 @@ struct kernel_statfs { : "i" (__NR_##name), "ri" ((long)(arg1)), \ "c" ((long)(arg2)), "d" ((long)(arg3)), \ "S" ((long)(arg4)), "D" ((long)(arg5)) \ @@ -47,7 +38,7 @@ Index: b/src/third_party/lss/linux_syscall_support.h LSS_RETURN(type,__res); \ } #undef _syscall6 -@@ -2036,7 +2036,7 @@ struct kernel_statfs { +@@ -2034,7 +2034,7 @@ struct kernel_statfs { : "i" (__NR_##name), "0" ((long)(&__s)), \ "c" ((long)(arg2)), "d" ((long)(arg3)), \ "S" ((long)(arg4)), "D" ((long)(arg5)) \ @@ -56,7 +47,7 @@ Index: b/src/third_party/lss/linux_syscall_support.h LSS_RETURN(type,__res); \ } LSS_INLINE int LSS_NAME(clone)(int (*fn)(void *), void *child_stack, -@@ -2122,7 +2122,7 @@ struct kernel_statfs { +@@ -2120,7 +2120,7 @@ struct kernel_statfs { : "0"(-EINVAL), "i"(__NR_clone), "m"(fn), "m"(child_stack), "m"(flags), "m"(arg), "m"(parent_tidptr), "m"(newtls), "m"(child_tidptr) @@ -65,12 +56,6 @@ Index: b/src/third_party/lss/linux_syscall_support.h LSS_RETURN(int, __res); } -@@ -2407,7 +2407,7 @@ struct kernel_statfs { - "d"(LSS_SYSCALL_ARG(parent_tidptr)), - "r"(LSS_SYSCALL_ARG(newtls)), - "r"(LSS_SYSCALL_ARG(child_tidptr)) -- : "rsp", "memory", "r8", "r10", "r11", "rcx"); -+ : "memory", "r8", "r10", "r11", "rcx"); - } - LSS_RETURN(int, __res); - } +-- +2.24.1 + diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch b/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch index bc79727edd..466abe5f87 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch +++ b/meta-oe/recipes-devtools/breakpad/breakpad/0001-disable-calls-to-getcontext-with-musl.patch @@ -8,11 +8,9 @@ Signed-off-by: Andre McCurdy src/client/linux/handler/exception_handler.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -Index: git/src/client/linux/handler/exception_handler.cc -=================================================================== ---- git.orig/src/client/linux/handler/exception_handler.cc -+++ git/src/client/linux/handler/exception_handler.cc -@@ -495,7 +495,19 @@ bool ExceptionHandler::SimulateSignalDel +--- a/src/client/linux/handler/exception_handler.cc ++++ b/src/client/linux/handler/exception_handler.cc +@@ -490,7 +490,19 @@ bool ExceptionHandler::SimulateSignalDel siginfo.si_code = SI_USER; siginfo.si_pid = getpid(); ucontext_t context; @@ -32,7 +30,7 @@ Index: git/src/client/linux/handler/exception_handler.cc return HandleSignal(sig, &siginfo, &context); } -@@ -680,9 +692,14 @@ bool ExceptionHandler::WriteMinidump() { +@@ -675,9 +687,14 @@ bool ExceptionHandler::WriteMinidump() { sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); CrashContext context; diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/0001-lss-Match-syscalls-to-match-musl.patch b/meta-oe/recipes-devtools/breakpad/breakpad/0001-lss-Match-syscalls-to-match-musl.patch index 2b892ad64f..bdd787afd5 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad/0001-lss-Match-syscalls-to-match-musl.patch +++ b/meta-oe/recipes-devtools/breakpad/breakpad/0001-lss-Match-syscalls-to-match-musl.patch @@ -8,11 +8,9 @@ Signed-off-by: Khem Raj linux_syscall_support.h | 3 +++ 1 file changed, 3 insertions(+) -Index: lss/linux_syscall_support.h -=================================================================== ---- lss.orig/linux_syscall_support.h -+++ lss/linux_syscall_support.h -@@ -793,6 +793,9 @@ struct kernel_statfs { +--- a/linux_syscall_support.h ++++ b/linux_syscall_support.h +@@ -816,6 +816,9 @@ struct kernel_statfs { #define FUTEX_TRYLOCK_PI_PRIVATE (FUTEX_TRYLOCK_PI | FUTEX_PRIVATE_FLAG) #endif @@ -22,7 +20,7 @@ Index: lss/linux_syscall_support.h #if defined(__x86_64__) #ifndef ARCH_SET_GS -@@ -924,6 +927,7 @@ struct kernel_statfs { +@@ -947,6 +950,7 @@ struct kernel_statfs { #ifndef __NR_fallocate #define __NR_fallocate 324 #endif @@ -30,7 +28,7 @@ Index: lss/linux_syscall_support.h /* End of i386 definitions */ #elif defined(__ARM_ARCH_3__) || defined(__ARM_EABI__) #ifndef __NR_setresuid -@@ -1211,6 +1215,12 @@ struct kernel_statfs { +@@ -1239,6 +1243,12 @@ struct kernel_statfs { #ifndef __NR_fallocate #define __NR_fallocate 285 #endif @@ -43,3 +41,16 @@ Index: lss/linux_syscall_support.h /* End of x86-64 definitions */ #elif defined(__mips__) #if _MIPS_SIM == _MIPS_SIM_ABI32 +@@ -1418,6 +1428,12 @@ struct kernel_statfs { + #ifndef __NR_ioprio_get + #define __NR_ioprio_get (__NR_Linux + 274) + #endif ++ ++#undef __NR_pread ++#define __NR_pread __NR_pread64 ++#undef __NR_pwrite ++#define __NR_pwrite __NR_pwrite64 ++ + /* End of MIPS (64bit API) definitions */ + #else + #ifndef __NR_setresuid diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/mcontext.patch b/meta-oe/recipes-devtools/breakpad/breakpad/mcontext.patch index 42e073b94d..51393967bc 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad/mcontext.patch +++ b/meta-oe/recipes-devtools/breakpad/breakpad/mcontext.patch @@ -3,48 +3,6 @@ map the mcontext_t structure for musl Upstream-Status: Inappropriate[need to consider Android] Signed-off-by: Khem Raj -Index: git/src/client/linux/dump_writer_common/thread_info.cc -=================================================================== ---- git.orig/src/client/linux/dump_writer_common/thread_info.cc -+++ git/src/client/linux/dump_writer_common/thread_info.cc -@@ -229,7 +229,6 @@ void ThreadInfo::FillCPUContext(RawConte - } - - #elif defined(__mips__) -- - uintptr_t ThreadInfo::GetInstructionPointer() const { - return mcontext.pc; - } -@@ -263,8 +262,11 @@ void ThreadInfo::FillCPUContext(RawConte - out->cause = 0; // Not stored in mcontext - - for (int i = 0; i < MD_FLOATINGSAVEAREA_MIPS_FPR_COUNT; ++i) -+#ifdef __GLIBC__ - out->float_save.regs[i] = mcontext.fpregs.fp_r.fp_fregs[i]._fp_fregs; -- -+#else -+ out->float_save.regs[i] = mcontext.fpregs[i]; -+#endif - out->float_save.fpcsr = mcontext.fpc_csr; - #if _MIPS_SIM == _ABIO32 - out->float_save.fir = mcontext.fpc_eir; -Index: git/src/client/linux/dump_writer_common/ucontext_reader.cc -=================================================================== ---- git.orig/src/client/linux/dump_writer_common/ucontext_reader.cc -+++ git/src/client/linux/dump_writer_common/ucontext_reader.cc -@@ -247,8 +247,11 @@ void UContextReader::FillCPUContext(RawC - out->cause = 0; // Not reported in signal context. - - for (int i = 0; i < MD_FLOATINGSAVEAREA_MIPS_FPR_COUNT; ++i) -+#ifdef __GLIBC__ - out->float_save.regs[i] = uc->uc_mcontext.fpregs.fp_r.fp_dregs[i]; -- -+#else -+ out->float_save.regs[i] = uc->uc_mcontext.fpregs[i]; -+#endif - out->float_save.fpcsr = uc->uc_mcontext.fpc_csr; - #if _MIPS_SIM == _ABIO32 - out->float_save.fir = uc->uc_mcontext.fpc_eir; // Unused. Index: git/src/client/linux/minidump_writer/linux_core_dumper.cc =================================================================== --- git.orig/src/client/linux/minidump_writer/linux_core_dumper.cc @@ -58,20 +16,3 @@ Index: git/src/client/linux/minidump_writer/linux_core_dumper.cc for (int i = EF_R0; i <= EF_R31; i++) info.mcontext.gregs[i - EF_R0] = status->pr_reg[i]; #else // __ANDROID__ -Index: git/src/tools/linux/md2core/minidump-2-core.cc -=================================================================== ---- git.orig/src/tools/linux/md2core/minidump-2-core.cc -+++ git/src/tools/linux/md2core/minidump-2-core.cc -@@ -516,8 +516,12 @@ ParseThreadRegisters(CrashedProcess::Thr - thread->mcontext.lo3 = rawregs->lo[2]; - - for (int i = 0; i < MD_FLOATINGSAVEAREA_MIPS_FPR_COUNT; ++i) { -+#ifdef __GLIBC__ - thread->mcontext.fpregs.fp_r.fp_fregs[i]._fp_fregs = - rawregs->float_save.regs[i]; -+#else -+ thread->mcontext.fpregs[i] = rawregs->float_save.regs[i]; -+#endif - } - - thread->mcontext.fpc_csr = rawregs->float_save.fpcsr; diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb index 06f3ee87da..ff5acbeac2 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb +++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb @@ -19,11 +19,11 @@ PV = "1.0" SRCREV_FORMAT = "breakpad_gtest_protobuf_lss_gyp" -SRCREV_breakpad = "5467393a3d1e7ab929fd01d79971701bf4e2c2c6" -#v1.8.0 -SRCREV_gtest = "ec44c6c1675c25b9827aacd08c02433cccde7780" +SRCREV_breakpad = "0c0e24f709288a129d665ec27d6f089189318385" +#v1.10.0 +SRCREV_gtest = "5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081" SRCREV_protobuf = "cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac" -SRCREV_lss = "a89bf7903f3169e6bc7b8efc10a73a7571de21cf" +SRCREV_lss = "8048ece6c16c91acfe0d36d1d3cc0890ab6e945c" SRCREV_gyp = "324dd166b7c0b39d513026fa52d6280ac6d56770" SRC_URI = "git://github.com/google/breakpad;name=breakpad \ @@ -42,7 +42,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad \ file://0001-disable-calls-to-getcontext-with-musl.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 \ - file://dont-clobber-rsp.patch;patchdir=src/third_party/lss;striplevel=4 \ + file://0001-Do-not-add-stack-pointer-to-clobber-list.patch;patchdir=src/third_party/lss \ " S = "${WORKDIR}/git" @@ -121,3 +121,5 @@ breakpad_populate_sysroot() { #| make: *** [src/client/linux/handler/exception_handler.o] Error 1 ARM_INSTRUCTION_SET_armv5 = "arm" ARM_INSTRUCTION_SET_armv4 = "arm" + +TOOLCHAIN = "gcc" From patchwork Mon Dec 16 03:41:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181642 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp3821648ile; Sun, 15 Dec 2019 19:43:05 -0800 (PST) X-Google-Smtp-Source: APXvYqwozyps6KnHwVLOAoiIeJSMGokLjULZzEquk1Pq4zKH69qBGISQ117V/AcMrAsXN25Frm5m X-Received: by 2002:a65:5a4d:: with SMTP id z13mr15584737pgs.21.1576467785668; Sun, 15 Dec 2019 19:43:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576467785; cv=none; d=google.com; s=arc-20160816; b=auT7X7Hacy24uLZ8uBUCizymjyUXKvI2Yqpx2k1aAq1JGaP4Xv16IA+VglBFOsHNIb dtFlrFH0xX0G9XwJdqHPkWmID74yiNcu/7CWG+i1ymlffb6+zi11zv3NW8eXGyMyNyAO CzKVLpL8NC3W9GWvWmSfYXrHDJAXDjVCgmQPu2p8vQJRWrJih4zDcUNTf5MVFkqUPxUY 3hBe5qO+PRfTCjwYn11AvjvczUZ2QwEqz6e33WaoOhu4J5xxRxRAfwbQF/gvBnPYon83 8H7xiH9GId9D9uGsEX1KTDtPpz2rCmKi8k+yLfBaO0RYf679PK4ibruT3A0CTMrUNk5g NuyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=o2quM7XMpUdfUPwZAvQ8WueWvx77DxF3JyBLoP/ftg8=; b=gRr6TKN1D/Z3vYTUgkhI9OJfFcJsOXU8KfNAOaxnAKK5rjiODq5Vn72G7kLmtsOXKL lH3ikGf9qvat47a62VCx8Na3Cb4T7SES9acw1ShZ3EoTMWU7FC/obLbUn2O2fB7BH/QK P8wEOxXp/twcObP+rGZurKak5O70s3KC/5Cwkpj2CEqi0bbSXYqF9arCbYOTva/ngjAF zynIdkgvY0s1vpn8PBCFJa6HdvPPqwK1y836OdWBul2sXdfD9BodqUivVu+dLFp7jnR8 c56eBlThbAIE2bm2q6CyP20pU9D2svh5bLgOyoYCdTS9kK/ZqQ9OE10hv3tJ5/AV4szM pwKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="PhMcr5C/"; 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=QUARANTINE 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 v5si17168959pgj.124.2019.12.15.19.43.05; Sun, 15 Dec 2019 19:43:05 -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="PhMcr5C/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 879DD7F845; Mon, 16 Dec 2019 03:42:57 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by mail.openembedded.org (Postfix) with ESMTP id 684F17F81C for ; Mon, 16 Dec 2019 03:42:10 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id c13so3857043pls.0 for ; Sun, 15 Dec 2019 19:42:12 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=1SMcBtJSbWqr8dJvPWQ5S1lxk1tdmTYl5rVFi6P6LbM=; b=PhMcr5C/Tlj515uMoA6vc2RyvYhIZuOnS7X+jJO761oIPOwxlB3c44sLtYN7VJK+FI avIA/PLhjvDJm+8uPKmvTkW38hVTLO1Tq93I8+p5CjazTEz/Z8Il3Pr4p97s30eSvWr5 5GLJgtPZdwrlSrFEvbS5HTIFSImhuIfJqqVZtp6JqdPMaLYtxUUWuN3T0CzOf3jGQtKF nwCkf2hawFX9djA1fe6KNVlxO0t6LmWcSZ1nI+BIOsffe/+ieIpZYDygQueYA8TMgxu8 tJWRZcOtsyE840ynS2pGJlHwpEe7ij9EVPD6NEAhAOnoDviMM64dgIiRIhn/LiN3vNNK iDbg== 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:mime-version:content-transfer-encoding; bh=1SMcBtJSbWqr8dJvPWQ5S1lxk1tdmTYl5rVFi6P6LbM=; b=rex5lb9Kep5QzJ3g0k4udHVUCv3uL64eH3YpnYsoCCqpUiwGzK/VavRZYvgR4HrOYH 3odgnC/aUJ9WKWwq6OIWsBaahk/fAnJG0g2+GsFVUuVcIjHw9N+i632hch+hEODBcukz uNCvgWU2uVdpvnLJ78ZI5aRsDMUE889BqTv1sazuAzm29umwZ6mNTQ130SejgbLmzKSU be8VtlDSuxiDUc6iEw9x8ts8fJemjSjjnfiSIWlk0bBAhZgXD3aBeNBUnuugFPVgW2O1 sSdDR375X+jw5X46tN8bejjTbg/k3VW/Dl1d3bnw3NPJneVLTPwWIgJM5wGhHscPXXPu cDwQ== X-Gm-Message-State: APjAAAX3VFSsKnDLNf/HLQPvCPXV8mboXE3OJgKGPZDDrevAc6JxyPKm DHc+O6rRB+NJOS0A6C0K7GpdiAoJi3I= X-Received: by 2002:a17:90b:252:: with SMTP id fz18mr15540234pjb.49.1576467731258; Sun, 15 Dec 2019 19:42:11 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::6563]) by smtp.gmail.com with ESMTPSA id a22sm21336106pfk.108.2019.12.15.19.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2019 19:42:10 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 15 Dec 2019 19:41:53 -0800 Message-Id: <20191216034155.2675900-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191216034155.2675900-1-raj.khem@gmail.com> References: <20191216034155.2675900-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 3/5] rsyslog: Sync VALGRIND supported arch list 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This list should be same as the valgrind recipe Signed-off-by: Khem Raj --- .../rsyslog/rsyslog_8.1910.0.bb | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.1910.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.1910.0.bb index 8287d2b7fe..89ccc6d751 100644 --- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.1910.0.bb +++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.1910.0.bb @@ -162,12 +162,26 @@ RDEPENDS_${PN} += "logrotate" # for rsyslog-ptest VALGRIND = "valgrind" -VALGRIND_mips = "" -VALGRIND_mips64 = "" -VALGRIND_mips64n32 = "" -VALGRIND_arm = "" -VALGRIND_aarch64 = "" + +# valgrind supports armv7 and above +VALGRIND_armv4 = '' +VALGRIND_armv5 = '' +VALGRIND_armv6 = '' + +# X32 isn't supported by valgrind at this time +VALGRIND_linux-gnux32 = '' +VALGRIND_linux-muslx32 = '' + +# Disable for some MIPS variants +VALGRIND_mipsarchr6 = '' +VALGRIND_linux-gnun32 = '' + +# Disable for powerpc64 with musl +VALGRIND_libc-musl_powerpc64 = '' + +# RISC-V support for valgrind is not there yet VALGRIND_riscv64 = "" + RDEPENDS_${PN}-ptest += "\ make diffutils gzip bash gawk coreutils procps \ libgcc python-core python-io \ From patchwork Mon Dec 16 03:41:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181643 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp3821725ile; Sun, 15 Dec 2019 19:43:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzDM4rOvraukCTrye5ml5vRCzwZ2EKwPh4rIhLlp8yExUeXrp0lfMMb4vVXPxX92jfmlD0n X-Received: by 2002:a63:cf14:: with SMTP id j20mr15503841pgg.430.1576467792818; Sun, 15 Dec 2019 19:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576467792; cv=none; d=google.com; s=arc-20160816; b=IqiGPWZGLwhqykSKRb9HcYaGeV75Gd01nI6SwwgsWvXK1EWm5Fz+wHtOv7o9xoPMVp uMTn3jiD0qEwPBxJYak/bgk2tIAqqdV6kd+zsE/vUZOVMr5bvCmur/VuQ8vourChdaHx mQVDp/ivsTPr3cz0Z7C8UqjOyiJr2tvLBU6+TzRxDEC8ac371cIeyGCQOWQEqbDp6dTb /OOHwGCRmprFoa031YCVnK7lXwakvAI+RmmPMhpb0APYRVd9UGBmHom0N9ppg3d4VCRS 0O+8t44QD+QjOAgojCkvt4RghQ1OvyfXROY8Kj0A4GMRLzec9nhHCCtsOkWOLwHODZDb aaXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=tYjyMgM2mlmU2MSQGiRc/cE7as1pjP4Y4XOgakTVArE=; b=f+IVyJjSCTu3DKBLhL7YX86CTfqVNMyLovmhENxp2ctD6G56VOtbmhG3CPH3LmPLEN 3Mi5YhzqQfYHp3OG3sbDRyQUfFnR7kkVTZJy06xbwxIlilFDq3AMH/G9Pm1jp11/f3yk A1ZV+IRZMkN0u11gJD+rOD04Zo81UyyW74rTmR2DYIncdktJz5JbJR7UNI6neXxIvcaQ 19GtIYu+X51M+DMwJHpgffq7zshpqKAZKVHAeESbTFPlfJV1nqwyUU4UWyikpCVQvmjd JXpvt1S3p3Y5Bh71dpJH3j85UqTF2cbbktkpj5WVmw3Gu1IRYVHyytQ3PXV/7c5h45pl PGcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gYbYcjvU; 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=QUARANTINE 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 129si16687608pga.323.2019.12.15.19.43.12; Sun, 15 Dec 2019 19:43:12 -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=gYbYcjvU; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AFFF87F897; Mon, 16 Dec 2019 03:42:58 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mail.openembedded.org (Postfix) with ESMTP id F16587F7E6 for ; Mon, 16 Dec 2019 03:42:11 +0000 (UTC) Received: by mail-pl1-f174.google.com with SMTP id g6so3841176plp.7 for ; Sun, 15 Dec 2019 19:42:13 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=k+pLY7vnsFttHZc1pO6iKNd0ESINioR7hivNDWBOipI=; b=gYbYcjvUtEcGQyhR9SEQ8uGgdQVYxBrhISrQDCKMpWJbhdu3AOzDslxfv3JXbdcbvs nYOQ+P38iRwT/laJ7Q6QLOXo9a/AiuHdaUf7rBquAf7ol/LACCyn5ie6XyYw/r9gSdGJ eZbnItXy0CfZAm5qEZYVfYdyRHUwKir1kR39KhwenFdun01MU89Jhmc9m8Nh+Lo3Tu5U rBQzalzV2jOdDUr0/nhgBqPojV7BYD3iiGO+BgXzPuMltNWOWWSlTEbllNzdxWZ9tP19 F4vphGDP5rS9uL+IOoacSjjgVvgzimoY6Pxu6zZ8+o3p0wSzO8+BOl1L7NGw5AjB/X0s iBIQ== 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:mime-version:content-transfer-encoding; bh=k+pLY7vnsFttHZc1pO6iKNd0ESINioR7hivNDWBOipI=; b=lPqNVxCgfPzzbT2tLNuBoWgKPw+mYBdqvqdl3ZCd2r73B9NKj0kyqC7c5/XUZ9pY05 6W79lnCzrwO4ywOS9j4ZyHX2zw0ZGDhiC31ZrdLf1KMUzyFMebPRiTO4REUcNYJpQawf IFhOAKNn0W52K1LaTDRehugihxDkTOE4r2Jr5AoEr21uwvZuCwTlOGjh9yh2CvtmWCdq Ddztpl8EN5fuXRxsia8PvDMbCi9Lj1JgLTgH8P6v8endnvVzCjhKvPSHo1qc/Hfu2yAc Gn9YVf1hk2xPo0C0L5B76vfbOGu0TEO+U49HBJMWJfbxs7fofxYZJpi2T4YGFa41op1j WEbg== X-Gm-Message-State: APjAAAVh+uJ0v4r/UceKhK2Ez/Grqp8l64WzjRiaWR8zhmypUDnq3CqF Xd90WGTZudQM6Y3ORbsV75cpieGdtfw= X-Received: by 2002:a17:902:be10:: with SMTP id r16mr14084560pls.169.1576467731961; Sun, 15 Dec 2019 19:42:11 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::6563]) by smtp.gmail.com with ESMTPSA id a22sm21336106pfk.108.2019.12.15.19.42.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2019 19:42:11 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 15 Dec 2019 19:41:54 -0800 Message-Id: <20191216034155.2675900-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191216034155.2675900-1-raj.khem@gmail.com> References: <20191216034155.2675900-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 4/5] packagegroup-meta-oe: Remove ppc64 specific incompatible packages 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 3 +++ 1 file changed, 3 insertions(+) -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index bd1609dc70..31c3f4e95d 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb @@ -93,6 +93,7 @@ RDEPENDS_packagegroup-meta-oe-bsp ="\ " RDEPENDS_packagegroup-meta-oe-bsp_remove_mipsarch = "efivar efibootmgr" RDEPENDS_packagegroup-meta-oe-bsp_remove_powerpc = "efivar efibootmgr" +RDEPENDS_packagegroup-meta-oe-bsp_remove_powerpc64 = "efivar efibootmgr" RDEPENDS_packagegroup-meta-oe-bsp_remove_riscv64 = "efivar efibootmgr" RDEPENDS_packagegroup-meta-oe-bsp_remove_riscv32 = "efivar efibootmgr" @@ -123,6 +124,7 @@ RDEPENDS_packagegroup-meta-oe-devtools_remove_mipsarch = "uftrace lshw" RDEPENDS_packagegroup-meta-oe-devtools_remove_mips64 = "nodejs" RDEPENDS_packagegroup-meta-oe-devtools_remove_mips64el = "nodejs" RDEPENDS_packagegroup-meta-oe-devtools_remove_powerpc = "android-tools breakpad uftrace lshw" +RDEPENDS_packagegroup-meta-oe-devtools_remove_powerpc64 = "android-tools uftrace lshw" RDEPENDS_packagegroup-meta-oe-devtools_remove_riscv64 = "nodejs uftrace lshw" RDEPENDS_packagegroup-meta-oe-devtools_remove_riscv32 = "nodejs uftrace lshw" @@ -153,6 +155,7 @@ RDEPENDS_packagegroup-meta-oe-extended ="\ " RDEPENDS_packagegroup-meta-oe-extended_remove_mipsarch = "upm mraa tiptop" RDEPENDS_packagegroup-meta-oe-extended_remove_powerpc = "upm mraa" +RDEPENDS_packagegroup-meta-oe-extended_remove_powerpc64 = "upm mraa" RDEPENDS_packagegroup-meta-oe-extended_remove_riscv64 = "upm mraa tiptop" RDEPENDS_packagegroup-meta-oe-extended_remove_riscv32 = "upm mraa tiptop" RDEPENDS_packagegroup-meta-oe-extended_remove_libc-musl = "lcdproc" From patchwork Mon Dec 16 03:41:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 181644 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp3821801ile; Sun, 15 Dec 2019 19:43:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzNhuyyXNV96rmhcWfSQxkYF/h9UXKriiEgUB9HhRfoyYfzw7Dm4WkvrUMittwERaaO/CXk X-Received: by 2002:a63:1322:: with SMTP id i34mr15925932pgl.163.1576467800120; Sun, 15 Dec 2019 19:43:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576467800; cv=none; d=google.com; s=arc-20160816; b=OQHlz9Z/hR2rjF6tVeKLqsdK4DbHPPrpgVjFaDmch9voQZOLoqzDbcFpc0e5BjHcmA KtQSlm+8/mq9VvD3RDPwWSO+HKIycjrZQNv+dZDBbGQ/XHX7t+QHEnkEZNTudW/XVXfD qpnhhIcgTB7huA4zD9T/MPxG0sAGkf+QhBt+UCvd9JpoT0Dgba151iPBhAPzaEwGV7+x BIaDQnUdlgF0n7pRW17FpN88dzQkazSZgiv/LaCoRcFKPYXCtD4+ilw4P9NTNY4aHzWl maUHpMYFzSls5jcgMYjWh2S68BbTflXaDUxd27eb0GDTrvFDc9zt1yh7cY3DM9G2+tA6 NsMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=6b+xSWCjOgkLR2+CepWU/lJarunNfvASausVnReYjcM=; b=Z3kDvkFmFTnrDmLxwaB/8rvBrJNeL0/MARAMuhVedPXjAAn7P90/qzBNF5jD5FblOr 8fShLK6qQPi3YzdQZ7DD32Ym+x1+e9PjoibZIyRUB1xEndfDm9VIVtpD23zbKskfTfMu UqoigFnrJRlChWLWAhMIxCm66apTYFwPPPVDDX3WLIXNKWPk4I39shdAD55TDaDRJVq4 Zdk11JxCTrQD8W9XPh1uq0k3KgX0SLhDKhR66/KZSUMkXBpiVlnm/F6XZNnelzuEuPp+ lJDDpfbbHMZyR/6xQZDk2CxYAR1iKMDxdG7jspX2cE7Z3dzlTOqFBO1yjaduJDi3b1h+ md2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fGyi+eah; 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=QUARANTINE 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 x11si15675153pll.214.2019.12.15.19.43.19; Sun, 15 Dec 2019 19:43:20 -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=fGyi+eah; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4E52C7F88A; Mon, 16 Dec 2019 03:43:01 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mail.openembedded.org (Postfix) with ESMTP id E51D77F817 for ; Mon, 16 Dec 2019 03:42:13 +0000 (UTC) Received: by mail-pj1-f41.google.com with SMTP id r11so2339453pjp.12 for ; Sun, 15 Dec 2019 19:42:15 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=Zd/eDzVCau/hG0MdVrW9gA1WO9Os06OpI6jvBnwgm6I=; b=fGyi+eah+BgvwLGChDsUPQ9uw86skDrdSxzo9BeebI6s/Xj1WVlPBQ/G1V55/FNhfX YVEWjReN/WyQpwQadKgqW6JE6I9yQMJecP5dzpOnnlBkHZSZKlJVTVSkPt+J+iZ/SrND AsIUgL97dRxOtlVApXekRti6HPH0lXexrmjw+D/8zB9IOf7LwordZcH4OPmG4NsdNOzU DOjFLP+X+bLjrvb+hVcYXJJwU8EGEfPK3s0MxfIby56WhomV/bFiMMX224HBDAjQHk8C exz/cLY6AE2RKCROdibFmygEj+m7qCGPwwNA9au/q3qmkyayoMsinFRE1yeTnoR6YzI1 tztQ== 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:mime-version:content-transfer-encoding; bh=Zd/eDzVCau/hG0MdVrW9gA1WO9Os06OpI6jvBnwgm6I=; b=B2rD4VfcEA8fZ5A2NuTzBnudOBf8i1ZZsOP/TT6aVn+FfAPhjAYuzf2abC93xJPUro XA9VqMoiL1l97p2RrNHp2w7mLbOgNlY3zTNiKoTg/annUjLcXS2SDd1qW9PYjUuNBWCg EsXvnLKPwkyRsHKgDjvXESfabMVuUQD9xL16WG4iSY4kd2+fqlEhPFRGJZA2FOXHX1wH E+4sVksGBHLXuoPVrVAXNUJKnRx9Ax+wIRCENPwbQbBXTrG4QRhzwD1Wfz4p1N+160/o gd6owsadMz5PaXSK+JpbF0MTH3XIiGQydowIikdFv6gcDM7KU1jqoWtfsweZlMf0xXhS VFvQ== X-Gm-Message-State: APjAAAVtslE/W01S/rE01bdjhemcoccQuHjciJcte5XjXcKC/tTKnAoj Kc3Bt0YwdlmCcxGCz9zKhASD11XgTMU= X-Received: by 2002:a17:90a:230b:: with SMTP id f11mr15265503pje.124.1576467734512; Sun, 15 Dec 2019 19:42:14 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::6563]) by smtp.gmail.com with ESMTPSA id a22sm21336106pfk.108.2019.12.15.19.42.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2019 19:42:13 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 15 Dec 2019 19:41:55 -0800 Message-Id: <20191216034155.2675900-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191216034155.2675900-1-raj.khem@gmail.com> References: <20191216034155.2675900-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 5/5] libpfm4: Moved here from oe-core 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Upgrade to 4.10.1 while here oprofile/ppc64 still depends on it Signed-off-by: Khem Raj --- ...Include-poll.h-instead-of-sys-poll.h.patch | 86 +++++++++++++++++++ .../recipes-kernel/libpfm/libpfm4_4.10.1.bb | 31 +++++++ 2 files changed, 117 insertions(+) create mode 100644 meta-oe/recipes-kernel/libpfm/libpfm4/0001-Include-poll.h-instead-of-sys-poll.h.patch create mode 100644 meta-oe/recipes-kernel/libpfm/libpfm4_4.10.1.bb -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-kernel/libpfm/libpfm4/0001-Include-poll.h-instead-of-sys-poll.h.patch b/meta-oe/recipes-kernel/libpfm/libpfm4/0001-Include-poll.h-instead-of-sys-poll.h.patch new file mode 100644 index 0000000000..fe13df2b53 --- /dev/null +++ b/meta-oe/recipes-kernel/libpfm/libpfm4/0001-Include-poll.h-instead-of-sys-poll.h.patch @@ -0,0 +1,86 @@ +From f62b629c1e1e968f90aafbc0cf9116b49eea9d8e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 15 Dec 2019 16:24:37 -0800 +Subject: [PATCH] Include poll.h instead of sys/poll.h + +Fixes +error: redirecting incorrect #include to [-Werror,-W#warnings] + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + perf_examples/branch_smpl.c | 2 +- + perf_examples/syst_smpl.c | 2 +- + perf_examples/task_attach_timeout.c | 2 +- + perf_examples/task_smpl.c | 2 +- + perf_examples/x86/bts_smpl.c | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/perf_examples/branch_smpl.c b/perf_examples/branch_smpl.c +index 87cd303..4d16b04 100644 +--- a/perf_examples/branch_smpl.c ++++ b/perf_examples/branch_smpl.c +@@ -32,7 +32,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +diff --git a/perf_examples/syst_smpl.c b/perf_examples/syst_smpl.c +index 04580fd..d059c08 100755 +--- a/perf_examples/syst_smpl.c ++++ b/perf_examples/syst_smpl.c +@@ -33,7 +33,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +diff --git a/perf_examples/task_attach_timeout.c b/perf_examples/task_attach_timeout.c +index 7fc5524..a0367c8 100644 +--- a/perf_examples/task_attach_timeout.c ++++ b/perf_examples/task_attach_timeout.c +@@ -36,7 +36,7 @@ + #include + #include + #include +-#include ++#include + + #include "perf_util.h" + +diff --git a/perf_examples/task_smpl.c b/perf_examples/task_smpl.c +index dcb7481..95c432c 100644 +--- a/perf_examples/task_smpl.c ++++ b/perf_examples/task_smpl.c +@@ -37,7 +37,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +diff --git a/perf_examples/x86/bts_smpl.c b/perf_examples/x86/bts_smpl.c +index 6498776..d66d5e6 100644 +--- a/perf_examples/x86/bts_smpl.c ++++ b/perf_examples/x86/bts_smpl.c +@@ -41,7 +41,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +-- +2.24.1 + diff --git a/meta-oe/recipes-kernel/libpfm/libpfm4_4.10.1.bb b/meta-oe/recipes-kernel/libpfm/libpfm4_4.10.1.bb new file mode 100644 index 0000000000..9b43b4a975 --- /dev/null +++ b/meta-oe/recipes-kernel/libpfm/libpfm4_4.10.1.bb @@ -0,0 +1,31 @@ +SUMMARY = "Monitoring tools exploiting the performance monitoring events" +DESCRIPTION = "This package provides a library, called libpfm4 which is used to develop \ +monitoring tools exploiting the performance monitoring events such as those \ +provided by the Performance Monitoring Unit (PMU) of modern processors." +HOMEPAGE = "http://perfmon2.sourceforge.net/" +BUGTRACKER = "http://sourceforge.net/tracker/?group_id=144822&atid=759953&source=navbar" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=0de488f3bd4424e308e2e399cb99c788" + +SECTION = "devel" + +COMPATIBLE_HOST = "powerpc64" + +SRC_URI = "${SOURCEFORGE_MIRROR}/perfmon2/${BPN}/libpfm-${PV}.tar.gz \ + file://0001-Include-poll.h-instead-of-sys-poll.h.patch \ + " +SRC_URI[md5sum] = "d8f66cb9bfa7e1434434e0de6409db5b" +SRC_URI[sha256sum] = "c61c575378b5c17ccfc5806761e4038828610de76e2e34fac9f7fa73ba844b49" + +UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/perfmon2/files/libpfm4/" + +EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\"" +EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\"" +EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" + +S = "${WORKDIR}/libpfm-${PV}" + +do_install () { + oe_runmake install +}