[Bug 197058] [arm] lang/spidermonkey24 fails to build for arm
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 25 02:08:02 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197058
--- Comment #6 from Jan Beich <jbeich at vfemail.net> ---
Comment on attachment 152112
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152112
Upstream patches and stuff I needed to do to get an ARM build
AsmJSSignalHandlers.cpp chunk should probably go into files/patch-bug919968 and
replaced with upstream version.
https://hg.mozilla.org/mozilla-central/rev/07ce4364fbec
> ++#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG)
> ++ static void cacheFlush(void* code, size_t size)
> ++ {
> ++ __clear_cache(code, reinterpret_cast<char*>(code) + size);
Why is this limited to compiler-rt? Wouldn't __clear_cache() from libgcc
implemented via ARM_SYNC_ICACHE for NetBSD also work for us?
#elif CPU(ARM_TRADITIONAL) && (OS(FREEBSD) || OS(NETBSD))
> +-#if !(defined(ANDROID) || defined(MOZ_B2G))
> ++#if !(defined(ANDROID) || defined(MOZ_B2G) || defined(__FreeBSD__))
The header probably doesn't exist anywhere else.
#if defined(__linux__) && !defined(ANDROID) && !defined(MOZ_B2G)
> + #include <asm/hwcap.h>
> + #else
> + #define HWCAP_VFP (1<<0)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-gecko
mailing list