<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">We managed to figure out that OSProcess works when we use gcc <= 4.8 on Debian. We are happy to use 4.8 for now, so we're good. It would of course be super cool if we could use the series 6 gcc as that will soon ship with Debian 9 (stretch) but it's probably not trivial to just move to a new compiler version (as seems evident from the fact that a minor version change can mess up compilation).</div><div class=""><br class=""></div><div class="">Thanks for your help Alistair and Eliot.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Max</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On 18 May 2017, at 11:00, <a href="mailto:vm-dev-request@lists.squeakfoundation.org" class="">vm-dev-request@lists.squeakfoundation.org</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="Singleton"><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">On 18 May 2017, at 00:50,<span class="Apple-converted-space"> </span><a href="mailto:vm-dev-request@lists.squeakfoundation.org" class="">vm-dev-request@lists.squeakfoundation.org</a><span class="Apple-converted-space"> </span>wrote:<br class=""><br class="">Hi Max, Hi Alistair,<br class=""><br class="">On Wed, May 17, 2017 at 1:06 AM, Alistair Grant <<a href="mailto:akgrant0710@gmail.com" class="">akgrant0710@gmail.com</a><span class="Apple-converted-space"> </span><<a href="mailto:akgrant0710@gmail.com" class="">mailto:akgrant0710@gmail.com</a>>><br class="">wrote:<br class=""><br class=""><blockquote type="cite" class=""><br class="">On Tue, May 16, 2017 at 04:59:24PM +0200, Alistair Grant wrote:<br class=""><blockquote type="cite" class="">Hi Max,<br class=""><br class="">On 16 May 2017 15:40, "Max Leske" <<a href="mailto:maxleske@gmail.com" class="">maxleske@gmail.com</a><span class="Apple-converted-space"> </span><<a href="mailto:maxleske@gmail.com" class="">mailto:maxleske@gmail.com</a>>> wrote:<br class=""><br class="">  Hi Alistair,<br class=""><br class="">      On 16 May 2017, at 15:32, vm-dev-request@lists.<br class=""></blockquote><a href="http://squeakfoundation.org/" class="">squeakfoundation.org</a><span class="Apple-converted-space"> </span><<a href="http://squeakfoundation.org/" class="">http://squeakfoundation.org/</a>><br class=""><blockquote type="cite" class="">      wrote:<br class=""><br class="">      Hi Max,<br class=""><br class="">      I can't answer your question directly, but just wondering why<br class=""></blockquote>you are<br class=""><blockquote type="cite" class="">      using<br class="">      the itimer VM when the are known issues with external calls, and<br class=""></blockquote>not<br class=""><blockquote type="cite" class="">      the<br class="">      heartbeat VM?<br class=""><br class="">  Because of the root user issue, and also because I don't care about<br class=""></blockquote>that<br class=""><blockquote type="cite" class="">  much at the moment. I'm still experimenting and for those<br class=""></blockquote>experiments it<br class=""><blockquote type="cite" class="">  doesn't matter which VM I use. Thirdly, the itimer VM is the one I<br class=""></blockquote>get when<br class=""><blockquote type="cite" class="">  I use 'curl<span class="Apple-converted-space"> </span><a href="http://get.pharo.org/60+vmLatest" class="">get.pharo.org/60+vmLatest</a><span class="Apple-converted-space"> </span><<a href="http://get.pharo.org/60+vmLatest" class="">http://get.pharo.org/60+vmLatest</a>> | bash', which is convenient<br class=""></blockquote>to get<br class=""><blockquote type="cite" class="">  the latest VM, and to minimise differences between the VM's we built<br class=""></blockquote>the<br class=""><blockquote type="cite" class="">  same one. I will definitely consider using the threaded VM for<br class=""></blockquote>production.<br class=""><blockquote type="cite" class=""><br class="">      P.S. I would love to see OSProcess working in 32 bit mode.<br class=""><br class="">  Well, it does work already, just not when we build the VM ourselves<br class=""></blockquote>:/<br class=""><blockquote type="cite" class=""><br class="">Interesting, I had the impression that for Pharo 6 OSProcess didn't work<br class=""></blockquote>in<br class=""><blockquote type="cite" class="">32bits, only 64, but I'm also building my own VM.  I'm away from my PC,<br class=""></blockquote>but<br class=""><blockquote type="cite" class="">I'll try and take a look.<br class=""></blockquote><br class="">I'm seeing the same behaviour as you, i.e. OSProcess works in a VM<br class="">downloaded from<span class="Apple-converted-space"> </span><a href="http://get.pharo.org/" class="">get.pharo.org</a><span class="Apple-converted-space"> </span><<a href="http://get.pharo.org/" class="">http://get.pharo.org/</a>>, but locks up when using the VM I<br class="">compiled.<br class=""><br class=""></blockquote><br class="">Have you looked at the build logs and eliminated compiler version, command<br class="">line flags, etc?  One important file is the config.h that is produced in<br class="">the build directory.  It might be informative to compare the one configure<br class="">is producing on your systems and the one that the binary builds creates.<br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Thanks for the pointer. I'll look into it.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""><br class=""><blockquote type="cite" class=""><br class="">Both VMs (threaded heartbeat) are based on the same source code, i.e.:<br class=""><br class="">VM: 201705022326<span class="Apple-converted-space"> </span><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm.git" class="">https://github.com/OpenSmalltalk/opensmalltalk-vm.git</a><span class="Apple-converted-space"> </span><<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm.git" class="">https://github.com/OpenSmalltalk/opensmalltalk-vm.git</a>> $<br class="">Date: Tue May 2 16:26:41 2017 -0700 $<br class=""><br class="">I'll try and take a look at this eventually, but I'm not sure how long<br class="">that will be (several weeks away, at least).<br class=""><br class="">If you figure it out, please let me know.<br class=""><br class="">Thanks!<br class="">Alistair<br class=""><br class=""></blockquote><br class=""><br class=""><br class="">--<span class="Apple-converted-space"> </span><br class="">_,,,^..^,,,_<br class="">best, Eliot<br class=""></blockquote></div><br class="Apple-interchange-newline"></div></blockquote></div><br class=""></body></html>