On 12/12/2016 12:20 AM, John Paul Adrian Glaubitz wrote:
> Attaching my latest patch which makes use of the ARM64 memory allocator, both
> for the
> Javascript engine as well as mozjemalloc. It seems to fix the memory
> corruption and
> allocation issues, but Firefox now crashes with SIGBUS in the xulrunner stub
> (see
> below).
Looks like I forgot this:
Index: firefox-50.0.2/xpcom/reflect/xptcall/md/unix/moz.build
===================================================================
--- firefox-50.0.2.orig/xpcom/reflect/xptcall/md/unix/moz.build
+++ firefox-50.0.2/xpcom/reflect/xptcall/md/unix/moz.build
@@ -264,6 +256,14 @@ if CONFIG['OS_ARCH'] in ('OpenBSD', 'Fre
'xptcstubs_sparc64_openbsd.cpp',
]
+if CONFIG['OS_ARCH'] in ('Linux') and CONFIG['OS_TEST'] == 'sparc64':
+ SOURCES += [
+ 'xptcinvoke_asm_sparc64_linux.s',
+ 'xptcinvoke_sparc64_linux.cpp',
+ 'xptcstubs_asm_sparc64_linux.s',
+ 'xptcstubs_sparc64_linux.cpp',
+ ]
+
if CONFIG['OS_ARCH'] == 'SunOS' and '86' not in CONFIG['OS_TEST']:
if CONFIG['HAVE_64BIT_BUILD']:
ASFLAGS += ['-xarch=v9']
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - [email protected]
`. `' Freie Universitaet Berlin - [email protected]
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913