[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#781446: qtwebkit: FTBFS: "The MacroAssembler is not supported on this platform."



Control: tags -1 patch

On 08/01/2016 12:11 AM, John Paul Adrian Glaubitz wrote:
> I will try applying Andreas' fix and see if it helps. If yes, I would appreciate if
> it could be applied for m68k and powerpcspe (and potentially sh4 where the linker
> has now been fixed in binutils_2.27 [2], although so far qtwebkit is building
> fine on my sh4 test machine, still waiting for it to finish).

I just had a look, m68k is actually already in the list of architectures where
the JIT has been disabled (see #806837 [1]), however powerpcspe was still missing.

I have added it now which should fix the build on this platform.

Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806837

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/qtwebkit-2.3.4.dfsg/debian/changelog qtwebkit-2.3.4.dfsg/debian/changelog
--- old/qtwebkit-2.3.4.dfsg/debian/changelog	2016-05-22 17:23:36.000000000 +0200
+++ qtwebkit-2.3.4.dfsg/debian/changelog	2016-08-01 12:36:23.015728044 +0200
@@ -1,3 +1,11 @@
+qtwebkit (2.3.4.dfsg-8.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add powerpcspe to the list of architectures where the JIT
+    should be disabled (Closes: #781446).
+
+ -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>  Mon, 01 Aug 2016 12:36:04 +0200
+
 qtwebkit (2.3.4.dfsg-8) unstable; urgency=medium
 
   * Disable JIT use on non-SSE2 capable machines (Closes: #824663). Thanks
diff -Nru old/qtwebkit-2.3.4.dfsg/debian/rules qtwebkit-2.3.4.dfsg/debian/rules
--- old/qtwebkit-2.3.4.dfsg/debian/rules	2015-12-02 23:11:35.000000000 +0100
+++ qtwebkit-2.3.4.dfsg/debian/rules	2016-08-01 12:33:45.765138887 +0200
@@ -50,7 +50,7 @@
 	#disable JIT assembler on archs where it doesn't compile
 	#disable WTF_USE_3D_GRAPHICS on ARM where it doesn't compile
 	#disable forcing SSE2 on all other platforms
-ifneq (,$(filter alpha arm64 armel hppa m68k mips mips64 mips64el mipsel powerpc ppc64 ppc64el s390x sh4 sparc64 x32,$(DEB_HOST_ARCH)))
+ifneq (,$(filter alpha arm64 armel hppa m68k mips mips64 mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x sh4 sparc64 x32,$(DEB_HOST_ARCH)))
 	./Tools/Scripts/build-webkit --qt DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0 DEFINES+=ENABLE_ASSEMBLER=0 $(QMAKE_ARGS) $(MAKE_ARGS)
 else ifeq ($(DEB_HOST_ARCH),armhf)
 	./Tools/Scripts/build-webkit --qt DEFINES+=WTF_USE_3D_GRAPHICS=0 DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0 DEFINES+=ENABLE_ASSEMBLER=0 $(QMAKE_ARGS) $(MAKE_ARGS)

Reply to: