Hi Casimiro,<br><br><div class="gmail_quote">On Sun, Jan 2, 2011 at 4:23 PM, Casimiro de Almeida Barreto <span dir="ltr"><<a href="mailto:casimiro.barreto@gmail.com">casimiro.barreto@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff">
Em 02-01-2011 21:15, Eliot Miranda escreveu:
<blockquote type="cite">Hi Martin, Hi All,</blockquote>
Ok,<br>
<br>
Today I downloaded new version of cog (svn) & compiled. Crashes
are fixed.<br>
<br>
unixbuild fails to install automatically (make install). Somewhere
it execs squeak.sh which fails (no imaqe & no sources) &
then the rest of installation process must be done by hand (make
install-plugins; make install-doc; cp inisqueak squeak
<cogsrc>/bin etc...).<br></div></blockquote><div><br></div><div>That should be fixed now. I had applied only half of the suggested fix to installing shell files. But the current svn sources contain both halves.</div>
<div><br></div><div>cheers</div><div>Eliot </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div text="#000000" bgcolor="#ffffff">
<br>
Regards,<br><font color="#888888">
<br>
CdAB</font><div class="im"><br>
<blockquote type="cite">
<div><br>
so find new VMs in <a href="http://www.mirandabanda.org/files/Cog/VM/VM.r2341/" target="_blank">VM.r2341/</a>.
The linux crashes (certainly the one you suffered from Martin)
seem to be caused by an optimization bug (but they could be
caused by bad code generation, creating something that assumes
ordering constraints which C doesn't guarantee). I suspect the
former because I don't see the crash when running exactly the
same VM and image from a different directory; provoking the
crash requires a particular path (go figure; I haven't pinned
this down yet).</div>
<div><br>
</div>
<div>So my "fix" is preventing a complex function being inlined
into the main interpreter loop, removing the sources of some
warnings, and lowering the optimization level of the
gcc3x-cointerp.c file to -O1 from -O2 (my build environment,
CentOS Linux 5.3, uses gcc 4.1.2). I'm not proud of this "fix".
I've violated the Deutsch criterion by not diagnosing the cause
of the bug so I can't stand behind this fix; it's a hack that
appears to work and may have merely pushed the real bug further
underground. Alas I don't have time to do a better job.
Hopefully it'll get those of you on linux going again.</div>
<div><br>
</div>
<div>best</div>
<div>Eliot</div>
<div><br>
</div>
</blockquote>
<br>
</div></div>
<br><br>
<br></blockquote></div><br>