[Gc] [bdwgc] 7.2alpha6 fails to compile with clang (#14)

Hans Aberg haberg-1 at telia.com
Sun Mar 4 09:53:14 PST 2012


On 4 Mar 2012, at 18:39, Ivan Maidanski wrote:

>>>>> The problem is some libatomic_ops assembly intrinsic (the test passes if I specify AO_USE_PTHREAD_DEFS).
>>>> 
>>>> I'm not sure how it relates to your issue, but at least on OS X 10.7, clang++ does not support C++11 atomic operations; gcc 4.7 does, but not earlier version. Though gcc 4.6 has an <atomic> header, it is not function on this platform.
>>> 
>>> This is irrelevant.
>> 
>> Anyway, if it is really clang 1.1, it is from 2003, and I did not see it using clang 3.1.
> 
> Thank you for pointing me to the version - I'm not sure whether it is 1.1 or 3.1 (I'll check tomorrow) but this clang version is the recent in Ubuntu.

The releases are here (seem to agree with clang numbers):
  http://llvm.org/releases/
Clang 3.1 is not yet released, only from SVN.

Hans





More information about the Gc mailing list