From patchwork Sat Mar 17 03:40:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131946 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp219827ljb; Fri, 16 Mar 2018 20:40:40 -0700 (PDT) X-Google-Smtp-Source: AG47ELvGhzFjORJkRoQH1aR/OsxahhasVBA46RlEkUzpbs43wK1tDUkwEcY0KuNkXSXr3Y0y0Wqq X-Received: by 10.99.106.202 with SMTP id f193mr3429823pgc.334.1521258040600; Fri, 16 Mar 2018 20:40:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521258040; cv=none; d=google.com; s=arc-20160816; b=AQOBEJQ5EFBqI33vYhY2Giy0PjgXHKWE9PILKmV1mTXwM3TUqYmv5CQzMVuF5jCIu0 fCUqR2Sf7C3n/SX76pkeA5RJy/G0IHUztzbYF2fTcygEDMtPYliuJ19u39AxADSn+nfu 9G5FFD8RpYJbaeaSZnRz8AzVCo9KQc1k+ES63v68PllzbFt4subonK/aHv7s4fm/lPNQ +GKXzexA5uOksynDwUikvxvzm5RtGzBTtCvuNCMqR1eDGc9LrSpVlcpeY6h68vztKPPp P8LuEBjFSsORUtVgp/4z9J5HqLaXm8X7wcAkz0y+BGimrzlDaS5WF+rte1G9Ithny3d4 Sw8A== 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=i1hZV199Xc3VV6PZx+HwStQjp4JjPsleMcc4vPtH+wA=; b=h8G+tVCbCTluK8fmJWU33Gj2nAezTEQITZfa51RdjrvYYmh7klRaFCgfAHiCHVmiXD /yamzEya00wRKTHFJabzjPlkp2P2C4vcy1BclcHGkgt+9QujVJFxLsvw3/V5GR5MO7R0 dqRDLl1rL8iRy4nFCz5PlOjSGc0/xxjMGEExCnVc+T3FfCjgrZFtqygjtplCpR0Ypg0V WinSL5SCiyzk+/BBDqcVRkKsh4tJ8lycAPP88Jsfw3za4HJb7lHslNcOiD4WjC7L7VVz 3l+gByC6xPBP4Mmv18KWZ2r6Ex+gKcjRWxtYVFawZPL0udHdDL5+//NnVciXie3pk152 xZUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gBjgtuUO; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 m16-v6si8317381pli.415.2018.03.16.20.40.39; Fri, 16 Mar 2018 20:40:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=gBjgtuUO; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0B4F07886C; Sat, 17 Mar 2018 03:40:33 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 869327886C for ; Sat, 17 Mar 2018 03:40:32 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id e3so4833835pga.6 for ; Fri, 16 Mar 2018 20:40:34 -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=H3GH2mdXVFwWoKyy0SVeEuxfwIYVJtWFjCdoqp81M8Q=; b=gBjgtuUOBMXH2ehFt4kZlm5801MZ7/jfbxdPzDjjGBaLZw4mYUxQfGjDBKMlHFrory T3Ctnw/+u9FEY19lu9/pe8IYpaeEHY7YHbGxstc38GK0KjfVPI8vOsvCBa2A1zq8nJK9 6eaAr1xnAnLcAuZYWVCJBGlkPmNkl2sjkEU0+rhFjBOzdrRJtZ2WZT4E1DjXq9ADfdbS qEgq+LHedCUSsXQUv3cx9DhpmBQfi+H/m1eiAizPBCQE64vmj3P5DU+Pu4J7jT0dngCt tAgJXTcUPFRVkWIknvoUY/lHpwGWrokX8/VBkpi06NafJvMZGYTbpPeVWSP3gnQVUTxM Al/g== 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=H3GH2mdXVFwWoKyy0SVeEuxfwIYVJtWFjCdoqp81M8Q=; b=sf7Yb/YhwvGvs2HlJnRO+Ue6YluL1QICMj+s8X1aPNLJAE67eBIW/gIbo9SJELJSOK DtCqRbG0ABFCTb5iGDLujtsK4XO6mEIc/maxbK5AMBhnwJ+I9b/P+8ZF3CG9yr/mQxlF AWzbXmV26GamgNqNiT5kAJBJdLBeG4+BTsR1KIckS/ZNP4FVXot3ZirM+34cR82D4S9J pdNavJFgXvkTjJFgw2slH3BPMdv72adLxBN8Ggm1Zv22eCV9O/+FkpkK+2cQmPzD6wFu swbpGgZVT6o6cNzCexQtzDs/Pbv0FgR2iKXZ0nTER91g0z063YLJDRGqlNGzLqLdzFyE 3QSg== X-Gm-Message-State: AElRT7F8nJn77gj1dynWjhWQh1dATGgDI2AZSJoiGm3tcrICP/z+CFVM UAugdclXzyaw9PQo7k5/g/VPmQ== X-Received: by 10.101.69.75 with SMTP id x11mr3373366pgr.69.1521258033450; Fri, 16 Mar 2018 20:40:33 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id n27sm17776442pgc.40.2018.03.16.20.40.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 20:40:32 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 16 Mar 2018 20:40:23 -0700 Message-Id: X-Mailer: git-send-email 2.16.2 Subject: [OE-core] [PATCH 0/5] RISC-V Build fixes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org These packages were failing to build for qemuriscv64 world build Some fixes are common, some are backports and some are already submitted to respective upstream The following changes since commit c94271d87d16323f920891344642f76dfb3c994f: buildperf: measure the size of core-image-sato rootfs (2018-03-16 03:42:03 -0700) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/riscv64-fixes-3 http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/riscv64-fixes-3 Khem Raj (5): gcc: Do not use --with-linker-hash-style if LINKER_HASH_STYLE is empty mtd-utils: Explicitly add pthread options to cflags x264: Use updated gnu-config artifacts python-numpy: Fix build for riscv64 dpkg: Backport riscv support .../0001-arch-Add-support-for-riscv64-CPU.patch | 54 ++++++++ .../dpkg/dpkg/glibc2.5-sync_file_range.patch | 21 +++- meta/recipes-devtools/dpkg/dpkg_1.18.24.bb | 1 + meta/recipes-devtools/gcc/gcc-7.3.inc | 2 +- meta/recipes-devtools/mtd/mtd-utils_git.bb | 2 + .../files/0001-npy_cpu-Add-riscv-support.patch | 28 +++++ .../python-numpy/files/riscv64/_numpyconfig.h | 32 +++++ .../python-numpy/files/riscv64/config.h | 139 +++++++++++++++++++++ .../recipes-devtools/python-numpy/python-numpy.inc | 5 + meta/recipes-multimedia/x264/x264_git.bb | 2 + 10 files changed, 280 insertions(+), 6 deletions(-) create mode 100644 meta/recipes-devtools/dpkg/dpkg/0001-arch-Add-support-for-riscv64-CPU.patch create mode 100644 meta/recipes-devtools/python-numpy/files/0001-npy_cpu-Add-riscv-support.patch create mode 100644 meta/recipes-devtools/python-numpy/files/riscv64/_numpyconfig.h create mode 100644 meta/recipes-devtools/python-numpy/files/riscv64/config.h -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core