Manual merge of version 102.3.0esr-1+rpi1 and 102.4.0esr-1~deb11u1 to produce 102... archive/raspbian/102.4.0esr-1_deb11u1+rpi1 raspbian/102.4.0esr-1_deb11u1+rpi1
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 3 Nov 2022 09:17:23 +0000 (09:17 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 3 Nov 2022 09:53:03 +0000 (09:53 +0000)
* No need to patch atomics files anymore, upstream has adjusted them.

1  2 
debian/changelog
debian/control
debian/patches/disable-jit.patch

index 4baeb930cd38f9bd1e92079f2aaa56ae6f80c7ae,c81268d271ca579e9d0ab3d803e46837ca323816..be5f08f05832a13d7d29c675694bed8e70b714bf
@@@ -1,38 -1,12 +1,44 @@@
- firefox-esr (102.3.0esr-1+rpi1) bookworm-staging; urgency=medium
++firefox-esr (102.4.0esr-1~deb11u1+rpi1) bullseye-staging; urgency=medium
 +
 +  [changes brought forward from 60.3.0esr-1+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Wed, 05 Dec 2018 06:56:52 +0000]
 +  * Hack broken rust target selection so it produces the right target
 +    on raspbian.
 +  * Fix clean target.
 +
 +  [changes introduce in 60.8.0esr-1+rpi1 by Peter Michael Green]
 +  * Use a fake homedir for build (Closes: 933757).
 +
 +  [changes introduced in 68.2.0esr-1+rpi1 by Peter Michael Green]
 +  * Disable webrtc, it seems to fail to build on raspbian.
 +  * Try to disable Neon
 +
 +  [changes introduced in 78.3.0esr-2+rpi1 by Peter Michael Green]
 +  * Clean up pycache directories.
 +  * Disable neon in qcms.
 +
 +  [changes brought over from thunderbird 1:91.3.2-1+rpi1 by Peter Michael Green]
 +  * Use a #define instead of a typedef for double_t in fdlibm to prevent conflicting
 +    definitions error.
 +
 +  [changes brought over from thunderbird 1:102.1.1-1+rpi1 by Peter Michael Green]
 +  * Disable more armv7/neon stuff.
 +
 +  [changes introduced in 102.2.0esr-1+rpi1 by Peter Michael Green]
 +  * Disable jit (or at least try to)
 +    + Pass disable-jit from debian/rules
 +    + Nerf jit detection in s/moz.configure
-     + Disable arm atomics (which require armv7) in js/src/jit/GenerateAtomicOperations.py
-     + Remove architecture restrictions in jit/shared/AtomicOperations-feeling-lucky-gcc.h
 +
-  -- Raspbian forward porter <root@raspbian.org>  Mon, 26 Sep 2022 05:42:10 +0000
++ -- Raspbian forward porter <root@raspbian.org>  Fri, 21 Oct 2022 01:45:18 +0000
 +
- firefox-esr (102.3.0esr-1) unstable; urgency=medium
+ firefox-esr (102.4.0esr-1~deb11u1) bullseye-security; urgency=medium
+   * New upstream release.
+   * Fixes for mfsa2022-45, also known as:
+     CVE-2022-42927, CVE-2022-42928, CVE-2022-42929, CVE-2022-42932.
+  -- Mike Hommey <glandium@debian.org>  Wed, 19 Oct 2022 05:04:39 +0900
+ firefox-esr (102.3.0esr-1~deb11u1) bullseye-security; urgency=medium
  
    * New upstream release.
    * Fixes for mfsa2022-41, also known as:
diff --cc debian/control
Simple merge
index 9af7c74aaa3a67c9e3e7694301d0e3484e23d701,0000000000000000000000000000000000000000..5a6634dd957b6d11abb8cb5df86e2731797e6148
mode 100644,000000..100644
--- /dev/null
@@@ -1,96 -1,0 +1,41 @@@
- Date: Tue, 20 Sep 2022 21:54:38 +0000
- X-Dgit-Generated: 102.2.0esr-1+rpi1 e351c33a6ff4b5d2ff37573db2b0b8e6df0a0b8a
 +From: Peter Michael Green <plugwash@raspbian.org>
- diff --git a/js/src/jit/GenerateAtomicOperations.py b/js/src/jit/GenerateAtomicOperations.py
- index d8a38a0bbbc..63878e99a74 100644
- --- a/js/src/jit/GenerateAtomicOperations.py
- +++ b/js/src/jit/GenerateAtomicOperations.py
- @@ -32,13 +32,13 @@ def gen_seqcst(fun_name):
-              }""" % {
-              "fun_name": fun_name,
-          }
- -    if cpu_arch == "arm":
- -        return r"""
- -            INLINE_ATTR void %(fun_name)s() {
- -                asm volatile ("dmb sy\n\t" ::: "memory");
- -            }""" % {
- -            "fun_name": fun_name,
- -        }
- +    #if cpu_arch == "arm":
- +    #    return r"""
- +    #        INLINE_ATTR void %(fun_name)s() {
- +    #            asm volatile ("dmb sy\n\t" ::: "memory");
- +    #        }""" % {
- +    #        "fun_name": fun_name,
- +    #    }
-      raise Exception("Unexpected arch")
-  
-  
- @@ -721,7 +721,7 @@ namespace jit {
-  
-  def generate_atomics_header(c_out):
-      contents = ""
- -    if cpu_arch in ("x86", "x86_64", "arm", "aarch64"):
- +    if cpu_arch in ("x86", "x86_64", "aarch64"):
-          contents += "#define JS_HAVE_GENERATED_ATOMIC_OPS 1"
-  
-          # `fence` performs a full memory barrier.
- diff --git a/js/src/jit/shared/AtomicOperations-feeling-lucky-gcc.h b/js/src/jit/shared/AtomicOperations-feeling-lucky-gcc.h
- index 2e384337a31..e532d8813dc 100644
- --- a/js/src/jit/shared/AtomicOperations-feeling-lucky-gcc.h
- +++ b/js/src/jit/shared/AtomicOperations-feeling-lucky-gcc.h
- @@ -30,10 +30,10 @@
-  
-  // Explicitly exclude tier-1 platforms.
-  
- -#if (defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || \
- -     defined(_M_IX86) || defined(__arm__) || defined(__aarch64__))
- -#  error "Do not use on a tier-1 platform where inline assembly is available"
- -#endif
- +//#if (defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || \
- +//     defined(_M_IX86) || defined(__arm__) || defined(__aarch64__))
- +//#  error "Do not use on a tier-1 platform where inline assembly is available"
- +//#endif
-  
-  #if !(defined(__clang__) || defined(__GNUC__))
-  #  error "This file only for gcc/Clang"
 +Subject: Disable jit.
 +
 +
 +---
 +
 +diff --git a/js/moz.configure b/js/moz.configure
 +index 7a241cac76d..a040b58407f 100644
 +--- a/js/moz.configure
 ++++ b/js/moz.configure
 +@@ -154,18 +154,18 @@ set_define("ENABLE_RECORD_TUPLE", enable_record_tuple)
 + # =======================================================
 + @depends(target, "--enable-record-tuple")
 + def jit_default(target, enable_record_tuple):
 +-    if enable_record_tuple:
 +-        return False
 +-    if target.cpu in (
 +-        "x86",
 +-        "x86_64",
 +-        "arm",
 +-        "aarch64",
 +-        "mips32",
 +-        "mips64",
 +-        "loongarch64",
 +-    ):
 +-        return True
 ++    #if enable_record_tuple:
 ++    #    return False
 ++    #if target.cpu in (
 ++    #    "x86",
 ++    #    "x86_64",
 ++    #    "arm",
 ++    #    "aarch64",
 ++    #    "mips32",
 ++    #    "mips64",
 ++    #    "loongarch64",
 ++    #):
 ++    #    return True
 +     return False
 + 
 +