[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue - now the internal compiler error issue.
Xerxes RĂ„nby
xerxes at zafena.se
Mon Nov 16 06:59:37 PST 2009
Prasanth J wrote:
>
> If i want to use arm-toolchain-4.2.1 , what should i do for clearing
> the instruction cache call in lib/System/Memory.cpp?
>
You can also look how other projects have solved this problem in the past:
http://www.complang.tuwien.ac.at/viewcvs/cgi-bin/viewcvs.cgi/gforth/arch/arm/cacheflush-linux.c?rev=1.4
Here the clear cache are implemented using inline asm and a linux
systemcall to be usable with gcc 4.2.1.
Cheers
Xerxes
More information about the llvm-dev
mailing list