Revert "toolchain-external: CodeSourcery NiosII 2015.11 affected by PR19405"
authorRomain Naour <romain.naour@gmail.com>
Sat, 6 May 2017 13:54:20 +0000 (15:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 May 2017 20:09:17 +0000 (22:09 +0200)
An autobuilder exception has been added to avoid testing qt gui module
with the CodeSourcery NiosII toolchain. This allow to remove the
BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 symbol.

This reverts commit 5dce3c05b5ea38539f6ee6efc24c13db936260dc.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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/toolchain-external-codesourcery-niosII/Config.in

index 0260851340db52f303098e90562d32d88b7aaec4..742ae3ebbab20f7860000bbabf887a1fe410c462 100644 (file)
@@ -51,7 +51,6 @@ config BR2_PACKAGE_OPENCV_LIB_FLANN
 
 config BR2_PACKAGE_OPENCV_LIB_GPU
        bool "gpu"
-       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # opencv libphoto
        depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_OPENCV_LIB_CALIB3D
        select BR2_PACKAGE_OPENCV_LIB_IMGPROC
@@ -114,7 +113,6 @@ config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
 config BR2_PACKAGE_OPENCV_LIB_PHOTO
        bool "photo"
        default y
-       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Binutils 2.25 nios2 issue
        select BR2_PACKAGE_OPENCV_LIB_IMGPROC
        help
          Include opencv_photo module into the OpenCV build.
@@ -162,7 +160,6 @@ config BR2_PACKAGE_OPENCV_LIB_VIDEO
 config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
        bool "videostab"
        default y
-       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # opencv libphoto
        select BR2_PACKAGE_OPENCV_LIB_CALIB3D
        select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
        select BR2_PACKAGE_OPENCV_LIB_HIGHGUI
@@ -272,7 +269,6 @@ 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
@@ -280,9 +276,6 @@ 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 3b0a9d60c9f6ce02197422aae853b51ddd3bc388..2214ee80cab11ed9f390df9f39c6242a0276eb0e 100644 (file)
@@ -85,16 +85,15 @@ 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 and a toolchain not affected by Binutils bug 19405"
+comment "qt4 support needs qt"
        depends on BR2_USE_MMU # qt
-       depends on (!BR2_PACKAGE_QT && !BR2_PACKAGE_QT5) || BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
+       depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
 
 config BR2_PACKAGE_OPENCV3_WITH_QT5
        bool "qt5"
index 682af9f3f2652af7d137fb5d4cc13934a811bd35..f5a81597626452132a4a38dd5c41286b096df724 100644 (file)
@@ -40,15 +40,11 @@ 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 d741f65287e92d78b63c65db4539d194d01e6fae..79078a84bb7bb20f471124a962bf55e6988f4b0d 100644 (file)
@@ -15,15 +15,11 @@ 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
-
 config BR2_PACKAGE_POPPLER_QT5
        bool "Qt5 support"
        depends on BR2_PACKAGE_QT5
index 5e9f89808b82af13456002b66eb66d3b5bc9505d..fe0b0e97878008c2f8b07c221ee921c537523b71 100644 (file)
@@ -33,7 +33,6 @@ 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
@@ -57,7 +56,6 @@ 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.
@@ -71,7 +69,6 @@ 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.
@@ -124,15 +121,11 @@ config BR2_PACKAGE_QT_QT3SUPPORT
 config BR2_PACKAGE_QT_GUI_MODULE
        bool "Gui Module"
        default y
-       depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # nios2 Binutils 2.25.1 bug
        select BR2_PACKAGE_QT_NETWORK
        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 a678637b6c8569f536cd2553a53f72e1f4964a41..041c2d102c8530c6679fdefe4c0ebf3811b26e23 100644 (file)
@@ -1,10 +1,6 @@
-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_TOOLCHAIN_HAS_BINUTILS_BUG_19405) || \
-               BR2_PACKAGE_QT5
+       depends on BR2_PACKAGE_QT || 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 37079fad3f8e70164be1e035d99d5538c65c18a4..76c0e7cdcf87725fb93f1b61145597d8ad3b673e 100644 (file)
@@ -18,10 +18,6 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_64735
        default y if BR2_ARM_CPU_ARMV5
        default y if BR2_sparc_v8
 
-# 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 6bb376bea7395a5dbbed34580c622cb6eaaeb69f..341bc2ab44b82e4216482409501a6b7206403aaa 100644 (file)
@@ -10,7 +10,6 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
        select BR2_HOSTARCH_NEEDS_IA32_LIBS
        select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
        select BR2_TOOLCHAIN_GCC_AT_LEAST_6
-       select BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # based-on binutils-2.26
        help
          Sourcery CodeBench toolchain for the Nios-II architecture,
          from Mentor Graphics. It uses gcc 6.3, binutils 2.26,