Control: tags -1 patch
Control: block -1 by 878285

Remove:
Fix-crashes-in-AtomicOperations-none-on-s390x.patch

Add:
Fix-crashes-in-AtomicOperations-none.patch
tests-increase-timeout.patch

Apply:

--- debian/rules.old    2017-10-15 19:54:40.518792844 +0000
+++ debian/rules        2017-10-15 19:54:45.245459244 +0000
@@ -24,6 +24,10 @@
 endif
 export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND
 
+ifneq (,$(filter $(DEB_HOST_ARCH), mips))
+        CONFIGURE_FLAGS += --disable-ion
+endif
+
 ifeq ($(DEB_HOST_ARCH_ENDIAN),little)
 ICU_DATA_FILE = icudt58l.dat
 else

--- debian/test.sh.old  2017-10-15 19:55:53.555455394 +0000
+++ debian/test.sh      2017-10-15 19:56:09.302121173 +0000
@@ -22,9 +22,6 @@
                (mips64el)
                        echo "Ignoring test failure, 
https://bugs.debian.org/877428";
                        ;;
-               (mips)
-                       echo "Ignoring test failure, 
https://bugs.debian.org/878284";
-                       ;;
                (ppc64el)
                        echo "Ignoring test failure, 
https://bugs.debian.org/878319";
                        ;;


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Description: Use AtomicOperations-sparc.h instead of AtomicOperations-none.h
Author: Adrian Bunk <b...@debian.org>
Bug-Debian: https://bugs.debian.org/878284

--- mozjs52-52.3.1.orig/js/src/jit/AtomicOperations.h
+++ mozjs52-52.3.1/js/src/jit/AtomicOperations.h
@@ -342,7 +342,8 @@ AtomicOperations::isLockfree(int32_t siz
 # elif defined(__aarch64__)
 #  include "jit/arm64/AtomicOperations-arm64.h"
 # else
-#  include "jit/none/AtomicOperations-none.h" // These MOZ_CRASH() always
+  // The sparc file is more or less generic
+#  include "jit/none/AtomicOperations-sparc.h"
 # endif
 #elif defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64)
 # include "jit/x86-shared/AtomicOperations-x86-shared.h"
Description: Increase the test timeout for slower buildds
Author: Adrian Bunk <b...@debian.org>
Bug-Debian: https://bugs.debian.org/878284

--- mozjs52-52.3.1.orig/js/src/Makefile.in
+++ mozjs52-52.3.1/js/src/Makefile.in
@@ -104,7 +104,7 @@ check:: check-style check-masm check-js-
 
 check-jstests:
 	$(wildcard $(RUN_TEST_PROGRAM)) $(PYTHON) -u $(srcdir)/tests/jstests.py \
-		--no-progress --format=automation --timeout 300 \
+		--no-progress --format=automation --timeout 600 \
 		$(JSTESTS_EXTRA_ARGS) \
 		$(DIST)/bin/$(JS_SHELL_NAME)$(BIN_SUFFIX)
 

Reply via email to