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

Hans Aberg haberg-1 at telia.com
Wed Mar 7 13:23:06 PST 2012


On 7 Mar 2012, at 21:49, Ivan Maidanski wrote:

> 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

I only have access to clang 3.1, which is from the SVN.

> 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

I only have gcc 4.7.0 20120115 from the SVN (4.7 is soon to be released). In addition llvm-gcc-4.2.

All those compiled GC from GIT when I tried it some time ago.

Hans





More information about the Gc mailing list