openpgm: disable on AVR32
authorAlexander Lukichev <alexander.lukichev@gmail.com>
Thu, 7 Nov 2013 06:32:01 +0000 (08:32 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 7 Nov 2013 08:56:24 +0000 (09:56 +0100)
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 <alexander.lukichev@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openpgm/Config.in
package/zeromq/Config.in

index cae74f76b8f0696a1e5fbc5ea602b7a71ed7ae43..e34740c32a97cd71cd30f1d5539eb1422356b464 100644 (file)
@@ -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
index 42e13d2b0a8497e0635c95f95feabf7af95d7735..dad1dd46413a6bce8f11e0d16c62c80d5db66ffc 100644 (file)
@@ -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)