Bug#752735: webkitgtk FTBFS on arm64

peter green plugwash at p10link.net
Thu Jun 26 00:34:38 UTC 2014


Package: webkitgtk
Version:
Severity: important
X-debbugs-cc: iain.lane at canonical.com

(note: Ian Lane in cc because he appears to be the effective maintainer
of the ubuntu webkitgtk package which does appear to build on arm64 and
about which I have some questions)

webkitgtk failed to build on arm64, the following was the final error in
the build log (there were a load of others before it too)

In file included from ../Source/WTF/wtf/FastMalloc.h:28:0,
                  from ../Source/JavaScriptCore/config.h:60,
                  from ../Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:26:
../Source/WTF/wtf/StdLibExtras.h: In instantiation of 'ToType WTF::bitwise_cast(FromType) [with ToType = JSC::JSCell*; FromType = int]':
../Source/JavaScriptCore/interpreter/Register.h:185:47:   required from here
../Source/WTF/wtf/StdLibExtras.h:137:5: error: static assertion failed: bitwise_cast size of FromType and ToType must be equal!
      static_assert(sizeof(FromType) == sizeof(ToType), "bitwise_cast size of FromType and ToType must be equal!");
      ^
../Source/WTF/wtf/StdLibExtras.h: In instantiation of 'ToType WTF::bitwise_cast(FromType) [with ToType = JSC::Instruction*; FromType = int]':
../Source/JavaScriptCore/interpreter/CallFrame.h:192:81:   required from here
../Source/WTF/wtf/StdLibExtras.h:137:5: error: static assertion failed: bitwise_cast size of FromType and ToType must be equal!
../Source/WTF/wtf/StdLibExtras.h: In instantiation of 'ToType WTF::bitwise_cast(FromType) [with ToType = int; FromType = JSC::Instruction*]':
../Source/JavaScriptCore/interpreter/CallFrame.h:197:75:   required from here
../Source/WTF/wtf/StdLibExtras.h:137:5: error: static assertion failed: bitwise_cast size of FromType and ToType must be equal!
GNUmakefile:77705: recipe for target 'Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o' failed
make[1]: *** [Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o] Error 1

Ubuntu had a successful build on arm64 so I went looking through their
package to see what changes should be cherry picked (a debdiff between
the latest debian version and the latest ubuntu version is attatched),
unfortunately one patch still left me questioning whether it's related.
The list of changes with comments/questions is below

geoclue depedency switched back to 1.0:
   this seems to be a ubuntuism and not relavent for debian.

debian-branch changed, maintainer changed:
   definate ubuntuisms

debian/patches/aarch64.patch, debian/patches/fix-aarch64.patch:
   from their title and description these are obviously arm64 related.

debian/patches/bugzilla_clear_surface.patch:
   appears to be a generic non-arch related bugfix related to an upstream
   bug looks to my untrained eye like it may be appropriate for debian too
   but i'm not a webkit expert.

debian/patches/disable-jit-harder.patch:
   This is the one i'm unsure about, I can't find any comments in the
   patch itself or in the ubuntu changelog as to what it does or what
   architectures it's relavent for other than that it's something to do with
   disabling jit. Theres a subversion revision listed but I haven't figured
   out what repository it reffers to.

debian/patches/gtkdoc-remove-Wcast-align.patch in Debian,
debian/patches/no-gtkdoc-warning-fail.patch in ubuntu
   This seems to be a case of Debian and Ubuntu solving the same problem
in slightly different ways.

debian/patches/ppc64el.patch:
   obviously ppc64el related

debian/rules: changes to list of no-jit architectures
   ubuntu added arm64 and ppc64el but I wonder if it would make more
   sense to have a list of architectures on which to enable jit than a
list of
   architectures on which to disable it.



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: webkitgtk-ubuntu.debdiff
URL: <http://lists.alioth.debian.org/pipermail/pkg-webkit-maintainers/attachments/20140626/1a6890fd/attachment-0001.ksh>


More information about the Pkg-webkit-maintainers mailing list