FreeBSD Bugzilla – Attachment 151541 Details for
Bug 196638
www/webkit-gtk2: fails to build on armv6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
unbreak on arm
webkit.patch (text/plain), 1.49 KB, created by
Mikael Urankar
on 2015-01-13 10:20:19 UTC
(
hide
)
Description:
unbreak on arm
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2015-01-13 10:20:19 UTC
Size:
1.49 KB
patch
obsolete
>--- files/patch-Source__JavaScriptCore__assembler__ARMAssembler.h.orig 1970-01-01 01:00:00.000000000 +0100 >+++ files/patch-Source__JavaScriptCore__assembler__ARMAssembler.h 2015-01-09 15:18:43.689395216 +0100 >@@ -0,0 +1,11 @@ >+--- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2014-12-15 04:13:43.336068961 +0000 >++++ Source/JavaScriptCore/assembler/ARMAssembler.h 2014-12-15 04:13:49.213068201 +0000 >+@@ -1121,6 +1121,8 @@ >+ linuxPageFlush(current, end); >+ #elif OS(WINCE) >+ CacheRangeFlush(code, size, CACHE_SYNC_ALL); >++#elif OS(FREEBSD) && COMPILER(CLANG) >++ __clear_cache(code, reinterpret_cast<char*>(code) + size); >+ #else >+ #error "The cacheFlush support is missing on this platform." >+ #endif > >--- files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h.orig 2015-01-09 15:14:20.134574030 +0100 >+++ files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h 2015-01-09 15:18:43.690393916 +0100 >@@ -12,15 +12,3 @@ > static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024; > #else > static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024; >-@@ -146,6 +147,11 @@ >- { >- reprotectRegion(start, size, Executable); >- } >-+#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG) >-+ static void cacheFlush(void* code, size_t size) >-+ { >-+ __clear_cache(code, reinterpret_cast<char*>(code) + size); >-+ } >- #else >- static void makeWritable(void*, size_t) {} >- static void makeExecutable(void*, size_t) {}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196638
: 151541