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

Bug#783293: browsers crash with 'illegal instruction' on i586



Hello hikaru,
tried to have a look at the browser crashes.

Unfortunately there it seems some part of the webkit engine does generate code 'just in time'. But this generator uses instructions like 'fucomip', which is only available on later than pentium.

I tried as a workaround to build a libqtwebkit package with attached little modification (does disable JIT, like for other archs).
With this the browser does not crash.

Again unfortunately this packages have not distinct files for i586 and i686 like e.g. libav.
Therefore would such a change affect every x86 user of this package.
So this is also just a workaround.

(I have not tested it, but I would expect this is the
same case for libjavascriptcoregtk-3.0-0.)

Kind regards,
Bernhard
--- a/debian/rules	2014-10-01 18:40:03.000000000 +0200
+++ b/debian/rules	2015-04-25 13:50:30.105388093 +0200
@@ -55,7 +55,7 @@ ifneq (,$(filter arm64 armel hppa mips m
 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)
 else
-	./Tools/Scripts/build-webkit --qt $(QMAKE_ARGS) $(MAKE_ARGS) --no-force-sse2
+	./Tools/Scripts/build-webkit --qt DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0 DEFINES+=ENABLE_ASSEMBLER=0 $(QMAKE_ARGS) $(MAKE_ARGS) --no-force-sse2
 endif
 
 override_dh_auto_install:

Reply to: