Commit 8d71e1a5 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated mozjs to 78.11.0

parent 7bdc63b5
all: python mozjs clean
all: python rustc mozjs clean
mozjs:
dd if=/dev/zero of=swap bs=1048576 count=4096
......@@ -6,15 +6,13 @@ mozjs:
mkswap swap
swapon swap
tar xf firefox-68.11.0esr.source.tar.xz
patch -Np1 -d firefox-68.11.0 < firefox-68.11.0-no_rust.patch
patch -Np1 -d firefox-68.11.0 < firefox-68.11.0-fix_armv7.patch
mkdir -p firefox-68.11.0/obj
cd firefox-68.11.0/obj && PATH=/build/usr/bin:$$PATH SHELL=/bin/bash CC=gcc CXX=g++ LLVM_OBJDUMP=/bin/false ../js/src/configure --prefix=/usr --with-intl-api --with-system-zlib --with-system-icu --disable-jemalloc --disable-debug-symbols --enable-readline
$(MAKE) -C firefox-68.11.0/obj SHELL=/bin/bash
$(MAKE) -C firefox-68.11.0/obj install SHELL=/bin/bash
tar xf mozjs-78.11.0.tar.bz2
mkdir -p mozjs-78.11.0/obj
cd mozjs-78.11.0/obj && PATH=/build/usr/bin:$$PATH SHELL=/bin/bash CC=gcc CXX=g++ ../js/src/configure --prefix=/usr --with-intl-api --with-system-zlib --with-system-icu --disable-jemalloc --disable-debug-symbols --enable-readline
$(MAKE) -C mozjs-78.11.0/obj SHELL=/bin/bash
$(MAKE) -C mozjs-78.11.0/obj install SHELL=/bin/bash
rm -v /usr/lib/libjs_static.ajs
rm -rf firefox-68.11.0
rm -rf mozjs-78.11.0
swapoff swap
rm -rf swap
......@@ -22,5 +20,9 @@ mozjs:
python:
$(MAKE) -C ../python temporary
rustc:
$(MAKE) -C ../rustc temporary
clean:
$(MAKE) -C ../python clean
$(MAKE) -C ../rustc clean
diff -uNr firefox-68.11.0/js/src/wasm/WasmSignalHandlers.cpp firefox-68.11.0-fix_armv7/js/src/wasm/WasmSignalHandlers.cpp
--- firefox-68.11.0/js/src/wasm/WasmSignalHandlers.cpp 2020-07-21 06:33:11.000000000 +0930
+++ firefox-68.11.0-fix_armv7/js/src/wasm/WasmSignalHandlers.cpp 2021-08-01 03:18:55.385132240 +0930
@@ -248,7 +248,16 @@
#endif
#ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
-# include <sys/user.h>
+struct user_vfp {
+ unsigned long long fpregs[32];
+ unsigned long fpscr;
+};
+
+struct user_vfp_exc {
+ unsigned long fpexc;
+ unsigned long fpinst;
+ unsigned long fpinst2;
+};
#endif
#if defined(ANDROID)
diff -uNr firefox-68.11.0/js/moz.configure firefox-68.11.0-no_rust/js/moz.configure
--- firefox-68.11.0/js/moz.configure 2020-07-21 06:32:46.000000000 +0930
+++ firefox-68.11.0-no_rust/js/moz.configure 2021-07-30 02:22:08.716054540 +0930
@@ -18,11 +18,6 @@
option(env='JS_STANDALONE', default=building_js,
help='Reserved for internal use')
-include('../build/moz.configure/rust.configure',
- when='--enable-compile-environment')
-include('../build/moz.configure/bindgen.configure',
- when='--enable-compile-environment')
-
@depends('JS_STANDALONE')
def js_standalone(value):
if value:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment