mozjs: update 128 > 140
These recipes break gnome 48
Quoted 505 lines · Markus Volk via lists.openembedded.org
- rework some patches
- drop applied patches
- add some additional patches from debian
- add clang-native dependency since it is available in oe-core and llvm-objdump is needed in more places nowSigned-off-by Markus Volk <[email protected] <mailto:[email protected]>>--- ...with-icu-uc-to-fix-build-with-ICU-76.patch | 27 ------------ ...nfigure-do-not-look-for-llvm-objdump.patch | 43 ------------------- ...001-Cargo.toml-do-not-abort-on-panic.patch | 0 .../0001-add-arm-to-list-of-mozinline.patch | 0 ...rewrite-cargo-host-linker-in-python3.patch | 13 +++--- ...ix-one-occasionally-reproduced-confi.patch | 19 ++++---- ...o-not-try-to-find-a-suitable-upstrea.patch | 0 .../0004-use-asm-sgidefs.h.patch | 0 ...ecurity-warning-when-disabling-forma.patch | 21 +++++++++ ...nicalizedNaNBits-on-architectures-th.patch | 30 +++++++++++++ .../Fix-math_private.h-for-i386-FTBFS.patch | 29 +++++++++++++ .../{mozjs-128 => mozjs-140}/armv5.patch | 0 .../musl-disable-stackwalk.patch | 0 .../{mozjs-128 => mozjs-140}/riscv.patch | 29 +++++++------ .../{mozjs-128 => mozjs-140}/riscv32.patch | 0 ...js-128_128.5.2.bb => mozjs-140_140.2.0.bb} | 11 ++--- 16 files changed, 118 insertions(+), 104 deletions(-) delete mode 100644 meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch delete mode 100644 meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/0001-Cargo.toml-do-not-abort-on-panic.patch (100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/0001-add-arm-to-list-of-mozinline.patch (100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/0001-rewrite-cargo-host-linker-in-python3.patch (86%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/0001-util.configure-fix-one-occasionally-reproduced-confi.patch (81%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch (100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/0004-use-asm-sgidefs.h.patch (100%) create mode 100644 meta-oe/recipes-extended/mozjs/mozjs-140/Disable-format-security-warning-when-disabling-forma.patch create mode 100644 meta-oe/recipes-extended/mozjs/mozjs-140/Export-js-detail-CanonicalizedNaNBits-on-architectures-th.patch create mode 100644 meta-oe/recipes-extended/mozjs/mozjs-140/Fix-math_private.h-for-i386-FTBFS.patch rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/armv5.patch (100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/musl-disable-stackwalk.patch (100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/riscv.patch (53%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 => mozjs-140}/riscv32.patch (100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128_128.5.2.bb =>mozjs-140_140.2.0.bb} (88%)
meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch deleted +0
-1---
a/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch+++/dev/nullmeta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch deleted +0
-1@@ -1,27 +0,0 @@ -From cbb5cc1022cc27edefc8eabbe21458cac9bda6fb Mon Sep 17 00:00:002001
meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch deleted +0
-9-From: Khem Raj <[email protected] <mailto:[email protected]>> -Date: Sat, 23 Nov 2024 13:28:33 -0800 -Subject: [PATCH] Link with icu-uc to fix build with ICU-76 - -Fixes -<https://bugzilla.mozilla.org/show_bug.cgi?id=1927380> - -Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]<mailto:[email protected]>>
----
- js/moz.configure | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch deleted +0
-6- -diff --git a/js/moz.configure b/js/moz.configure -index 593b93acee..2181dca34b 100644 ---- a/js/moz.configure -+++ b/js/moz.configure -@@ -1305,7 +1305,7 @@ def
enable_system_icu_option(enable_system_icu):meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch deleted +0
-4- return enable_system_icu - - --system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 73.1",when="--with-system-icu")
-+system_icu =pkg_check_modules("MOZ_ICU", "icu-i18n >= 73.1 icu-uc", when="--with-system-icu")meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch deleted +0
-3- - - @depends(enable_system_icu_option)meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch deleted +0
-1---
a/meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch+++/dev/nullmeta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch deleted +0
-1@@ -1,43 +0,0 @@ -From 1a5331f1997788e9a25bbc2b10eb14e2ee418be9 Mon Sep 17 00:00:002001
-From: Alexander Kanavin <[email protected]
<mailto:[email protected]>>meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch deleted +0
-8-Date: Fri, 1 Oct 2021 13:01:10 +0200 -Subject: [PATCH] moz.configure: do not look for llvm-objdump - -This avoid dragging in a dependency that isn't even needed -for js builds. - -Upstream-Status: Inappropriate [oe-core specific] -Signed-off-by: Alexander Kanavin <[email protected]<mailto:[email protected]>>
----
- moz.configure | 18 +++++++++---------
- 1 file changed, 9 insertions(+), 9 deletions(-)meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch deleted +0
-6- -diff --git a/moz.configure b/moz.configure -index 804b9a375a..402e79e3b3 100755 ---- a/moz.configure -+++ b/moz.configure -@@ -390,15 +390,15 @@ def plain_llvm_or_prefixed(name,llvm_name=None):
meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch deleted +0
-24- return plain_llvm_or_prefixed - - --llvm_objdump = check_prog( -- "LLVM_OBJDUMP", -- llvm_tool("llvm-objdump"), -- what="llvm-objdump", -- when="--enable-compile-environment", -- paths=clang_search_path, --) -- --add_old_configure_assignment("LLVM_OBJDUMP", llvm_objdump) -+#llvm_objdump = check_prog( -+# "LLVM_OBJDUMP", -+# llvm_tool("llvm-objdump"), -+# what="llvm-objdump", -+# when="--enable-compile-environment", -+# paths=clang_search_path, -+#) -+# -+#add_old_configure_assignment("LLVM_OBJDUMP", llvm_objdump) - - - def validate_readelf(path):meta-oe/recipes-extended/mozjs/mozjs-140/0001-Cargo.toml-do-not-abort-on-panic.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-Cargo.toml-do-not-abort-on-panic.patch +0
-0meta-oe/recipes-extended/mozjs/mozjs-140/0001-add-arm-to-list-of-mozinline.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-add-arm-to-list-of-mozinline.patch +0
-0meta-oe/recipes-extended/mozjs/mozjs-140/0001-rewrite-cargo-host-linker-in-python3.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patch +0
-1---
a/meta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patch
+++b/meta-oe/recipes-extended/mozjs/mozjs-140/0001-rewrite-cargo-host-linker-in-python3.patchmeta-oe/recipes-extended/mozjs/mozjs-140/0001-rewrite-cargo-host-linker-in-python3.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patch +0
-0@@ -18,18 +18,19 @@ rewrite cargo-host-linker in python3 Upstream-Status: Inappropriate [oe specific] Signed-off-by: Changqing Li <[email protected]<mailto:[email protected]>>
+Signed-off-by: Markus Volk <[email protected]
<mailto:[email protected]>>
---build/cargo-host-linker | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-)meta-oe/recipes-extended/mozjs/mozjs-140/0001-rewrite-cargo-host-linker-in-python3.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patch +1
-1-diff --git a/build/cargo-host-linker b/build/cargo-host-linker +diff --git a/build/cargo-host-linker.batb/build/cargo-host-linker.bat
indexcbd0472bf7..87d43ce9ec100755
---- a/build/cargo-host-linker
-+++ b/build/cargo-host-linker
+--- a/build/cargo-host-linker.bat
++++ b/build/cargo-host-linker.bat
@@ -1,3 +1,21 @@
--#!/bin/sh
--# See comment in cargo-linker.
--eval ${MOZ_CARGO_WRAP_HOST_LD} ${MOZ_CARGO_WRAP_HOST_LDFLAGS} '"$@"'+-@echo off +-REM See comment in cargo-linker (without extension) +-%MOZ_CARGO_WRAP_HOST_LD% %* %MOZ_CARGO_WRAP_HOST_LDFLAGS%+#!/usr/bin/env python3
+
+import os,sysmeta-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch +0
-1---
a/meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch
+++b/meta-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patchmeta-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch +0
-0@@ -28,6 +28,7 @@ It should be another process that deleted this fileby using
Upstream-Status: Submitted
[<https://bugzilla.mozilla.org/show_bug.cgi?id=1740667>]Signed-off-by Changqing Li <[email protected]<mailto:[email protected]>>
+Signed-off-by: Markus Volk <[email protected]
<mailto:[email protected]>>
---build/moz.configure/util.configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch +0
-0@@ -36,12 +37,12 @@ diff --git a/build/moz.configure/util.configureb/build/moz.configure/util.confi
indexd93b91fcdd..47ab8b92b9100644
--- a/build/moz.configure/util.configure
+++ b/build/moz.configure/util.configure
-@@ -256,7 +256,7 @@ def try_invoke_compiler(meta-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch +0
-5- "C++": ".cpp", - }[language] - -- fd, path = mkstemp(prefix="conftest.", suffix=suffix, text=True) -+ fd, path = mkstemp(prefix="try_invoke_compiler_conftest.",suffix=suffix, text=True)
meta-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch +6
-3- try: - source = source.encode("ascii", "replace") - +@@ -169,7 +169,7 @@ + def make_create_temporary_file(): + @contextmanager + def create_temporary_file(suffix): +- fd, path = mkstemp(prefix="conftest", suffix=suffix) ++ fd, path = mkstemp(prefix="try_invoke_compiler_conftest.",suffix=suffix, text=True)
meta-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch +3
-0+ os.close(fd) + yield path + try:meta-oe/recipes-extended/mozjs/mozjs-140/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch +0
-0meta-oe/recipes-extended/mozjs/mozjs-140/0004-use-asm-sgidefs.h.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/0004-use-asm-sgidefs.h.patch +0
-0(quoted diff) +0
-0
b/meta-oe/recipes-extended/mozjs/mozjs-140/Disable-format-security-warning-when-disabling-forma.patch(quoted diff) +3
-0@@ -0,0 +1,21 @@ +From: Mike Hommey <[email protected] <mailto:[email protected]>> +Date: Wed, 5 Mar 2025 07:16:17 +0900 +Subject: Disable format-security warning when disabling formatwarning
(quoted diff) +4
-0+ +Upstream-Status: Pending [Not my work. Taken from debian] + +Signed-off-by: Markus Volk <[email protected]<mailto:[email protected]>>
+--- + js/src/xsum/moz.build | 2 +-+ 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +10
-0+ +diff --git a/js/src/xsum/moz.build b/js/src/xsum/moz.build +index dc7a4f2..30f64cd 100644 +--- a/js/src/xsum/moz.build ++++ b/js/src/xsum/moz.build +@@ -17,4 +17,4 @@ SOURCES += [ + ] + + # Suppress warnings in third-party code. +-SOURCES['xsum.cpp'].flags += ['-Wno-implicit-fallthrough','-Wno-format', '-Wno-unused-value'] ++SOURCES['xsum.cpp'].flags += ['-Wno-implicit-fallthrough', '-Wno-format', '-Wno-format-security', '-Wno-unused-value']
(quoted diff) +0
-0
b/meta-oe/recipes-extended/mozjs/mozjs-140/Export-js-detail-CanonicalizedNaNBits-on-architectures-th.patch(quoted diff) +3
-0@@ -0,0 +1,30 @@ +From: Simon McVittie <[email protected] <mailto:[email protected]>> +Date: Thu, 8 Feb 2024 10:36:53 +0000 +Subject: Export js::detail::CanonicalizedNaNBits on architecturesthat use it
(quoted diff) +6
-0+ +Otherwise the inline function JS::CanonicalizeNaN(double), which is +called by gjs, cannot validly refer to it. + +Bug-Debian: <https://bugs.debian.org/1063446> +Signed-off-by: Simon McVittie <[email protected]<mailto:[email protected]>>
(quoted diff) +4
-0+ +Upstream-Status: Pending [Not my work. Taken from debian] + +Signed-off-by: Markus Volk <[email protected]<mailto:[email protected]>>
+--- + js/public/Value.h | 2 +-+ 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +6
-0+ +diff --git a/js/public/Value.h b/js/public/Value.h +index c70d5b6..4bee5bc 100644 +--- a/js/public/Value.h ++++ b/js/public/Value.h +@@ -426,7 +426,7 @@ constexpr uint64_t CanonicalizedNaNSignificand =
0x8000000000000;
+ #endif(quoted diff) +7
-0+ + #if defined(JS_RUNTIME_CANONICAL_NAN) +-extern uint64_t CanonicalizedNaNBits; ++extern JS_PUBLIC_DATA uint64_t CanonicalizedNaNBits; + #else + constexpr uint64_t CanonicalizedNaNBits = + mozilla::SpecificNaNBits<double,
detail::CanonicalizedNaNSignBit,(quoted diff) +0
-0
b/meta-oe/recipes-extended/mozjs/mozjs-140/Fix-math_private.h-for-i386-FTBFS.patch(quoted diff) +5
-0@@ -0,0 +1,29 @@ +From: Mike Hommey <[email protected] <mailto:[email protected]>> +Date: Sat, 27 Nov 2021 06:49:44 +0900 +Subject: Fix math_private.h for i386 FTBFS + +Origin: firefox-esr packaging,commit:<https://salsa.debian.org/mozilla-team/firefox/-/commit/fc1e93ab0fd20680006d6e25f301ec47b1969518>
(quoted diff) +4
-0+ +Upstream-Status: Pending [Not my work. Taken from debian] + +Signed-off-by: Markus Volk <[email protected]<mailto:[email protected]>>
+--- + modules/fdlibm/src/math_private.h | 4 +++++ 1 file changed, 4 insertions(+)
(quoted diff) +2
-0+ +diff --git a/modules/fdlibm/src/math_private.h
b/modules/fdlibm/src/math_private.h(quoted diff) +5
-0+index 45f7401..29ca8a8 100644 +--- a/modules/fdlibm/src/math_private.h ++++ b/modules/fdlibm/src/math_private.h +@@ -30,7 +30,11 @@ + * Adapted from<https://github.com/freebsd/freebsd-src/search?q=__double_t>
(quoted diff) +10
-0+ */ + ++#if defined __FLT_EVAL_METHOD__ && (__FLT_EVAL_METHOD__ == 2) ++typedef long double __double_t; ++#else + typedef double __double_t; ++#endif + typedef __double_t double_t; + typedef float __float_t; +meta-oe/recipes-extended/mozjs/mozjs-140/armv5.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/armv5.patch +0
-0meta-oe/recipes-extended/mozjs/mozjs-140/musl-disable-stackwalk.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/musl-disable-stackwalk.patch +0
-0meta-oe/recipes-extended/mozjs/mozjs-140/riscv.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/riscv.patch +0
-0@@ -4,27 +4,28 @@ Rust uses above for architecture in tuples Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]<mailto:[email protected]>>
+Signed-off-by: Markus Volk <[email protected] <mailto:[email protected]>>
---a/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
+++b/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py-@@ -1327,6 +1327,10 @@ class LinuxCrossCompileToolchainTest(Bas +@@ -1328,6 +1328,8 @@"mips-unknown-linux-gnu": big_endian + {"__mips__": 1}, "riscv32-unknown-linux-gnu": little_endian + {"__riscv": 1, "__riscv_xlen": 32}, "riscv64-unknown-linux-gnu": little_endian + {"__riscv": 1, "__riscv_xlen": 64}, -+ "riscv32gc-unknown-linux-gnu": little_endian -+ + {"__riscv": 1, "__riscv_xlen": 32}, -+ "riscv64gc-unknown-linux-gnu": little_endian -+ + {"__riscv": 1, "__riscv_xlen": 64}, ++ "riscv32gc-unknown-linux-gnu": little_endian + {"__riscv": 1, "__riscv_xlen": 32}, ++ "riscv64gc-unknown-linux-gnu": little_endian + {"__riscv": 1, "__riscv_xlen": 64}, "sh4-unknown-linux-gnu": little_endian + {"__sh__": 1}, }--- a/build/autoconf/config.sub
+++ b/build/autoconf/config.sub
-@@ -1236,7 +1236,7 @@ case $cpu-$vendor inmeta-oe/recipes-extended/mozjs/mozjs-140/riscv.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/riscv.patch +0
-5- | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ - | pru \ - | pyramid \ -- | riscv | riscv32 | riscv32be | riscv64 | riscv64be \ -+ | riscv | riscv32 | riscv32be | riscv32gc | riscv64 | riscv64be| riscv64gc \
meta-oe/recipes-extended/mozjs/mozjs-140/riscv.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/riscv.patch +11
-3- | rl78 | romp | rs6000 | rx \ - | s390 | s390x \ - | score \ +@@ -1396,8 +1396,10 @@ + | riscv \ + | riscv32 \ + | riscv32be \ ++ | riscv32gc \ + | riscv64 \ + | riscv64be \ ++ | riscv64gc \ + | rl78 \ + | romp \ + | rs6000 \meta-oe/recipes-extended/mozjs/mozjs-140/riscv32.patch renamed from meta-oe/recipes-extended/mozjs/mozjs-128/riscv32.patch +0
-0meta-oe/recipes-extended/mozjs/mozjs-140_140.2.0.bb renamed from meta-oe/recipes-extended/mozjs/mozjs-128_128.5.2.bb +0
-0@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM ="file://LICENSE;md5=dc9b6ecd19a14a54a628edaaf23733bf"
SRC_URI="https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/firefox-${PV}esr.source.tar.xz <https://archive.mozilla.org/pub/firefox/releases/$%7BPV%7Desr/source/firefox-$%7BPV%7Desr.source.tar.xz> \ file://0001-Cargo.toml-do-not-abort-on-panic.patch<file://0001-cargo.toml-do-not-abort-on-panic.patch/> \
-
file://0002-moz.configure-do-not-look-for-llvm-objdump.patch <file://0002-moz.configure-do-not-look-for-llvm-objdump.patch/> \file://0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch <file://0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch/> \ file://0004-use-asm-sgidefs.h.patch <file://0004-use-asm-sgidefs.h.patch/> \ file://riscv32.patch <file://riscv32.patch/> \meta-oe/recipes-extended/mozjs/mozjs-140_140.2.0.bb renamed from meta-oe/recipes-extended/mozjs/mozjs-128_128.5.2.bb +0
-0@@ -14,19 +13,21 @@ SRC_URI ="https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/fire
file://musl-disable-stackwalk.patch<file://musl-disable-stackwalk.patch/> \ file://0001-add-arm-to-list-of-mozinline.patch <file://0001-add-arm-to-list-of-mozinline.patch/> \ file://armv5.patch <file://armv5.patch/> \ - file://0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch <file://0001-link-with-icu-uc-to-fix-build-with-icu-76.patch/> \ file://riscv.patch <file://riscv.patch/> \+
file://Disable-format-security-warning-when-disabling-forma.patch <file://disable-format-security-warning-when-disabling-forma.patch/> \
+
file://Export-js-detail-CanonicalizedNaNBits-on-architectures-th.patch <file://export-js-detail-canonicalizednanbits-on-architectures-th.patch/> \
+ file://Fix-math_private.h-for-i386-FTBFS.patch<file://fix-math_private.h-for-i386-ftbfs.patch/> \ "-SRC_URI[sha256sum] = "
25d633eb81499cbda44b8c64fa1c1a5879d55024b864ef495d4997154d68358f" +SRC_URI[sha256sum] = "956dce675c3b706d563caf07ed3ca9af632ab830be710dfd4351da78a0a2ef55"meta-oe/recipes-extended/mozjs/mozjs-140_140.2.0.bb renamed from meta-oe/recipes-extended/mozjs/mozjs-128_128.5.2.bb +2
-3-UPSTREAM_CHECK_URI = "<https://tracker.debian.org/pkg/mozjs128>" +UPSTREAM_CHECK_URI = "<https://tracker.debian.org/pkg/mozjs140>" UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" S = "${UNPACKDIR}/firefox-${PV}" inherit pkgconfig perlnative python3native rust cargo -DEPENDS += "zlib cbindgen-native python3 icu" +DEPENDS += "zlib cbindgen-native python3 icu clang-native" DEPENDS:remove:mipsarch = "icu" DEPENDS:remove:powerpc:toolchain-clang = "icu" --2.50.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#119390): <https://lists.openembedded.org/g/openembedded-devel/message/119390>
Mute This Topic: <https://lists.openembedded.org/mt/115233753/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-devel/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-
Ok, I wonder what to do about these patches then
Do you have gnome upgrade in pipeline or something that needs it ?
Quoted 321 lines · Markus Volk via lists.openembedded.org
These recipes break gnome 48
On Sun, Sep 14 2025 at 08:07:57 +02:00:00, Markus Volk via lists.openembedded.org <[email protected]> wrote:
- rework some patches - drop applied patches - add some additional patches from debian - add clang-native dependency since it is available in oe-core and llvm-objdump is needed in more places now Signed-off-by: Markus Volk < [email protected]> --- ...with-icu-uc-to-fix-build-with-ICU-76.patch | 27 ------------ ...nfigure-do-not-look-for-llvm-objdump.patch | 43 ------------------- ...001-Cargo.toml-do-not-abort-on-panic.patch | 0
.../0001-add-arm-to-list-of-mozinline.patch| 0...rewrite-cargo-host-linker-in-python3.patch | 13 +++--- ...ix-one-occasionally-reproduced-confi.patch | 19 ++++---- ...o-not-try-to-find-a-suitable-upstrea.patch | 0
.../0004-use-asm-sgidefs.h.patch| 0
...ecurity-warning-when-disabling-forma.patch | 21 +++++++++ ...nicalizedNaNBits-on-architectures-th.patch | 30 +++++++++++++.../Fix-math_private.h-for-i386-FTBFS.patch| 29 +++++++++++++
.../{mozjs-128 =>mozjs-140}/armv5.patch| 0.../musl-disable-stackwalk.patch| 0 .../{mozjs-128 =>mozjs-140}/riscv.patch| 29 +++++++------ .../{mozjs-128 =>mozjs-140}/riscv32.patch| 0 ...js-128_128.5.2.bb => mozjs-140_140.2.0.bb}
| 11 ++--- 16 files changed, 118 insertions(+), 104 deletions(-) delete
mode 100644meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patchdelete mode 100644meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patchrename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/0001-Cargo.toml-do-not-abort-on-panic.patch(100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/0001-add-arm-to-list-of-mozinline.patch(100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/0001-rewrite-cargo-host-linker-in-python3.patch(86%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/0001-util.configure-fix-one-occasionally-reproduced-confi.patch
(81%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch
(100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/0004-use-asm-sgidefs.h.patch(100%) create mode 100644meta-oe/recipes-extended/mozjs/mozjs-140/Disable-format-security-warning-when-disabling-forma.patchcreate mode 100644meta-oe/recipes-extended/mozjs/mozjs-140/Export-js-detail-CanonicalizedNaNBits-on-architectures-th.patchcreate mode 100644meta-oe/recipes-extended/mozjs/mozjs-140/Fix-math_private.h-for-i386-FTBFS.patch
rename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/armv5.patch
(100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/musl-disable-stackwalk.patch(100%) rename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/riscv.patch(53%)
rename meta-oe/recipes-extended/mozjs/{mozjs-128 =>mozjs-140}/riscv32.patch(100%) rename meta-oe/recipes-extended/mozjs/{ mozjs-128_128.5.2.bb => mozjs-140_140.2.0.bb} (88%) diff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patchb/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patchdeleted file mode 100644 index 4fb7a28eeb..0000000000 ---a/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch+++/dev/null@@ -1,27 +0,0 @@ -Fromcbb5cc1022cc27edefc8eabbe21458cac9bda6fbMon Sep 17 00:00:00 2001 -From:
Khem Raj <[email protected]> -Date: Sat, 23 Nov 2024 13:28:33 -0800
-Subject: [PATCH] Link with icu-uc to fix build with ICU-76 - -Fixes -
https://bugzilla.mozilla.org/show_bug.cgi?id=1927380 - -Upstream-Status:
Pending -Signed-off-by: Khem Raj <[email protected]> ---- -
js/moz.configure | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) -
-diff --git a/js/moz.configure b/js/moz.configure -index593b93acee..2181dca34b100644 ---- a/js/moz.configure -+++
b/js/moz.configure -@@ -1305,7 +1305,7 @@ defenable_system_icu_option(enable_system_icu): - returnenable_system_icu- - --system_icu =pkg_check_modules("MOZ_ICU", "icu-i18n >= 73.1", when="--with-system-icu")-+system_icu = pkg_check_modules("MOZ_ICU",
"icu-i18n >= 73.1 icu-uc", when="--with-system-icu") - - - @depends(enable_system_icu_option) diff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patchb/meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patchdeleted file mode 100644 index 9a82acf77b..0000000000 ---a/meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch+++/dev/null@@ -1,43 +0,0 @@ -From1a5331f1997788e9a25bbc2b10eb14e2ee418be9Mon Sep 17 00:00:00 2001 -From:
Alexander Kanavin <[email protected]> -Date: Fri, 1 Oct 2021 13:01:10
+0200 -Subject: [PATCH] moz.configure: do not look for llvm-objdump - -This
avoid dragging in a dependency that isn't even needed -for js builds. - -Upstream-Status: Inappropriate [oe-core specific] -Signed-off-by:
Alexander Kanavin <[email protected]> ---- - moz.configure | 18
+++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) -
-diff --git a/moz.configure b/moz.configure -index804b9a375a..402e79e3b3
100755 ---- a/moz.configure -+++ b/moz.configure -@@ -390,15 +390,15 @@ defplain_llvm_or_prefixed(name, llvm_name=None): - returnplain_llvm_or_prefixed- - --llvm_objdump = check_prog( -- "LLVM_OBJDUMP",
--llvm_tool("llvm-objdump"), -- what="llvm-objdump", -- when="--enable-compile-environment", -- paths=clang_search_path, --) -- --add_old_configure_assignment("LLVM_OBJDUMP",llvm_objdump)
-+#llvm_objdump = check_prog( -+# "LLVM_OBJDUMP", -+#llvm_tool("llvm-objdump"), -+# what="llvm-objdump", -+# when="--enable-compile-environment", -+# paths=clang_search_path, -+#) -+# -+#add_old_configure_assignment("LLVM_OBJDUMP",llvm_objdump) - - - defvalidate_readelf(path): diff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Cargo.toml-do-not-abort-on-panic.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/0001-Cargo.toml-do-not-abort-on-panic.patchsimilarity index 100% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/0001-Cargo.toml-do-not-abort-on-panic.patchrename tometa-oe/recipes-extended/mozjs/mozjs-140/0001-Cargo.toml-do-not-abort-on-panic.patchdiff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/0001-add-arm-to-list-of-mozinline.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/0001-add-arm-to-list-of-mozinline.patchsimilarity index 100% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/0001-add-arm-to-list-of-mozinline.patch
rename tometa-oe/recipes-extended/mozjs/mozjs-140/0001-add-arm-to-list-of-mozinline.patch
diff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/0001-rewrite-cargo-host-linker-in-python3.patchsimilarity index 86% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patchrename tometa-oe/recipes-extended/mozjs/mozjs-140/0001-rewrite-cargo-host-linker-in-python3.patchindex94e1651b33..b1a0243939100644 ---a/meta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patch
+++b/meta-oe/recipes-extended/mozjs/mozjs-140/0001-rewrite-cargo-host-linker-in-python3.patch(quoted diff) +0
-0@@ -18,18 +18,19 @@ rewrite cargo-host-linker in python3 Upstream-Status:Inappropriate [oe specific] Signed-off-by: Changqing Li < [email protected]> +Signed-off-by: Markus Volk <[email protected]> --- build/cargo-host-linker | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) -diff --git a/build/cargo-host-linker b/build/cargo-host-linker +diff --git a/build/cargo-host-linker.bat b/build/cargo-host-linker.bat index
cbd0472bf7..87d43ce9ec100755 ---- a/build/cargo-host-linker -+++ b/build/cargo-host-linker +--- a/build/cargo-host-linker.bat ++++ b/build/cargo-host-linker.bat @@ -1,3 +1,21 @@ --#!/bin/sh --# See comment in cargo-linker. --eval ${MOZ_CARGO_WRAP_HOST_LD} ${MOZ_CARGO_WRAP_HOST_LDFLAGS} '"$@"' +-@echo off+-REM See comment in cargo-linker (without extension) +-%MOZ_CARGO_WRAP_HOST_LD% %* %MOZ_CARGO_WRAP_HOST_LDFLAGS% +#!/usr/bin/envpython3 + +import os,sys diff --git
a/meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patchsimilarity index 81% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patchrename tometa-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patchindexd53cc2bd41..99b0d28754100644 ---a/meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch
+++b/meta-oe/recipes-extended/mozjs/mozjs-140/0001-util.configure-fix-one-occasionally-reproduced-confi.patch(quoted diff) +0
-0@@ -28,6 +28,7 @@ It should be another process that deleted this file byusing Upstream-Status: Submitted [
https://bugzilla.mozilla.org/show_bug.cgi?id=1740667] Signed-off-by:
Changqing Li <[email protected]> +Signed-off-by: Markus Volk < [email protected]> --- build/moz.configure/util.configure | 2 +- 1 file
changed, 1 insertion(+), 1 deletion(-) @@ -36,12 +37,12 @@ diff --git a/build/moz.configure/util.configure b/build/moz.configure/util.confi indexd93b91fcdd..47ab8b92b9100644 --- a/build/moz.configure/util.configure +++ b/build/moz.configure/util.configure -@@ -256,7 +256,7 @@ def
try_invoke_compiler( - "C++": ".cpp", - }[language] - -- fd, path =mkstemp(prefix="conftest.", suffix=suffix, text=True)-+ fd, path =mkstemp(prefix="try_invoke_compiler_conftest.", suffix=suffix, text=True)-
try: - source =source.encode("ascii", "replace")- +@@ -169,7 +169,7 @@ +
defmake_create_temporary_file(): + @contextmanager + defcreate_temporary_file(suffix): +- fd, path = mkstemp(prefix="conftest",
suffix=suffix) ++ fd, path =mkstemp(prefix="try_invoke_compiler_conftest.", suffix=suffix, text=True)+os.close(fd)+ yield path + try: diff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patchsimilarity index 100% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patchrename tometa-oe/recipes-extended/mozjs/mozjs-140/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patchdiff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/0004-use-asm-sgidefs.h.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/0004-use-asm-sgidefs.h.patch
similarity index 100% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/0004-use-asm-sgidefs.h.patch
rename tometa-oe/recipes-extended/mozjs/mozjs-140/0004-use-asm-sgidefs.h.patchdiff
--gita/meta-oe/recipes-extended/mozjs/mozjs-140/Disable-format-security-warning-when-disabling-forma.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/Disable-format-security-warning-when-disabling-forma.patchnew file mode 100644 index 0000000000..27b8b71b5d ---/dev/null+++b/meta-oe/recipes-extended/mozjs/mozjs-140/Disable-format-security-warning-when-disabling-forma.patch(quoted diff) +0
-0@@ -0,0 +1,21 @@ +From: Mike Hommey <[email protected]> +Date: Wed, 5 Mar2025 07:16:17 +0900 +Subject: Disable format-security warning when
disabling format warning + +Upstream-Status: Pending [Not my work. Taken
from debian] + +Signed-off-by: Markus Volk <[email protected]> +--- + js/src/xsum/moz.build | 2 +- + 1 file changed, 1 insertion(+), 1
deletion(-) + +diff --git a/js/src/xsum/moz.build b/js/src/xsum/moz.build
+index dc7a4f2..30f64cd 100644 +--- a/js/src/xsum/moz.build ++++
b/js/src/xsum/moz.build +@@ -17,4 +17,4 @@ SOURCES += [ + ] + + # Suppress
warnings in third-party code. +-SOURCES['xsum.cpp'].flags += ['-Wno-implicit-fallthrough', '-Wno-format', '-Wno-unused-value'] ++SOURCES['xsum.cpp'].flags += ['-Wno-implicit-fallthrough', '-Wno-format', '-Wno-format-security', '-Wno-unused-value'] diff --gita/meta-oe/recipes-extended/mozjs/mozjs-140/Export-js-detail-CanonicalizedNaNBits-on-architectures-th.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/Export-js-detail-CanonicalizedNaNBits-on-architectures-th.patchnew file mode 100644 index 0000000000..0b90eaf909 ---/dev/null+++b/meta-oe/recipes-extended/mozjs/mozjs-140/Export-js-detail-CanonicalizedNaNBits-on-architectures-th.patch(quoted diff) +0
-0@@ -0,0 +1,30 @@ +From: Simon McVittie <[email protected]> +Date: Thu, 8Feb 2024 10:36:53 +0000 +Subject: Export
js::detail::CanonicalizedNaNBitson architectures that use it + +Otherwise the inline functionJS::CanonicalizeNaN(double), which is +called by gjs, cannot validly refer to it. + +Bug-Debian: https://bugs.debian.org/1063446 +Signed-off-by:
Simon McVittie <[email protected]> + +Upstream-Status: Pending [Not my work. Taken from debian] + +Signed-off-by: Markus Volk <[email protected]> +--- +js/public/Value.h| 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --gita/js/public/Value.hb/js/public/Value.h+index c70d5b6..4bee5bc 100644 +---a/js/public/Value.h++++b/js/public/Value.h+@@ -426,7 +426,7 @@ constexpruint64_tCanonicalizedNaNSignificand =0x8000000000000; + #endif + + #ifdefined(JS_RUNTIME_CANONICAL_NAN)+-externuint64_tCanonicalizedNaNBits; ++externJS_PUBLIC_DATAuint64_tCanonicalizedNaNBits; + #else + constexpruint64_tCanonicalizedNaNBits = + mozilla::SpecificNaNBits<double,detail::CanonicalizedNaNSignBit, diff --gita/meta-oe/recipes-extended/mozjs/mozjs-140/Fix-math_private.h-for-i386-FTBFS.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/Fix-math_private.h-for-i386-FTBFS.patchnew file mode 100644 index 0000000000..18d53cd068 ---/dev/null+++b/meta-oe/recipes-extended/mozjs/mozjs-140/Fix-math_private.h-for-i386-FTBFS.patch(quoted diff) +0
-0@@ -0,0 +1,29 @@ +From: Mike Hommey <[email protected]> +Date: Sat, 27 Nov2021 06:49:44 +0900 +Subject: Fix
math_private.hfor i386 FTBFS + +Origin:
firefox-esr packaging, commit:
https://salsa.debian.org/mozilla-team/firefox/-/commit/fc1e93ab0fd20680006d6e25f301ec47b1969518
+ +Upstream-Status: Pending [Not my work. Taken from debian] + +Signed-off-by: Markus Volk <[email protected]> +--- +modules/fdlibm/src/math_private.h| 4 ++++ + 1 file changed, 4 insertions(+) + +diff --gita/modules/fdlibm/src/math_private.hb/modules/fdlibm/src/math_private.h+index 45f7401..29ca8a8 100644 +---a/modules/fdlibm/src/math_private.h++++b/modules/fdlibm/src/math_private.h+@@ -30,7 +30,11 @@ + * Adapted from
https://github.com/freebsd/freebsd-src/search?q=__double_t + */ + ++#if defined__FLT_EVAL_METHOD__&& (__FLT_EVAL_METHOD__== 2) ++typedef long double__double_t; ++#else + typedef double__double_t; ++#endif + typedef__double_tdouble_t; + typedef float__float_t; + diff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/armv5.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/armv5.patchsimilarity index 100% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/armv5.patchrename tometa-oe/recipes-extended/mozjs/mozjs-140/armv5.patchdiff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/musl-disable-stackwalk.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/musl-disable-stackwalk.patchsimilarity index 100% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/musl-disable-stackwalk.patchrename tometa-oe/recipes-extended/mozjs/mozjs-140/musl-disable-stackwalk.patchdiff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/riscv.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/riscv.patchsimilarity index 53% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/riscv.patchrename tometa-oe/recipes-extended/mozjs/mozjs-140/riscv.patchindexcb2dc66525..9967bb75cc100644 ---a/meta-oe/recipes-extended/mozjs/mozjs-128/riscv.patch+++b/meta-oe/recipes-extended/mozjs/mozjs-140/riscv.patch@@ -4,27 +4,28 @@ Rust uses above for architecture in tuples Upstream-Status: Pending[email protected]> ---
a/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py+++b/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py-@@ -1327,6 +1327,10 @@ class LinuxCrossCompileToolchainTest(Bas +@@ -1328,6 +1328,8 @@ "mips-unknown-linux-gnu":big_endian+ {"__mips__": 1}, "riscv32-unknown-linux-gnu":little_endian+ {"__riscv": 1, "__riscv_xlen":
32}, "riscv64-unknown-linux-gnu":little_endian+ {"__riscv": 1, "__riscv_xlen": 64}, -+ "riscv32gc-unknown-linux-gnu":little_endian-+ + {"__riscv": 1, "__riscv_xlen": 32}, -+ "riscv64gc-unknown-linux-gnu":little_endian-+ + {"__riscv": 1, "__riscv_xlen": 64}, ++ "riscv32gc-unknown-linux-gnu":little_endian+ {"__riscv": 1, "__riscv_xlen": 32}, ++ "riscv64gc-unknown-linux-gnu":little_endian+ {"__riscv": 1, "__riscv_xlen": 64}, "sh4-unknown-linux-gnu":little_endian
+ {"__sh__": 1}, } --- a/build/autoconf/config.sub +++ b/build/autoconf/config.sub -@@ -1236,7 +1236,7 @@ case $cpu-$vendor in - | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ - | pru \ - | pyramid \ -- | riscv | riscv32 | riscv32be | riscv64 | riscv64be \ -+ | riscv | riscv32 | riscv32be | riscv32gc | riscv64 | riscv64be | riscv64gc \
- | rl78 | romp | rs6000 | rx \ - | s390 | s390x \ - | score \ +@@ -1396,8 +1396,10 @@ + | riscv \ + | riscv32 \ + | riscv32be \ ++ | riscv32gc \ + | riscv64 \ + | riscv64be \ ++ | riscv64gc \ + | rl78 \ + | romp \ + | rs6000 \ diff --gita/meta-oe/recipes-extended/mozjs/mozjs-128/riscv32.patchb/meta-oe/recipes-extended/mozjs/mozjs-140/riscv32.patchsimilarity index 100% rename frommeta-oe/recipes-extended/mozjs/mozjs-128/riscv32.patchrename tometa-oe/recipes-extended/mozjs/mozjs-140/riscv32.patchdiff --git a/meta-oe/recipes-extended/mozjs/mozjs-128_128.5.2.bb b/meta-oe/recipes-extended/mozjs/mozjs-140_140.2.0.bb similarity index 88% rename from meta-oe/recipes-extended/mozjs/mozjs-128_128.5.2.bb rename to meta-oe/recipes-extended/mozjs/mozjs-140_140.2.0.bb indexceb81d07e5..e9e1c96921100644 --- a/meta-oe/recipes-extended/mozjs/ mozjs-128_128.5.2.bb +++ b/meta-oe/recipes-extended/mozjs/ mozjs-140_140.2.0.bb @@ -5,7 +5,6 @@LIC_FILES_CHKSUM= "file://LICENSE;md5=dc9b6ecd19a14a54a628edaaf23733bf"SRC_URI= "
https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/firefox-${PV}esr.source.tar.xz
\ file://0001-Cargo.toml-do-not-abort-on-panic.patch \ - file://0002-moz.configure-do-not-look-for-llvm-objdump.patch \
file://0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch \
file://0004-use-asm-sgidefs.h.patch \ file://riscv32.patch \ @@ -14,19 +13,21 @@SRC_URI= "
https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/fire
file://musl-disable-stackwalk.patch \
file://0001-add-arm-to-list-of-mozinline.patch \ file://armv5.patch \ - file://0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch \
file://riscv.patch \ + file://Disable-format-security-warning-when-disabling-forma.patch \ + file://Export-js-detail-CanonicalizedNaNBits-on-architectures-th.patch \
+ file://Fix-math_private.h-for-i386-FTBFS.patch \ " -SRC_URI[sha256sum] = "25d633eb81499cbda44b8c64fa1c1a5879d55024b864ef495d4997154d68358f" +SRC_URI[sha256sum] = "956dce675c3b706d563caf07ed3ca9af632ab830be710dfd4351da78a0a2ef55"(quoted diff) +1
-1-UPSTREAM_CHECK_URI = "https://tracker.debian.org/pkg/mozjs128" +UPSTREAM_CHECK_URI = "https://tracker.debian.org/pkg/mozjs140"
UPSTREAM_CHECK_REGEX= "(?P<pver>\d+(\.\d+)+)" S = "${UNPACKDIR}/firefox-${PV}" inherit pkgconfig perlnative python3native rust cargo -DEPENDS += "zlib cbindgen-native python3 icu" +DEPENDS += "zlib cbindgen-native python3 icu clang-native" DEPENDS:remove:mipsarch = "icu" DEPENDS:remove:powerpc:toolchain-clang = "icu"
--
2.50.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#119391):
https://lists.openembedded.org/g/openembedded-devel/message/119391
Mute This Topic: https://lists.openembedded.org/mt/115233753/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 2 lines · Khem Raj via lists.openembedded.org
Ok, I wonder what to do about these patches then
Do you have gnome upgrade in pipeline or something that needs it ?
I am still unable to build glycin. I just sent out the patches in case anyone wants to try out mozjs140. You can ignore them for now. I will send them out as non-RFC once I have successfully built gnome-shell 49.