__builtin___clear_cache

Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) kazu at iij.ad.jp
Thu Dec 5 21:32:10 UTC 2013


Hi,

I verified that the recent change solves this problem on Mac.
Thank you, Austin.

--Kazu

> I was discussed this with Austin in private messages. He understand
> what's the source of this problem and will fix it.
> 
> --Kazu
> 
>> 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
>> 
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs


More information about the ghc-devs mailing list