[Bug 271081] www/firefox: crashes on arm64 with ASLR enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Dec 2023 07:17:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271081 --- 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 +0000 +++ b/js/src/jit/arm64/vixl/MozCpu-vixl.cpp Mon Dec 18 08:06:04 2023 +0100 @@ -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. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.