__builtin___clear_cache

Herbert Valerio Riedel hvr at gnu.org
Fri Nov 29 08:23:33 UTC 2013


On 2013-11-29 at 03:37:43 +0100, Kazu Yamamoto (山本和彦) wrote:
> 5bab1a57f572e29dfdffd6d1ce8e53a2772b18fd introduced
> __builtin___clear_cache. I think this is GCC specific.
> So, Storage.c cannot be compiled with clang:
>
> ----
> rts/sm/Storage.c:1294:3:
>      error: use of unknown builtin '__builtin___clear_cache' [-Wimplicit-function-declaration]
>       __builtin___clear_cache(begin, end);
>       ^
> 1 error generated.
> ----

Fyi, the following posting seems related:

 http://lists.nongnu.org/archive/html/libunwind-devel/2012-08/msg00057.html



More information about the ghc-devs mailing list