The build configuration is here: https://github.com/archlinuxarm/PKGBUILDs/blob/master/extra/webkit2gtk/PKGBUILD http://ix.io/hUy for details on the package and linked libraries. I don't know how to debug where it's going wrong. I am aware of http://trac.webkit.org/wiki/WebKitGTK/Debugging but I don't have the resources to make a debug build for armh7. I did try raise the issue with Archlinux Arm developers, but they say I need to take it upstream: https://github.com/archlinuxarm/PKGBUILDs/issues/1155 I'm happy to provide more information. This is not an issue with the SAME package on x86_64. There is an regression since Webkit 2.4.x on ArchlinuxArm (alarm) used to work.
Please provide the generated CMakeCache.txt file. The build rule seems to strip out -O3 flag, which I think completely disables optimizations. Is that intentional? What's the environment you're running under? X11? Is this standard RPi2? If so, you appear to be linking against Mali EGL driver? > libEGL.so.1 => /usr/lib/mali-egl/libEGL.so.1 (0x736ca000)
Created attachment 256942 [details] CMakeCache.txt as requested
I'm not sure what the right GL library is for the Rpi2, though it sounds like a good think to sort out, since MALI I'm told is wrong.
Hi Kai, as far as I can tell, at the moment there's no reliable GL stack for the Pi that can be used by WebKit, so you probably want to include the patch for bug #146511 and build with ENABLE_OPENGL=OFF. This means that you will have to sacrifice accelerated compositing, but in this way at least I got WebKit2 2.10.1 (which already carries the patch) running on the Raspberry Pi 2 under Raspbian (armv6hf).