<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">LINUXLIBC6 does not have Address.i3, at least my version does not.<div><br></div><div>But, Atomic("Refany") passess at LINUXLIBC6. But, call to AtomicRefany.IsLockFree() fails - looks like infinite recursion happens inside.</div><div><br><div><div>On Feb 28, 2012, at 3:13 PM, Antony Hosking wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Same error as before. We need more compile-time type information to be maintained to make sure that we are operating on addresses not integers.<div><br><div><div><div>On Feb 28, 2012, at 9:08 AM, Dragiša Durić wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>% cm3</div><div>--- building in ../AMD64_LINUX ---</div><div><br></div><div>new source -> compiling AtomicAddress.m3</div><div>"../AMD64_LINUX/AtomicAddress.m3", line 3: 18 code generation errors</div><div>1 error encountered</div><div>new exporters -> recompiling AtomicAddress.i3</div><div>compilation failed => not building program "test"</div><div>Fatal Error: package build failed</div><div><br></div><div>% cat m3makefile </div><div>import("libm3")</div><div><br></div><div>...</div><div><br></div><div>Generic_module("Atomic")</div><div>template("atomic")</div><div>Atomic("Address")</div><div><br></div><div>program ("test")</div><div><br></div><div><div>On Feb 28, 2012, at 2:25 PM, Antony Hosking wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes, this is a known bug.<div><br><div><div>On Feb 28, 2012, at 8:15 AM, Dragiša Durić wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>% cm3</div><div>--- building in ../AMD64_DARWIN ---</div><div><br></div><div>new source -> compiling Proxy.m3</div><div>"../src/Proxy.m3", line 13: warning: not used (JobHandler)</div><div>1 warning encountered</div><div>new source -> compiling AtomicAddress.i3</div><div>new source -> compiling AtomicAddress.m3</div><div>"../AMD64_DARWIN/AtomicAddress.m3 => ../src/Atomic.mg", line 52: ********* M3CG_Check ERROR *********** bad stack: expected [ Int64 ] got [ Addr Int64 ]</div><div><br></div><div><br></div><div>***</div><div>*** runtime error:</div><div>*** Segmentation violation - possible attempt to dereference NIL</div><div>*** pc = 0x1002f0838 = Concat + 0x8a in ../src/text/TextCat.m3</div><div>***</div><div><br></div><div>zsh: abort cm3</div><div><br></div><div><div>On Feb 27, 2012, at 8:15 AM, Dragiša Durić wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>m3-libs/m3core/src/atomic/Atomic.ig is well commented, also.</div><div><br></div><div><br></div><div><div>On Feb 27, 2012, at 1:37 AM, Jay K wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; ">Shows how to use it all.</span><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; "><br></span><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; "> </span><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; "><br></span><span class="Apple-style-span" style="font-family: Tahoma; font-size: 13px; ">It is disabled. Let's try it..</span></blockquote></div><br></div></blockquote></div><br></div></blockquote></div><br></div></div></blockquote></div><br></div></blockquote></div><br></div></div></div></blockquote></div><br></div></body></html>