From patchwork Wed Mar 6 05:45:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 159720 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp5783345jad; Tue, 5 Mar 2019 21:46:10 -0800 (PST) X-Google-Smtp-Source: APXvYqyyrTW8MBR5zlsbSOhwSZ1SCgQhliM1vN0mCXaACTCsu3kZmp27mTENLL4bKE24petAR0bw X-Received: by 2002:a63:2f47:: with SMTP id v68mr4733062pgv.144.1551851170437; Tue, 05 Mar 2019 21:46:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551851170; cv=none; d=google.com; s=arc-20160816; b=c7hZCX4RCPncB/8NiytYaplwDdj1SFY8Gw4w21aLvVrhYpLqZeiQ+b/HXlFrVhlgUO BA+H2HP6MR8qxsXHmTtgyg+GHuCIgEUdfleWEn6qvvjMf5ReWgdijVK8x3hDJBsC+/UN HHQ3C3Jaa5b7OyQpUeTVd6c0K7k/X/dkZ4UUTwZ/zdrm/zwc2hPcjw08N+afh0/gfv3M qP90x67tdu/i+EzgRElR31geRND8j7IPwDo7XpwI3nNBVzfbTpKip/T4FA2vMYsXkiJ0 pjiAxS4v3HL7I4wu26Ig2AKU9hQkub5rWKJOMdo0lbxJBWMLh2SQR9FfxE37CxCwwJL/ CN1A== 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=CT6b33sL9PebIx+RzuRkGPssWBFpTm2iStwDuJjHKAY=; b=wowgWMDRF1yfMbN/7Q2zUESgNGqwjXoA14fS8O/s+L4BVPxvI37LBwBQ0p1QhDecqQ a+c8wWpCq64cbZNAmy6G/qnjUu6C59jCXhX/lfScgr/gMbIVx8ejAz0VCTJx3LPiG27V OX2MImm/aky+XJhttp7rI8N0veymgobWssOMDovsOmJkK0fO++gWF56eA8SgHuT7+JI2 gBeJAfysVOqI+LgbYVPsoXckHc9BeGctn72FS+AflT5s20514i3X7y1td74EpSKArdbr SHMUA/QCCgrANf7D3KY6NcJbXjbsmmMW/r7SrtJC128X1V3N5gMGOcyRWPJ6qXDUXZXj aljQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fgd4Vbst; 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 k13si664168pgh.501.2019.03.05.21.46.10; Tue, 05 Mar 2019 21:46:10 -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=fgd4Vbst; 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 683057C7D6; Wed, 6 Mar 2019 05:46:07 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mail.openembedded.org (Postfix) with ESMTP id 48B0F7C930 for ; Wed, 6 Mar 2019 05:45:55 +0000 (UTC) Received: by mail-pf1-f179.google.com with SMTP id v21so7612846pfm.12 for ; Tue, 05 Mar 2019 21:45:56 -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=2JpJO0tsvPHAsDKy73C2g7Y6hmb3HG5w+q4A0RaUgLo=; b=fgd4VbstlJMKlwUY8Y2dr86su53oBPKD5oVDWlkVxIVuKejRDj15rOSEmncAWBegYQ 2dhHbIoY5eLmIeC9AVkNwHLEoPxH56bj3ggwl3RMHJ8Rk2eKx+Nb2kOnxty3sUJ/b3k4 XFnhMSueR9roDEsoaZQIuJTOQblkZmCFtx1Bd/4fjcFX8r4AKTOleor7LA7xxKQ5Edic Vu9DcgTsTyi2LMzl7LxOTR6P8NyW4dfL+3CqtTsytWfBfG0c6UBi6lQhBaRORYdVbxcS 5q0WDIK8SbyTvOaDnQkYDhzk9jkrWNqIuZr1jpOARUUXMtqqXGLndCXhMIZ6fH1N1llQ PNLw== 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=2JpJO0tsvPHAsDKy73C2g7Y6hmb3HG5w+q4A0RaUgLo=; b=Z5NutCUaGSdeafJ5HvuQfIJEGQwLFNwc5sfdvnNXAB0i6dSjt2TC5mx2wIO/x+Dras wIhiLHOSMEkYFP4uJoSthvab7qIZWsy16X3ZuInB3NLkUvML0cA8bh+/o1I2cUrhUhT8 UtmOf7dgqFLEwt3bXK+XMHGTa/KOx7oIvS3jlaA4E694MBYMBpiJSe9R1YNJy7DCX5jv rV9+vb+MYrkMFfSohl9j6SdeQnTe8K/lOrP7ceE2LpOkTLq3X0U9uo5Knb15kj9jSF2G eVCbI00A4CQ6FV14vlXJZpCniWtrCuVRDyUPZ63B/MBMayapMvzol0GiRbskEZW8q7dt lozQ== X-Gm-Message-State: APjAAAXf8MFVUvocrDAmtyq4KB3tvvWTpDgrxl5L6pHCOvembsWj7dEc 1w/pwzTd+cHGRbtm5PmLGDf9BIxL X-Received: by 2002:a17:902:e3:: with SMTP id a90mr5045689pla.45.1551851155771; Tue, 05 Mar 2019 21:45:55 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::3401]) by smtp.gmail.com with ESMTPSA id m24sm1001144pgv.1.2019.03.05.21.45.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2019 21:45:55 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 5 Mar 2019 21:45:38 -0800 Message-Id: <20190306054548.16430-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190306054548.16430-1-raj.khem@gmail.com> References: <20190306054548.16430-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-multimedia][PATCH 02/12] liboil: Fix build on risc-v 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 --- .../fix_riscv_unaligned_access.patch | 15 +++++++++++++++ .../recipes-support/liboil/liboil_0.3.17.bb | 1 + 2 files changed, 16 insertions(+) create mode 100644 meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch -- 2.21.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch b/meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch new file mode 100644 index 0000000000..448bde73fc --- /dev/null +++ b/meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch @@ -0,0 +1,15 @@ +RISC-V supports unaligned accesses, therefore enable it + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- a/m4/as-unaligned-access.m4 ++++ b/m4/as-unaligned-access.m4 +@@ -5,7 +5,7 @@ AC_DEFUN([AS_UNALIGNED_ACCESS], [ + AC_MSG_CHECKING([if unaligned memory access works correctly]) + if test x"$as_cv_unaligned_access" = x ; then + case $host in +- alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*) ++ alpha*|arm*|hp*|mips*|riscv*|sh*|sparc*|ia64*) + _AS_ECHO_N([(blacklisted) ]) + as_cv_unaligned_access=no + ;; diff --git a/meta-multimedia/recipes-support/liboil/liboil_0.3.17.bb b/meta-multimedia/recipes-support/liboil/liboil_0.3.17.bb index 7e8aa1572a..654ee1e883 100644 --- a/meta-multimedia/recipes-support/liboil/liboil_0.3.17.bb +++ b/meta-multimedia/recipes-support/liboil/liboil_0.3.17.bb @@ -18,6 +18,7 @@ SRC_URI = "http://liboil.freedesktop.org/download/${BPN}-${PV}.tar.gz \ file://0001-Fix-enable-vfp-flag.patch \ file://liboil_fix_for_x32.patch \ file://0001-math_vfp_asm.S-Convert-fldmia-fstmia-instructions-to.patch \ + file://fix_riscv_unaligned_access.patch \ " SRC_URI[md5sum] = "47dc734f82faeb2964d97771cfd2e701"