Re: [Gc] [bdwgc] 7.2alpha6 fails to compile with clang (#14)
ivmai at mail.ru
Mon Mar 5 00:24:05 PST 2012
Hi Hans A.,
I've check the version of clang which comes in Ubuntu software Center:
clang version 1.1 (branches/release_27)
Thread model: posix
I've put a FIXME regarding this issue into TODO file. I hope someone could help with the workaround for it.
04 03 2012, 21:53 Hans Aberg <haberg-1 at telia.com>:
> 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):
> Clang 3.1 is not yet released, only from SVN.
More information about the Gc