Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qt5: disallow 5.8 version for ARMv4
@ 2017-02-20  8:24 Peter Korsgaard
  2017-02-20  8:29 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2017-02-20  8:24 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/197/197ab8a12bf1d780a986e5d447d1e0f5ee070405/

qt5.8 no longer supports ARMv4. From src/corelib/global/qprocessordetection.h:

  if Q_PROCESSOR_ARM >= 6
    define Q_PROCESSOR_ARM_V6
  endif
  if Q_PROCESSOR_ARM >= 5
    define Q_PROCESSOR_ARM_V5
  else
    error "ARM architecture too old"

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/qt5/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/qt5/Config.in b/package/qt5/Config.in
index b3cb2adfe..71258aafc 100644
--- a/package/qt5/Config.in
+++ b/package/qt5/Config.in
@@ -38,6 +38,7 @@ config BR2_PACKAGE_QT5_VERSION_LATEST
 	bool "Latest (5.8)"
 	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+
 	help
 	  This option builds Qt 5.8, which is licensed under
 	  (L)GPLv3+.
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] qt5: disallow 5.8 version for ARMv4
  2017-02-20  8:24 [Buildroot] [PATCH] qt5: disallow 5.8 version for ARMv4 Peter Korsgaard
@ 2017-02-20  8:29 ` Baruch Siach
  2017-02-20  8:38   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2017-02-20  8:29 UTC (permalink / raw)
  To: buildroot

Hi Peter,

On Mon, Feb 20, 2017 at 09:24:59AM +0100, Peter Korsgaard wrote:
> Fixes:
> http://autobuild.buildroot.net/results/197/197ab8a12bf1d780a986e5d447d1e0f5ee070405/
> 
> qt5.8 no longer supports ARMv4. From src/corelib/global/qprocessordetection.h:
> 
>   if Q_PROCESSOR_ARM >= 6
>     define Q_PROCESSOR_ARM_V6
>   endif
>   if Q_PROCESSOR_ARM >= 5
>     define Q_PROCESSOR_ARM_V5
>   else
>     error "ARM architecture too old"
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  package/qt5/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/qt5/Config.in b/package/qt5/Config.in
> index b3cb2adfe..71258aafc 100644
> --- a/package/qt5/Config.in
> +++ b/package/qt5/Config.in
> @@ -38,6 +38,7 @@ config BR2_PACKAGE_QT5_VERSION_LATEST
>  	bool "Latest (5.8)"
>  	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+
>  	help
>  	  This option builds Qt 5.8, which is licensed under
>  	  (L)GPLv3+.

The comment dependencies needs an update as well.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] qt5: disallow 5.8 version for ARMv4
  2017-02-20  8:29 ` Baruch Siach
@ 2017-02-20  8:38   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-02-20  8:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Hi Peter,
 > On Mon, Feb 20, 2017 at 09:24:59AM +0100, Peter Korsgaard wrote:
 >> Fixes:
 >> http://autobuild.buildroot.net/results/197/197ab8a12bf1d780a986e5d447d1e0f5ee070405/
 >> 
 >> qt5.8 no longer supports ARMv4. From src/corelib/global/qprocessordetection.h:
 >> 
 >> if Q_PROCESSOR_ARM >= 6
 >> define Q_PROCESSOR_ARM_V6
 >> endif
 >> if Q_PROCESSOR_ARM >= 5
 >> define Q_PROCESSOR_ARM_V5
 >> else
 >> error "ARM architecture too old"
 >> 
 >> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
 >> ---
 >> package/qt5/Config.in | 1 +
 >> 1 file changed, 1 insertion(+)
 >> 
 >> diff --git a/package/qt5/Config.in b/package/qt5/Config.in
 >> index b3cb2adfe..71258aafc 100644
 >> --- a/package/qt5/Config.in
 >> +++ b/package/qt5/Config.in
 >> @@ -38,6 +38,7 @@ config BR2_PACKAGE_QT5_VERSION_LATEST
 >> bool "Latest (5.8)"
 >> 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+
 >> help
 >> This option builds Qt 5.8, which is licensed under
 >> (L)GPLv3+.

 > The comment dependencies needs an update as well.

Ahh yes, true. I'll fix that and commit - Thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-20  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-20  8:24 [Buildroot] [PATCH] qt5: disallow 5.8 version for ARMv4 Peter Korsgaard
2017-02-20  8:29 ` Baruch Siach
2017-02-20  8:38   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox