From patchwork Mon Sep 21 08:51:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 520203 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 0BDF9140291 for ; Mon, 21 Sep 2015 18:52:20 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=AGAyXDEa; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4C413919AE; Mon, 21 Sep 2015 08:52:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kO94x-bvZ6Ru; Mon, 21 Sep 2015 08:52:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 692299196E; Mon, 21 Sep 2015 08:52:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 42EB31C1EBC for ; Mon, 21 Sep 2015 08:52:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3D2AF32ABA for ; Mon, 21 Sep 2015 08:52:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V03IcNDYz72m for ; Mon, 21 Sep 2015 08:52:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by silver.osuosl.org (Postfix) with ESMTPS id 82D24329DE for ; Mon, 21 Sep 2015 08:52:13 +0000 (UTC) Received: by padbj2 with SMTP id bj2so1582145pad.3 for ; Mon, 21 Sep 2015 01:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Y/0MZuUKR5wvdOe57K//PU+65fT9KE/37gdDQfqoNtA=; b=AGAyXDEavqwsECwcHOpcWZDcaLVFHLb9UEtngUbvY7/LOflJXbFkMtfhbUOLLsthk2 9W1KoOh3HunIym6se/1mgPugj++B6NlRjBMsOQYIiO90Pi/rLgcBwLACFyJpElB+nebe 2Hh34O9q3UO42josyWqaZ6dKbMU+txg9KDewuZ7T97Ynu1sPzEWcziL68bgFDiCpwgYZ mfwVjVB+7ZycGcOk8gQAcbMflh0k0OQuoJuWmlQexFvqgvVej4oTEVPLkGql6F9QUGgV uJpJYNqwp9Ab7+jSSWAAlCIZbZZ5I3FLHUP5/MN7nfa9sJNaVcaW9RFPuu75iFrP8igL 60PA== X-Received: by 10.66.227.9 with SMTP id rw9mr23233699pac.81.1442825532990; Mon, 21 Sep 2015 01:52:12 -0700 (PDT) Received: from chrisp-dl.ws.atlnz.lc (2-163-36-202-static.alliedtelesis.co.nz. [202.36.163.2]) by smtp.gmail.com with ESMTPSA id j16sm23117022pbq.23.2015.09.21.01.52.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Sep 2015 01:52:12 -0700 (PDT) From: Chris Packham To: buildroot@buildroot.org Date: Mon, 21 Sep 2015 20:51:57 +1200 Message-Id: <1442825517-28669-1-git-send-email-judge.packham@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <20150921091356.17452d5c@free-electrons.com> References: <20150921091356.17452d5c@free-electrons.com> Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH] micropython: Disable for Blackfin X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" There are two problems building micropython for Blackfin. The first is some printf format specifier warnings/errors that seem to be triggered only for that architecture/compiler. This could be worked around by specifying CFLAGS=-Wno-error=format. The second problem is that libffi doesn't provide the closure implementation on Blackfin. There is no known workaround for this issue. For now disable micropython on Blackfin. Signed-off-by: Chris Packham --- package/micropython/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/micropython/Config.in b/package/micropython/Config.in index c62b3ab..4664494 100644 --- a/package/micropython/Config.in +++ b/package/micropython/Config.in @@ -1,6 +1,8 @@ config BR2_PACKAGE_MICROPYTHON bool "micropython" select BR2_PACKAGE_LIBFFI + # libffi doesn't provide the closure implementation on Blackfin + depends on !BR2_bfin depends on BR2_TOOLCHAIN_HAS_THREADS help Micro Python is a lean and fast implementation of the Python 3