All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: disable JIT with mips32r6
@ 2022-02-22 20:14 Fabrice Fontaine
  2022-03-07 20:50 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-02-22 20:14 UTC (permalink / raw)
  To: buildroot
  Cc: Peter Seiderer, Fabrice Fontaine, Gaël Portay, Julien Corjon

Disable JIT with mips32r6 to avoid the following build failure raised
since bump to version 5.212.0-alpha4 in commit
df0b0fe6919c0d0f3750f439a3cfa765232bd569:

/tmp/ccHw2rHQ.s:18: Error: opcode not supported on this processor: mips32r6 (mips32r6) `addi $a0,$sp,-8'

Fixes:
 - http://autobuild.buildroot.org/results/5191600b463cda078203eeffae880ed989f8ac0f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/qt5/qt5webkit/qt5webkit.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/qt5/qt5webkit/qt5webkit.mk b/package/qt5/qt5webkit/qt5webkit.mk
index 2e96acc00f..6f8714140a 100644
--- a/package/qt5/qt5webkit/qt5webkit.mk
+++ b/package/qt5/qt5webkit/qt5webkit.mk
@@ -20,6 +20,10 @@ QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause
 # in the archive.
 QT5WEBKIT_LICENSE_FILES += LICENSE.LGPLv21
 
+ifeq ($(BR2_MIPS_CPU_MIPS32R6),y)
+QT5WEBKIT_CONF_OPTS += -DENABLE_JIT=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL),y)
 QT5WEBKIT_CONF_OPTS += \
 	-DENABLE_OPENGL=ON \
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: disable JIT with mips32r6
  2022-02-22 20:14 [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: disable JIT with mips32r6 Fabrice Fontaine
@ 2022-03-07 20:50 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2022-03-07 20:50 UTC (permalink / raw)
  To: Fabrice Fontaine
  Cc: Julien Corjon, Peter Seiderer, Gaël Portay, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Disable JIT with mips32r6 to avoid the following build failure raised
 > since bump to version 5.212.0-alpha4 in commit
 > df0b0fe6919c0d0f3750f439a3cfa765232bd569:

 > /tmp/ccHw2rHQ.s:18: Error: opcode not supported on this processor: mips32r6 (mips32r6) `addi $a0,$sp,-8'

 > Fixes:
 >  - http://autobuild.buildroot.org/results/5191600b463cda078203eeffae880ed989f8ac0f

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 > ---
 >  package/qt5/qt5webkit/qt5webkit.mk | 4 ++++
 >  1 file changed, 4 insertions(+)

 > diff --git a/package/qt5/qt5webkit/qt5webkit.mk b/package/qt5/qt5webkit/qt5webkit.mk
 > index 2e96acc00f..6f8714140a 100644
 > --- a/package/qt5/qt5webkit/qt5webkit.mk
 > +++ b/package/qt5/qt5webkit/qt5webkit.mk
 > @@ -20,6 +20,10 @@ QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause
 >  # in the archive.
 >  QT5WEBKIT_LICENSE_FILES += LICENSE.LGPLv21
 
 > +ifeq ($(BR2_MIPS_CPU_MIPS32R6),y)
 > +QT5WEBKIT_CONF_OPTS += -DENABLE_JIT=OFF

Looking a webkitgtk.mk we might need to disable it for older ARM and
MIPS64R6 as well, but OK - That can be done later if needed.

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-03-07 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-22 20:14 [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: disable JIT with mips32r6 Fabrice Fontaine
2022-03-07 20:50 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.