Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2023 07:17:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 271081] www/firefox: crashes on arm64 with ASLR enabled
Message-ID:  <bug-271081-21738-ehhX0C3So7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271081-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271081-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271081

--- Comment #14 from Jesper Schmitz Mouridsen <jsm@FreeBSD.org> ---
diff -r d80eefe94738 js/src/jit/arm64/vixl/MozCpu-vixl.cpp
--- a/js/src/jit/arm64/vixl/MozCpu-vixl.cpp     Tue Nov 28 21:01:37 2023 +0=
000
+++ b/js/src/jit/arm64/vixl/MozCpu-vixl.cpp     Mon Dec 18 08:06:04 2023 +0=
100
@@ -110,7 +110,7 @@
   FlushInstructionCache(GetCurrentProcess(), address, length);
 #elif defined(XP_DARWIN)
   sys_icache_invalidate(address, length);
-#elif defined(__aarch64__) && (defined(__linux__) || defined(__android__))
+#elif defined(__aarch64__) && (defined(__linux__) || defined(__android__) =
||
defined(__FreeBSD__))
   // Implement the cache synchronisation for all targets where AArch64 is =
the
   // host, even if we're building the simulator for an AAarch64 host. This
   // allows for cases where the user wants to simulate code as well as run=
 it

This one works for me as a single patch (i.e all other attempts can be
disregarded) did only a sparse test on an incremental build but all cache
related code was guarded out. Still needs +noaslr.

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271081-21738-ehhX0C3So7>