package/lxc: disable broken toolchains on nios2
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 30 Nov 2014 16:48:54 +0000 (17:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 3 Dec 2014 20:39:25 +0000 (21:39 +0100)
As discussed with Thomas
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/100998
only the current toolchains are broken:
"it's better to blacklist the individual toolchains that are known
to be broken, so that if we add another toolchain, we will be able
to see if the same bug happens as well or not."

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lxc/Config.in

index cf85712a5a7846671386b9785c1034d0d6d86653..a90e58e898a1879fd122092abb1f0b4ed6e989d8 100644 (file)
@@ -6,7 +6,9 @@ config BR2_PACKAGE_LXC
        depends on BR2_LARGEFILE
        depends on BR2_USE_MMU # fork()
        depends on !BR2_avr32 # no timerfd
-       depends on !BR2_nios2 # the toolchain doesn't support setns syscall
+       # the toolchain doesn't support setns syscall
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
        help
          Linux Containers (LXC), provides the ability to group and isolate
@@ -18,6 +20,7 @@ config BR2_PACKAGE_LXC
 comment "lxc needs a toolchain w/ IPv6, threads, largefile, headers >= 3.0"
        depends on BR2_USE_MMU
        depends on !BR2_avr32 # no timerfd
-       depends on !BR2_nios2 # the toolchain doesn't support setns syscall
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
        depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS \
                 || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0