Skip to contentSkip to conversation

qt5: disable qt-5.8.0 support for arc, nios2 and xtensa

PATCH Superseded Peter Seiderer 2 participants 2 messages Feb 21, 2017 – Feb 22, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5: disable qt-5.8.0 support for arc, nios2 and xtensa

Fixes [1], [2], [3]:

../3rdparty/double-conversion/include/double-conversion/utils.h:81:2: error: #error Target architecture was not detected as supported by Double-Conversion.

[1] http://autobuild.buildroot.net/results/ce6/ce6f506f610434dff1d0eb64644be0200d7c52f6
[2] http://autobuild.buildroot.net/results/fda/fda8a5165cc599adfa4b3cb012916fa4dc38aeca
[3] http://autobuild.buildroot.net/results/779/779fd562c28f3a47f9caea7d0e0cb1dcda7fe489

---
 package/qt5/Config.in | 3 +++
 1 file changed, 3 insertions(+)
package/qt5/Config.in +3 -0
index 8de248139..1648b1c74 100644
@@ -39,6 +39,8 @@ config BR2_PACKAGE_QT5_VERSION_LATEST
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
 	depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
 	depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+
+	# no built-in double-conversion support
+	depends on !BR2_arcle && !BR2_arceb && !BR2_nios2 && !BR2_xtensa
 	help
 	  This option builds Qt 5.8, which is licensed under
 	  (L)GPLv3+.
@@ -46,6 +48,7 @@ config BR2_PACKAGE_QT5_VERSION_LATEST
 comment "Latest Qt version needs host/toolchain w/ gcc >= 4.8"
 	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_HOST_GCC_AT_LEAST_4_8
 	depends on !BR2_ARM_CPU_ARMV4
+	depends on !BR2_arcle && !BR2_arceb && !BR2_nios2 && !BR2_xtensa
 
 config BR2_PACKAGE_QT5_VERSION_5_6
 	bool "LTS (5.6)"
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 qt5: disable qt-5.8.0 support for arc, nios2 and xtensa

Hello,

package/qt5/Config.in config BR2_PACKAGE_QT5_VERSION_LATEST · line 43

Quoted 10 lines · Peter Seiderer
package/qt5/Config.in +2 -0
index 8de248139..1648b1c74 100644
@@ -39,6 +39,8 @@ config BR2_PACKAGE_QT5_VERSION_LATEST
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
 	depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
 	depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+
+	# no built-in double-conversion support
+	depends on !BR2_arcle && !BR2_arceb && !BR2_nios2 && !BR2_xtensa
	!BR2_arcle && !BR2_arceb

can be simplified to:

	!BR2_arc

See arch/Config.in.arc:

config BR2_arc

        bool
        default y if BR2_arcle || BR2_arceb

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com