Comment 2 for bug 1184640

Revision history for this message
J G Miller (jgmiller) wrote :

In the Debian rules file one can see that --no-force-sse2 is enabled for platforms which never have sse2 eg armhf

override_dh_auto_build:
#disable JIT assembler on powerpc/arm64 where it doesn't compile
#disable WTF_USE_3D_GRAPHICS on ARM where it doesn't compile
#disable forcing SSE2 on all other platforms
#http://www.mentby.com/Group/webkit-qt-list/qtwebkit-231-tagged.html
ifneq (,$(filter arm64 powerpc ppc64el,$(DEB_HOST_ARCH)))
        ./Tools/Scripts/build-webkit --qt DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0 DEFINES+=ENABLE_ASSEMBLER=0
else ifeq ($(DEB_HOST_ARCH),armhf)
        ./Tools/Scripts/build-webkit --qt DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0 DEFINES+=ENABLE_ASSEMBLER=0 DEFINES+=WTF_USE_3D_GRAPHICS=0
else
        ./Tools/Scripts/build-webkit --qt --no-force-sse2
endif

There should be a test eg grep sse2 /proc/cpuinfo for i386 and amd64 to see if sse2 is available, and if not, then the --no-force-sse2 should also be added to the build options.

Why has the maintainer of the package not responded to this bug in nearly 2 years with this simple fix?