Re[2]: [Gc] [bdwgc] 7.2alpha6 fails to compile with clang (#14)
Ivan Maidanski
ivmai at mail.ru
Wed Mar 7 12:49:49 PST 2012
Hi Hans A.,
I've created a workaround for this clang bug (I haven't fully found out the cause - it looks like incorrect operations reorder in AO_stack_push_release by optimizer):
https://github.com/ivmai/libatomic_ops/commit/12f90d84330c94016af01f9c1035495286834563
Also, finally found out (and fixed) the cause why does test_stack fail if compiled by gcc-4.6.1/x86 (the bug seems to be fixed in 4.6.2):
https://github.com/ivmai/libatomic_ops/commit/30cea1b9ea06c4c25cc219e1197dfac8dfa52083
Regards.
05 03 2012, 14:00 Hans Aberg <haberg-1 at telia.com>:
> On 5 Mar 2012, at 09:24, Ivan Maidanski wrote:
>
> > I've check the version of clang which comes in Ubuntu software Center:
> >
> > clang version 1.1 (branches/release_27)
> > Target: i386-pc-linux-gnu
> > Thread model: posix
>
> Strange: a quick search gave the following pages with version at least 2.7.
> http://manpages.ubuntu.com/manpages/lucid/man1/clang.1.html
> https://launchpad.net/ubuntu/lucid/+package/clang
>
> > I've put a FIXME regarding this issue into TODO file. I hope someone could help with the workaround for it.
>
> I guess those that have it will have to report back.
>
> Hans
>
>
More information about the Gc
mailing list