Skip to contentSkip to conversation

package/qt5/qt5webkit: disable JIT with mips32r6

PATCH In review Fabrice Fontaine 2 participants 2 messages Feb 22, 2022 – Mar 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/qt5/qt5webkit: disable JIT with mips32r6

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

---
 package/qt5/qt5webkit/qt5webkit.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/qt5/qt5webkit/qt5webkit.mk +4 -0
index 2e96acc00f..6f8714140a 100644
@@ -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 \
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 21 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> 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

---
 package/qt5/qt5webkit/qt5webkit.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/qt5/qt5webkit/qt5webkit.mk +0 -0
index 2e96acc00f..6f8714140a 100644

package/qt5/qt5webkit/qt5webkit.mk QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause · line 24

Quoted 5 lines
package/qt5/qt5webkit/qt5webkit.mk +2 -0
@@ -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.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot