<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Eliot,<br>
<br>
as promised I checked what I did and found something I changed:<br>
<br>
The file platforms/unix/vm/sqUnixHeartbeat.c has the function void
ioUpdateVMTimezone().<br>
It was changed to something similar to what is in Cog's
sqUnixITimerHeartbeat.c:<br>
<br>
void<br>
ioUpdateVMTimezone()<br>
{<br>
updateMicrosecondClock();<br>
#ifdef HAVE_TM_GMTOFF<br>
time_t utctt;<br>
utctt = (get64(utcMicrosecondClock) -
MicrosecondsFrom1901To1970)<br>
/ MicrosecondsPerSecond;<br>
vmGMTOffset = localtime(&utctt)->tm_gmtoff *
MicrosecondsPerSecond;<br>
#else<br>
# ifdef HAVE_TIMEZONE<br>
extern time_t timezone, altzone;<br>
extern int daylight;<br>
vmGMTOffset = -1 * (daylight ? altzone : timezone) *
MicrosecondsPerSecond;<br>
# else<br>
# error "cannot determine timezone correction"<br>
# endif<br>
#endif<br>
}<br>
<br>
One thing is striking: the call to updateMicrosecondClock() is here
before the #ifdef HAVE_TM_GMTOFF while<br>
in sqUnixITimerHeartbeat.c it is after the #ifdef.<br>
I don't know which one is correct (I may have copied it wrongly from
sqUnixITimerHeartbeat).<br>
Albeit the one here seems to be correct in my eyes. What do you
think?<br>
(Side note: As far as I remember Solaris does not have tm_gmtoff and
thus the else part is being executed).<br>
<br>
<br>
Regards<br>
Andreas<br>
<br>
<div class="moz-cite-prefix">Am 14.03.15 18:33, schrieb Andreas
Wacknitz:<br>
</div>
<blockquote cite="mid:C18CBFA6-E29D-4279-9FC4-9A4709E4E380@gmx.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi Eliot,
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">Am 11.03.2015 um 23:15 schrieb Eliot Miranda
<<a moz-do-not-send="true"
href="mailto:eliot.miranda@gmail.com" class="">eliot.miranda@gmail.com</a>>:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">HI Andreas,
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Wed, Mar 11, 2015 at 9:55
AM, Andreas Wacknitz <span dir="ltr" class=""><<a
moz-do-not-send="true"
href="mailto:a.wacknitz@gmx.de" target="_blank"
class="">a.wacknitz@gmx.de</a>></span> wrote:<br
class="">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"> <br
class="">
<div style="word-wrap:break-word" class="">Hi
Clement,
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">Am 11.03.2015 um 09:23
schrieb Clément Bera <<a
moz-do-not-send="true"
href="mailto:bera.clement@gmail.com"
target="_blank" class="">bera.clement@gmail.com</a>>:</div>
<br class="">
<div class="">
<div dir="ltr" class="">Hello,
<div class=""><br class="">
</div>
About the FreeBSD VM, Holger Freyther
worked on it so he's the best person
to answer. I think some people used it
and it was at least partially working.</div>
</div>
</blockquote>
That’s my impression. The VMMaker contains
some FreeBSD classes but I have the
impression that they are not complete (and
probably outdated).</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class=""><br class="">
</div>
<div class="">About your NativeBoost
bug on openSolaris, need more
information:</div>
<div class=""><br class="">
</div>
<div class="">- Can you confirm that
you use an intel processor on your
openSolaris machine ? I assume that
yes but I ask because solaris were
typically running on other
processors. NativeBoost, as of
today, works only with intel
processor.</div>
<div class=""><br class="">
</div>
</div>
</div>
</blockquote>
Yes, my Sun Ultra 24 is an Intel based
Workstation (Q9300).</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">- Do you build the Cog
VM or Stack VM ? I mean PharoVMBuild
or PharoSVMBuild ? I think the
PharoSVMBuild does not include
NativeBoost by default, that may be
your problem. There's a fix
somewhere...</div>
<div class=""><br class="">
</div>
</div>
</div>
</blockquote>
PharoVM from "branch 'master' of <a
moz-do-not-send="true"
href="https://github.com/pharo-project/pharo-vm"
target="_blank" class="">https://github.com/pharo-project/pharo-vm</a>" (thus
Cog VM).</div>
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">I would like to fold back any changes
into the svn master repository for Cog. What are
the diffs? (If you have time to send me the diffs
that would save me a lot of time).</div>
</div>
</div>
</div>
</div>
</blockquote>
I don’t know whether there is much to harvest from what I did.
As far as I remember most of my work was hacking the generator
image created by the pharo vm scripts (for my Mac) in order to
make</div>
<div>the resulting C code to compile under openindiana. The
basis for Solaris was already there (and as far as I can see
it is also in the Squeak VM sources). I only tweaked some
definitions and includes.</div>
<div>I will look at my notes tomorrow and will post if I will
find something relevant.</div>
<div><br class="">
</div>
<div>I am curios about the future of the PharoVM. The main
development of the VM seem to happen in the SqueakVM (by you).
Getting the Spur changes into the PharoVM seem to be a lot of
work.</div>
</div>
<div>Wouldn’t it be better to move back the changes of the PharoVM
into the SqueakVM and have a united development?</div>
<div>And what is the status and what are the plans regarding
Timothy’s (gettimothy) work?</div>
<div><br class="">
</div>
<div>Regards</div>
<div>Andreas</div>
<div><br class="">
</div>
</blockquote>
<br>
</body>
</html>