From 8bb0e50a7fd1858a7bd0042d21e8ce16d4e64ddb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 1 May 2020 11:26:27 +0200 Subject: [PATCH] - one more x32 fix --- x32.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/x32.patch b/x32.patch index 2bac1e3..efcf419 100644 --- a/x32.patch +++ b/x32.patch @@ -42,3 +42,14 @@ diff -ur mozjs-60.1.0/python/mozbuild/mozbuild/configure/constants.py mozjs-60.1 ('x86', '__i386__ || _M_IX86'), ('x86_64', '__x86_64__ || _M_X64'), ('arm', '__arm__ || _M_ARM'), +--- firefox-68.7.0/js/src/vm/BigIntType.cpp~ 2020-04-03 21:29:59.000000000 +0200 ++++ firefox-68.7.0/js/src/vm/BigIntType.cpp 2020-05-01 11:22:53.296439915 +0200 +@@ -263,7 +263,7 @@ + BigInt::Digit BigInt::digitDiv(Digit high, Digit low, Digit divisor, + Digit* remainder) { + MOZ_ASSERT(high < divisor, "division must not overflow"); +-#if defined(__x86_64__) ++#if defined(__x86_64__) && !defined(__ILP32__) + Digit quotient; + Digit rem; + __asm__("divq %[divisor]" -- 2.43.0