Re: __builtin___clear_cache

2013-11-29 Thread Herbert Valerio Riedel
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@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: __builtin___clear_cache

2013-11-29 Thread 山本和彦
Hi,

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@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


__builtin___clear_cache

2013-11-28 Thread 山本和彦
Hi,

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.


--Kazu
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs