diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-10-25 10:29:36 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-10-26 10:06:20 -0700 |
| commit | f917e5fe40a22bc96dde0f86f5ac177c5f8c2ef6 (patch) | |
| tree | c606b5696b14cd7fc26f98e6d5ed0b4f075b035c | |
| parent | 19465da276b06bd70d8c4fcd32e4e52c974b93be (diff) | |
| download | meta-openembedded-f917e5fe40a22bc96dde0f86f5ac177c5f8c2ef6.tar.gz | |
mozjs: Update to 91.2.0
This has bunch of security fixes
https://www.mozilla.org/en-US/security/advisories/mfsa2021-45/
No need to disable jit explicitly for rv32, it works ok without it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0001-Cargo.toml-do-not-abort-on-panic.patch | 17 | ||||
| -rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.2.0.bb (renamed from meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb) | 3 |
2 files changed, 8 insertions, 12 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0001-Cargo.toml-do-not-abort-on-panic.patch b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0001-Cargo.toml-do-not-abort-on-panic.patch index 34861de7f2..e09848f403 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0001-Cargo.toml-do-not-abort-on-panic.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0001-Cargo.toml-do-not-abort-on-panic.patch | |||
| @@ -11,11 +11,15 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de> | |||
| 11 | Cargo.toml | 3 +-- | 11 | Cargo.toml | 3 +-- |
| 12 | 1 file changed, 1 insertion(+), 2 deletions(-) | 12 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 13 | 13 | ||
| 14 | diff --git a/Cargo.toml b/Cargo.toml | ||
| 15 | index 09f3e7292f..0fff412569 100644 | ||
| 16 | --- a/Cargo.toml | 14 | --- a/Cargo.toml |
| 17 | +++ b/Cargo.toml | 15 | +++ b/Cargo.toml |
| 18 | @@ -57,7 +57,6 @@ panic = "abort" | 16 | @@ -51,13 +51,11 @@ opt-level = 1 |
| 17 | rpath = false | ||
| 18 | lto = false | ||
| 19 | debug-assertions = true | ||
| 20 | -panic = "abort" | ||
| 21 | |||
| 22 | [profile.release] | ||
| 19 | opt-level = 2 | 23 | opt-level = 2 |
| 20 | rpath = false | 24 | rpath = false |
| 21 | debug-assertions = false | 25 | debug-assertions = false |
| @@ -23,10 +27,3 @@ index 09f3e7292f..0fff412569 100644 | |||
| 23 | 27 | ||
| 24 | # Optimize build dependencies, because bindgen and proc macros / style | 28 | # Optimize build dependencies, because bindgen and proc macros / style |
| 25 | # compilation take more to run than to build otherwise. | 29 | # compilation take more to run than to build otherwise. |
| 26 | @@ -105,4 +104,4 @@ path = "third_party/rust/mio" | ||
| 27 | |||
| 28 | # Patch failure 0.1.8 to disable the backtrace feature by default. See bug 1608157. | ||
| 29 | [patch.crates-io.failure] | ||
| 30 | -path = "third_party/rust/failure" | ||
| 31 | \ No newline at end of file | ||
| 32 | +path = "third_party/rust/failure" | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.2.0.bb index ff0d7bd6ab..45f0145313 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.1.0.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs_91.2.0.bb | |||
| @@ -12,7 +12,7 @@ SRC_URI = "https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/fire | |||
| 12 | file://0001-build-do-not-use-autoconf-s-config.sub-to-canonicali.patch \ | 12 | file://0001-build-do-not-use-autoconf-s-config.sub-to-canonicali.patch \ |
| 13 | file://riscv32.patch \ | 13 | file://riscv32.patch \ |
| 14 | " | 14 | " |
| 15 | SRC_URI[sha256sum] = "3b913d6a52c95a8986123c98543f1273812a2d59f2891b4b1c604e35f4580766" | 15 | SRC_URI[sha256sum] = "3ef3cfd321d0c2c80ee1b41b8baf7a1ea4daf93c29e1377274933440ff5e42c3" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/firefox-${@d.getVar("PV").replace("esr", "")}" | 17 | S = "${WORKDIR}/firefox-${@d.getVar("PV").replace("esr", "")}" |
| 18 | 18 | ||
| @@ -37,7 +37,6 @@ export RUSTFLAGS | |||
| 37 | JIT ?= "" | 37 | JIT ?= "" |
| 38 | 38 | ||
| 39 | JIT:mipsarch = "--disable-jit" | 39 | JIT:mipsarch = "--disable-jit" |
| 40 | JIT:riscv32 = "--disable-jit" | ||
| 41 | 40 | ||
| 42 | do_configure() { | 41 | do_configure() { |
| 43 | cd ${B} | 42 | cd ${B} |
