libcap-ng: cannot be built with nios2 CS 2014.05 toolchain
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 14 May 2015 22:33:25 +0000 (00:33 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 14 May 2015 22:33:25 +0000 (00:33 +0200)
Fixes:
http://autobuild.buildroot.net/results/d13/d136f763ca3389cdc6a404db7a4fc0cd18329955/
http://autobuild.buildroot.net/results/e00/e002e2a3bd52a3cc3b0d06625de61315d86de524/
http://autobuild.buildroot.net/results/bba/bba9f7130315c9d97cc060a73663276d0fa2c1b3/
http://autobuild.buildroot.net/results/fc7/fc7bc050ef769716dedb0ad81a51e33a12deec47/

And many more.

Building libcap-ng with that toolchain triggers an internal compiler /
assembler bug, so blacklist that combination and propagate to the reverse
dependencies.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/connman/Config.in
package/libcap-ng/Config.in
package/ofono/Config.in
package/util-linux/Config.in

index a887c2fba24aceb46e1bf4f294fe870e92576d5f..ba238af13df516bdf0b8ec2a4c0301febae91c99 100644 (file)
@@ -52,6 +52,7 @@ config BR2_PACKAGE_CONNMAN_NEARD
 
 config BR2_PACKAGE_CONNMAN_OFONO
        bool "enable ofono support"
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
        select BR2_PACKAGE_OFONO
 
 config BR2_PACKAGE_CONNMAN_DEBUG
index d1663cdefc20f58edbe96c992f441bb7106c5f9a..a52d230e605e1e120a0dcfefc5c83a607f09bee9 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBCAP_NG
        bool "libcap-ng"
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # triggers compiler bug
        help
          The libcap-ng library is intended to make programming with
          posix capabilities much easier than the traditional libcap
index b26b5e76a0345673bed0574690fadfe89491eb89..eb1856fdb794a82954eed98b83188b3ab4bfc317 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_OFONO
        depends on BR2_USE_WCHAR # gettext, libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
        depends on BR2_USE_MMU # dbus, libglib2
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
        select BR2_PACKAGE_LIBCAP_NG
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_LIBGLIB2
@@ -17,3 +18,4 @@ config BR2_PACKAGE_OFONO
 comment "ofono needs a toolchain w/ wchar, threads"
        depends on BR2_USE_MMU
        depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
index 8ed56b06262a6292f5f2aae1d5cba506e9ed5f32..39df11cb388e80197b426e19ca48c3c620f47aa7 100644 (file)
@@ -214,6 +214,7 @@ config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS
 
 config BR2_PACKAGE_UTIL_LINUX_SETPRIV
        bool "setpriv"
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
        select BR2_PACKAGE_LIBCAP_NG
        help
          Run a program with different Linux privilege settings