Bug#824449: firefox: FTBFS on sparc64 due to wrong platform definitions

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun Dec 11 23:38:50 UTC 2016


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 - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the pkg-mozilla-maintainers mailing list