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

Bug#760759: qtwebkit: FTBFS on hppa: #error "The MacroAssembler is not supported on this platform."



On 7-Sep-14, at 2:24 PM, Lisandro Damián Nicanor Pérez Meyer wrote:

I have just disabled JIT on hppa too, this will fix this issue on next upload.

We also need platform patch that was applied to webkitgtk. Otherwise, the build fails here: /«PKGBUILDDIR»/Source/WTF/wtf/dtoa/utils.h:62:2: error: #error Target architecture was not detected as supported by Double-Conversion.

I have a build going to test this but it's not finished yet.

Thanks,
Dave
--
John David Anglin	dave.anglin@bell.net


Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 qtwebkit (2.3.2.dfsg-3) unstable; urgency=medium
 .
   * Disable JIT also in s390x.
   * Build depend upon libqt4-dev >= 4:4.8.6+git64-g5dc8b2b+dfsg-2~ so as to
     be sure to be using the version of xmlpatterns that does not consumes a
     lot of memory.
   * Ensure ppc64el is built in little endian mode with
     Colin Watson's ppc64el.patch.
   * Bound CPU usage on unknown platforms with bound_cpu_usage.patch
     (Closes: #760519). Thanks Samuel Thibault for the patch.
   * Update symbols files with buildds' logs.
   * Add x32_support.patch to support x32 (Closes: #700093).
     - Also disable JIT on x32.
   * Add arm64.patch (taken from Ubuntu's aarch64.patch) and modify it to
     properly detect arm64.
Author: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Bug-Debian: https://bugs.debian.org/700093
Bug-Debian: https://bugs.debian.org/760519

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- qtwebkit-2.3.2.dfsg.orig/Source/WTF/wtf/Platform.h
+++ qtwebkit-2.3.2.dfsg/Source/WTF/wtf/Platform.h
@@ -65,6 +65,15 @@
 #define WTF_CPU_ALPHA 1
 #endif
 
+/* CPU(HPPA) - HP PARISC */
+#if defined(__hppa__)
+#define WTF_CPU_HPPA 1
+#define WTF_CPU_BIG_ENDIAN 1
+#define ENABLE_JIT 0
+#define ENABLE_YARR_JIT 0
+#define ENABLE_ASSEMBLER 0
+#endif
+
 /* CPU(IA64) - Itanium / IA-64 */
 #if defined(__ia64__)
 #define WTF_CPU_IA64 1

Reply to: