From patchwork Mon Feb 10 12:39:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Kolesov X-Patchwork-Id: 318762 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 767332C00AD for ; Mon, 10 Feb 2014 23:39:58 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A8E7E8BD4D; Mon, 10 Feb 2014 12:39:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p4SUaUK4iC2m; Mon, 10 Feb 2014 12:39:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 17F5E8BD51; Mon, 10 Feb 2014 12:39:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 2CBDA1BF97E for ; Mon, 10 Feb 2014 12:39:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 097388BA99 for ; Mon, 10 Feb 2014 12:39:56 +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 5JT+VeCqr6tZ for ; Mon, 10 Feb 2014 12:39:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay.synopsys.com (smtprelay.synopsys.com [198.182.44.111]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2F5278BA5A for ; Mon, 10 Feb 2014 12:39:55 +0000 (UTC) Received: from us01secmta1.synopsys.com (us01secmta1.synopsys.com [10.9.203.100]) by smtprelay.synopsys.com (Postfix) with ESMTP id 41BE724E08A7; Mon, 10 Feb 2014 04:39:54 -0800 (PST) Received: from us01secmta1.internal.synopsys.com (us01secmta1.internal.synopsys.com [127.0.0.1]) by us01secmta1.internal.synopsys.com (Service) with ESMTP id 358A127114; Mon, 10 Feb 2014 04:39:54 -0800 (PST) Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by us01secmta1.internal.synopsys.com (Service) with ESMTP id 1399427102; Mon, 10 Feb 2014 04:39:54 -0800 (PST) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 0627EA8F; Mon, 10 Feb 2014 04:39:54 -0800 (PST) Received: from ru20-arctools.internal.synopsys.com (ru20-arctools.internal.synopsys.com [10.121.9.107]) by mailhost.synopsys.com (Postfix) with ESMTP id 0C0A0A8E; Mon, 10 Feb 2014 04:39:52 -0800 (PST) From: Anton Kolesov To: Thomas Petazzoni , Thomas De Schampheleire Date: Mon, 10 Feb 2014 16:39:42 +0400 Message-Id: <1392035982-26386-1-git-send-email-anton.kolesov@synopsys.com> X-Mailer: git-send-email 1.8.4.1 In-Reply-To: <20140210131734.15cad107@skate> References: <20140210131734.15cad107@skate> Cc: buildroot@busybox.net Subject: [Buildroot] [PATCH v2] libtorrent: disable on ARC arch X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Is that better? Libtorrent has dependencies on atomic operations. However ARC GCC doesn't implement those at the moment so package should be disabled. Rtorrent depends on libtorrent. This fixes: http://autobuild.buildroot.net/results/51414e22c8ea47c38df20d864526a370c5a895d7/ Signed-off-by: Anton Kolesov --- package/libtorrent/Config.in | 3 +++ package/rtorrent/Config.in | 1 + 2 files changed, 4 insertions(+) diff --git a/package/libtorrent/Config.in b/package/libtorrent/Config.in index a7e358d..a21bf95 100644 --- a/package/libtorrent/Config.in +++ b/package/libtorrent/Config.in @@ -2,6 +2,8 @@ config BR2_PACKAGE_LIBTORRENT bool "libtorrent" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS + # ARC GCC doesn't support atomic instructions required by this lib + depends on !BR2_arc select BR2_PACKAGE_LIBSIGC help BitTorrent library written in C++ for *nix @@ -10,3 +12,4 @@ config BR2_PACKAGE_LIBTORRENT comment "libtorrent needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_arc diff --git a/package/rtorrent/Config.in b/package/rtorrent/Config.in index 0f39a92..f2dc47b 100644 --- a/package/rtorrent/Config.in +++ b/package/rtorrent/Config.in @@ -17,3 +17,4 @@ config BR2_PACKAGE_RTORRENT comment "rtorrent needs a toolchain w/ C++, threads, wchar" depends on BR2_USE_MMU depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS) + depends on !BR2_arc