[packages/mozjs91] - one more x32 alignment fix
qboosh
qboosh at pld-linux.org
Tue Apr 5 19:51:15 CEST 2022
commit 71895ba1ac6c159595f8cd1fa83fccbb49925a67
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 5 19:51:11 2022 +0200
- one more x32 alignment fix
x32.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/x32.patch b/x32.patch
index 5d9860b..85819a9 100644
--- a/x32.patch
+++ b/x32.patch
@@ -67,3 +67,14 @@
static_assert(js::gc::JSClassAlignBytes >= MinFirstWordAlignment,
"CellFlagBitsReservedForGC should support JSClass pointers");
static_assert(js::ScopeDataAlignBytes >= MinFirstWordAlignment,
+--- firefox-91.7.1/js/src/wasm/WasmFrame.h.orig 2022-03-13 15:31:41.000000000 +0100
++++ firefox-91.7.1/js/src/wasm/WasmFrame.h 2022-04-05 19:49:49.624104638 +0200
+@@ -230,7 +230,7 @@ class DebugFrame {
+ // Avoid -Wunused-private-field warnings.
+ protected:
+ #if defined(JS_CODEGEN_MIPS32) || defined(JS_CODEGEN_ARM) || \
+- defined(JS_CODEGEN_X86) || defined(__wasi__)
++ defined(JS_CODEGEN_X86) || defined(__wasi__) || (defined(JS_CODEGEN_NONE) && defined(__ILP32__))
+ // See alignmentStaticAsserts(). For MIPS32, ARM32 and X86 DebugFrame is only
+ // 4-byte aligned, so we add another word to get up to 8-byte
+ // alignment.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mozjs91.git/commitdiff/71895ba1ac6c159595f8cd1fa83fccbb49925a67
More information about the pld-cvs-commit
mailing list