From patchwork Thu Nov 7 06:32:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Lukichev X-Patchwork-Id: 289202 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 84AC82C009A for ; Thu, 7 Nov 2013 17:32:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B5BB38B9BB; Thu, 7 Nov 2013 06:32:34 +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 y9MgGySMmRSz; Thu, 7 Nov 2013 06:32:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id EA57D8B9A2; Thu, 7 Nov 2013 06:32:32 +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 92D501C292B for ; Thu, 7 Nov 2013 06:32:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 87BF98C77E for ; Thu, 7 Nov 2013 06:32:31 +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 x9GoiLjdVUu9 for ; Thu, 7 Nov 2013 06:32:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4FB6A8C770 for ; Thu, 7 Nov 2013 06:32:29 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id z5so83126lbh.21 for ; Wed, 06 Nov 2013 22:32:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=DHIN9PnJmLaElXXKngnkocedZTrawKbSmebMzFSP7pU=; b=QBwWe4iNeYdddcVy58UmTkBplSMcw/Xqmm+GRtFqkNPZdVXRAkBqNLJEzbYRRK/guQ /9BhZ8NQKm7Vf8z0ZLkIGYq37yLtRO4AGC8PuQBSjEj65l0aUHAhFKW50Po/FGPUwyHc OzLsUn5UF3MB6RutOl0iE7cG9lqc033GIc0dssd/b1cCrquBQMW8ovju40ZTyEnABhp4 4jTZaneYg/nJ5IzMh/s7UeUBqJuHrxKVOtP6lMRKeRTSXp3CgMOPJE33nYNt1pGA7tji ToIOeMXAfHf0ustwyXrUrzGw0xTSq8AKYT0wWCJu9XVUZ/d77EjRNrsOaHy3p0S9qGIR jPhw== X-Received: by 10.152.9.198 with SMTP id c6mr268783lab.36.1383805947035; Wed, 06 Nov 2013 22:32:27 -0800 (PST) Received: from localhost.localdomain (37-219-144-114.nat.bb.dnainternet.fi. [37.219.144.114]) by mx.google.com with ESMTPSA id e4sm1717667lba.15.2013.11.06.22.32.24 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Nov 2013 22:32:26 -0800 (PST) From: Alexander Lukichev To: buildroot@busybox.net Date: Thu, 7 Nov 2013 08:32:01 +0200 Message-Id: <1383805921-31909-1-git-send-email-alexander.lukichev@gmail.com> X-Mailer: git-send-email 1.8.0.1 Subject: [Buildroot] [PATCH v3 1/1] openpgm: disable on AVR32 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 openpgm doesn't build correctly on AVR32 using gcc-4.2.2-avr32-2.1.5 toolchain: it is configured to call intrinsic atomic functions not provided by the toolchain, so they are propagated as unresolved external symbols in the built openpgm libraries. This breaks programs that try to link openpgm, because they do not know where to get those either. For instance, it breaks building zeromq tests when PGM support is selected. This commit disables openpgm on AVR32 due to apparent absence of interest in this package on that architecture and it breaking too many test builds. Fixes http://autobuild.buildroot.net/results/5a3261109ea63ba17375003eabd8b5d88757865f/ (at least) Signed-off-by: Alexander Lukichev Reviewed-by: Thomas Petazzoni --- v2: - removed KConfig comment that openpgm is broken on AVR32, commented instead in its Config.in - added package name which disables PGM support for zeromq on AVR32 v3: - updated comments and changed !BR_avr32 restriction to !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 as the problem is due to the toolchain, not AVR32 architecture, as suggested by Thomas Petazzoni Signed-off-by: Alexander Lukichev --- package/openpgm/Config.in | 2 ++ package/zeromq/Config.in | 1 + 2 files changed, 3 insertions(+) diff --git a/package/openpgm/Config.in b/package/openpgm/Config.in index cae74f7..e34740c 100644 --- a/package/openpgm/Config.in +++ b/package/openpgm/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_OPENPGM bool "openpgm" + depends on !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 # lacks required builtins depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INET_IPV6 depends on BR2_USE_WCHAR @@ -14,3 +15,4 @@ config BR2_PACKAGE_OPENPGM comment "openpgm needs a toolchain w/ wchar, threads, IPv6" depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_INET_IPV6 && BR2_USE_WCHAR) + depends on !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in index 42e13d2..dad1dd4 100644 --- a/package/zeromq/Config.in +++ b/package/zeromq/Config.in @@ -30,6 +30,7 @@ config BR2_PACKAGE_ZEROMQ config BR2_PACKAGE_ZEROMQ_PGM bool "PGM/EPGM support" depends on BR2_PACKAGE_ZEROMQ + depends on !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 # openpgm select BR2_PACKAGE_OPENPGM help Add support for Pragmatic General Multicast protocol (RFC 3208)