[Webkit-unassigned] [Bug 28886] Build error using JIT with gcc 4.1.2 and ARM v5
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 4 15:15:02 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28886
--- Comment #4 from Andre Pedralho <apedralho at gmail.com> 2009-09-04 15:15:01 PDT ---
(In reply to comment #3)
> I think this cause the issue:
>
> This is a gcc builtin function. Please check if its interface is declared.
>
I copied a simple test (from here
http://code.google.com/p/android/issues/detail?id=1803) and it builds and runs
fine in the same environment.
#include <stdio.h>
int main(int argc, char **argv)
{
printf("attempting toolchain clearcache syscall:\n");
__clear_cache(0, 0);
return 0;
}
I couldn't find the __clear_cache in any system header file, but could find it
in 4.1.2/libgcc.a and 4.1.2/libgcc_s.so.
Then I added an "extern void __clear_cache (char *beg, char *end);" before
using __clear_cache in ExecutableAllocator.h. The result:
obj/release/ARMAssembler.o: In function `JSC::ARMAssembler::linkBranch(void*,
JSC::ARMAssembler::JmpSrc, void*, int)':
ARMAssembler.cpp:(.text+0x1b8): undefined reference to
`JSC::__clear_cache(char*, char*)'
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list