Currently, webkit-gtk2 can't build due to missing implementations, probably asm. In file included from ./Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:29: ./Source/JavaScriptCore/jit/ExecutableAllocator.h:227:6: error: "The cacheFlush support is missing on this platform." #error "The cacheFlush support is missing on this platform."
Auto-assigned to maintainer gnome@FreeBSD.org
I've tried to compile it with --disable-jit but if failed 10 hours later with this error: /usr/bin/ld: Programs/.libs/jsc-1: hidden symbol `__aeabi_f2uiz' in /usr/lib/libgcc.a(fixunssfsi.o) is referenced by DSO /usr/bin/ld: final link failed: Nonrepresentable section on output
Created attachment 148371 [details] patch-Source__JavaScriptCore__jit__ExecutableAllocator.h
The port compiles fine with clang and the attached patch.
__clear_cache function is available on ARM since r251791 (https://svnweb.freebsd.org/base?view=revision&revision=251791) build log on armv6: http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/webkit-gtk2-1.8.3_6.log
and64 build: http://crack.ysv.freebsd.org/build.html?mastername=11-amd64-11-armv6-test&build=2014-12-04_04h43m03s armv6 build: http://crack.ysv.freebsd.org/build.html?mastername=11-armv6-11-armv6-test&build=2014-12-03_23h27m33s
I was having the same error on a Raspberry Pi (B). The attached patch allowed the port to build for me.
Please go ahead for webkit-gtk2 and webkit-gtk3. I was planning on including this in a update to the webkit ports I'm working on. But webkit is not cooperating.
Created attachment 150608 [details] same patch, but for webkit-gtk3 as the clear cache code has moved
A commit references this bug: Author: sbruno Date: Thu Dec 18 17:09:46 UTC 2014 New revision: 374913 URL: https://svnweb.freebsd.org/changeset/ports/374913 Log: Add support for the clear_cache() function for the ARM platform on FreeBSD. Ports now compile on ARM. PR: 194184 Submitted by: mikael.urankar@gmail.com Reviewed by: kwm@ Approved by: mentor (implicit) Changes: head/www/webkit-gtk2/Makefile head/www/webkit-gtk2/files/patch-Source__JavaScriptCore__jit__ExecutableAllocator.h head/www/webkit-gtk3/Makefile head/www/webkit-gtk3/files/patch-Source__JavaScriptCore__assembler__ARMAssembler.h