toolchain-external: CodeSourcery NiosII 2015.11 affected by PR19405
authorRomain Naour <romain.naour@gmail.com>
Sat, 20 Feb 2016 12:42:46 +0000 (13:42 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 20 Apr 2016 21:20:58 +0000 (23:20 +0200)
See bug report https://sourceware.org/bugzilla/show_bug.cgi?id=19405

Fixes:
http://autobuild.buildroot.net/results/ee562524c5b12191e584ceae89006c5a5103e700

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - rename BR2_TOOLCHAIN_BINUTILS_HAS_BUG_19405 to
   BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
 - propagate to the qwt package, which is now selecting
   BR2_PACKAGE_QT_GUI_MODULE.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/grantlee/Config.in
package/opencv/Config.in
package/opencv3/Config.in
package/pinentry/Config.in
package/poppler/Config.in
package/qt/Config.in
package/qwt/Config.in
toolchain/toolchain-common.in
toolchain/toolchain-external/Config.in

index 01ddacdded904dbb556a8ce975609762692000be..97be7210f4e1dec4566e4aba627708e5d16a43c3 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_GRANTLEE
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # Qt Script
        depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || \
                (BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5)
+       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
        select BR2_PACKAGE_QT_STL if BR2_PACKAGE_QT
        select BR2_PACKAGE_QT_SCRIPT if BR2_PACKAGE_QT
        select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_QT
@@ -13,7 +14,8 @@ config BR2_PACKAGE_GRANTLEE
 
          http://www.grantlee.org
 
-comment "grantlee needs a toolchain with NPTL"
+comment "grantlee needs a toolchain with NPTL not affected by Binutils bug 19405"
        depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || \
-               (BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5)
+               (BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5) || \
+               BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
index b563312fe86bc75a80165e97f3e115962c3b5bea..83a26a6bb7c5c87b024dd8e227f50cf083f90c7a 100644 (file)
@@ -225,6 +225,7 @@ config BR2_PACKAGE_OPENCV_WITH_QT
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # qt
        depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
+       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
        select BR2_PACKAGE_QT
        select BR2_PACKAGE_QT_STL
        select BR2_PACKAGE_QT_GUI_MODULE
@@ -232,6 +233,9 @@ config BR2_PACKAGE_OPENCV_WITH_QT
        help
          Use Qt with QtTest module and STL support
 
+comment "qt backend support needs a toolchain not affected by Binutils bug 19405"
+       depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
+
 config BR2_PACKAGE_OPENCV_WITH_TIFF
        bool "tiff support"
        select BR2_PACKAGE_TIFF
index 31fd98a36d47326f297ef78cdb3ba33ec19e6df2..9629a643e2c57b3f03a4b703ed77121ee628b874 100644 (file)
@@ -84,15 +84,16 @@ comment "gtk3 support needs libgtk3"
 config BR2_PACKAGE_OPENCV3_WITH_QT
        bool "qt4"
        depends on BR2_PACKAGE_QT
+       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
        select BR2_PACKAGE_QT_STL
        select BR2_PACKAGE_QT_GUI_MODULE
        select BR2_PACKAGE_QT_TEST
        help
          Use Qt4 with QtTest and QtGui modules and STL support, as GUI toolkit.
 
-comment "qt4 support needs qt"
+comment "qt4 support needs qt and a toolchain not affected by Binutils bug 19405"
        depends on BR2_USE_MMU # qt
-       depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
+       depends on (!BR2_PACKAGE_QT && !BR2_PACKAGE_QT5) || BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
 
 config BR2_PACKAGE_OPENCV3_WITH_QT5
        bool "qt5"
index f5a81597626452132a4a38dd5c41286b096df724..682af9f3f2652af7d137fb5d4cc13934a811bd35 100644 (file)
@@ -40,11 +40,15 @@ config BR2_PACKAGE_PINENTRY_QT4
        depends on BR2_USE_MMU # fork
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
        select BR2_PACKAGE_QT
        select BR2_PACKAGE_QT_GUI_MODULE
        help
          The pinentry-qt4 tool
 
+comment "pinentry-qt4 support needs a toolchain not affected by Binutils bug 19405"
+       depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
+
 comment "pinentry-qt4 needs a toolchain w/ C++, threads"
        depends on BR2_USE_MMU
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
index fa4ce22e1888f4d47f014c43de8572c205ad2c2e..2ca3ff62b57ca2f327169fd1199a034fa74e2302 100644 (file)
@@ -15,11 +15,15 @@ if BR2_PACKAGE_POPPLER
 config BR2_PACKAGE_POPPLER_QT
        bool "Qt support"
        depends on BR2_PACKAGE_QT
+       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
        select BR2_PACKAGE_QT_GUI_MODULE
        select BR2_PACKAGE_QT_XML
        help
          Build Qt support into the Poppler library
 
+comment "poppler Qt support needs a toolchain not affected by Binutils bug 19405"
+       depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
+
 endif
 
 comment "poppler needs a toolchain w/ C++, threads"
index 248af00ec76f50159403add19bbe2f2ec9d1fa85..0ab8417b86da4f41749375b5f9847c39f8370228 100644 (file)
@@ -33,6 +33,7 @@ comment "Qt standard (X11) not available (need X.org)"
 config BR2_PACKAGE_QT_X11
        bool "Qt standard (X11)"
        depends on BR2_PACKAGE_XORG7
+       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
        select BR2_PACKAGE_FONTCONFIG
        select BR2_PACKAGE_XLIB_LIBXI
        select BR2_PACKAGE_XLIB_LIBX11
@@ -56,6 +57,7 @@ config BR2_PACKAGE_QT_DEBUG
 
 config BR2_PACKAGE_QT_DEMOS
        bool "Compile and install Qt demos (with code)"
+       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
        select BR2_PACKAGE_QT_GUI_MODULE
        help
          If unsure, say N.
@@ -69,6 +71,7 @@ config BR2_PACKAGE_QT_TRANSLATION_FILES
 
 config BR2_PACKAGE_QT_EXAMPLES
        bool "Compile and install Qt examples (with code)"
+       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
        select BR2_PACKAGE_QT_GUI_MODULE
        help
          If unsure, say N.
@@ -130,12 +133,16 @@ config BR2_PACKAGE_QT_QT3SUPPORT
 
 config BR2_PACKAGE_QT_GUI_MODULE
        bool "Gui Module"
+       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # nios2 Binutils 2.25.1 bug
        select BR2_PACKAGE_QT_NETWORK
        default y
        help
          Turns on support for Gui applications. If your board doesn't have
          video output, or you don't require Qt GUI, say n.
 
+comment "Qt Gui Module needs a toolchain not affected by Binutils bug 19405"
+       depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
+
 if BR2_PACKAGE_QT_GUI_MODULE
 
 if BR2_PACKAGE_QT_EMBEDDED
index 3f5450954e3c51bf030c423b676bdd39e86fb481..810bd754bafd141d011587dded512a54d53ee7d0 100644 (file)
@@ -1,6 +1,10 @@
+comment "qwt needs a toolchain not affected by Binutils bug 19405"
+       depends on BR2_PACKAGE_QT && BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
+
 config BR2_PACKAGE_QWT
        bool "qwt"
-       depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5
+       depends on (BR2_PACKAGE_QT && !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405) || \
+               BR2_PACKAGE_QT5
        select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_QT
        select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5
        select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5 # printsupport
index 7ad1c058258381f18ffc2cd1416f6463ed5b80cf..00d73b671581db2fb19ac05b164deb580e39108e 100644 (file)
@@ -5,6 +5,10 @@
 # so put it here instead
 source "package/gdb/Config.in.host"
 
+# https://sourceware.org/bugzilla/show_bug.cgi?id=19405
+config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
+       bool
+
 config BR2_TOOLCHAIN_HAS_NATIVE_RPC
        bool
 
index d6f57a1a5bbec3a0b26c5d93f3741e56ff773d91..f4976942b180f7420c53e0ae0c686651f4b72fb5 100644 (file)
@@ -413,6 +413,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
        select BR2_HOSTARCH_NEEDS_IA32_LIBS
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
        select BR2_TOOLCHAIN_GCC_AT_LEAST_5
+       select BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # based-on binutils-2.25.1
        help
          Sourcery CodeBench toolchain for the Nios-II architecture,
          from Mentor Graphics. It uses gcc 5.2, binutils 2.25.51,