<div><br></div><div>Hi,<br></div><div><br></div><div>So since I can seem to build things on my PI, I spent last evening running git bisects.  What that came up with was below.  The first bad commit does seem like somewhere things could go bad with 32 vs 64 bit, and, possibly unaligned access?  Our main test case are the x86 and the x86-64 machines which are famous for doing unaligned access with few complaints.  </div><div><br></div><div>Now this <a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka15414.html&_ga=2.65157998.1175841526.1584348406-1352071188.1515062694">http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka15414.html&_ga=2.65157998.1175841526.1584348406-1352071188.1515062694</a> claims that as of ARMv6 unaligned access is allowed and done in hardware.  One wonders if it is completely correctly done, and, this isn't something in Debian/Raspberian, or the hardware, or ????<br></div><div><br></div><div>Of course, that might be a rabbit hole as well.  <br></div><div><br></div><div>cheers<br></div><div><br></div><div>bruce</div><div><br></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">/work/share/tmp/opensmalltalk-vm$ git bisect good</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">f5ec3f4fa2b61af86bbc2b82a1dabe5bfafe8f4e is the first bad commit</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">commit f5ec3f4fa2b61af86bbc2b82a1dabe5bfafe8f4e</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">Author: smalltalking <<a href="mailto:leves@caesar.elte.hu">leves@caesar.elte.hu</a>></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">Date: <span class="Apple-converted-space">  </span>Wed Jan 8 10:55:18 2020 +0000</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>Fix type inconsistencies (int vs sqInt) (#464)</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>* Fix type inconsistencies (int vs sqInt)</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>Found by trying to compile with LTO enabled.</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>The VM compiles with the updated types on linux with or without LTO enabled (the LTO VM is not functional).</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>Didn't test with the OSes but changed the declarations in their files.</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>Affected functions:</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- primInIOProcessEventsFlagAddress</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- ioGatherEntropy</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- GetAttributeString</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- primitivePluginBrowserReady</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- primitivePluginDestroyRequest</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- primitivePluginRequestFileHandle</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- primitivePluginRequestState</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- primitivePluginRequestURL</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- primitivePluginRequestURLStream</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>- primitivePluginPostURL</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>* Include sqMemoryAccess.h to have sqInt defined</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">:040000 040000 1488890eae3ef3147710b08b2cdf07b98e57b763 d6f7b25507a86fe9c5e618ccd03088598d9bc852 M<span class="Apple-tab-span" style="white-space:pre"> </span>platforms</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">:040000 040000 97c8f9d7a00839fa93d472a8840abec8c42ff45c 1e678e1e08e5badd258cce1a4a20d5c6243b39a8 M<span class="Apple-tab-span" style="white-space:pre"> </span>src</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">Last good commit</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">commit 0b4551db2e5c00f67502250d0336757ed12ab096</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">Merge: f219b7218 afbf9e015</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">Author: Fabio Niephaus <<a href="mailto:code@fniephaus.com">code@fniephaus.com</a>></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">Date: <span class="Apple-converted-space">  </span>Mon Jan 6 17:08:45 2020 +0100</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>Merge pull request #466 from OpenSmalltalk/dtl/build-script-patch [ci skip]</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span></span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures"><span class="Apple-converted-space">    </span>Fix image MC loading glitch in image build scripts when checking pack…</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal; min-height: 13px;"><br></p><div id="editorUserSignature" style="display:none;"><br></div><div><br></div><div><br></div><div>With the last good commit I have a working ARM COG vm.<br></div><div><br></div><div>Image<br></div><div>-----<br></div><div>/work/share/tmp/Squeak5.3-19431-32bit.image<br></div><div>Squeak5.3<br></div><div>latest update: #19431<br></div><div>Current Change Set: HomeProject<br></div><div>Image format 6521 (32 bit)<br></div><div><br></div><div>Virtual Machine<br></div><div>---------------<br></div><div>/work/share/tmp/opensmalltalk-vm/build.linux32ARMv6/<a href="http://squeak.cog.spur/build/squeak">squeak.cog.spur/build/squeak</a><br></div><div>Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.2597]<br></div><div>Unix built on Mar 16 2020 09:27:25 Compiler: 6.3.0 20170516<br></div><div>platform sources revision VM: 202001061608 :/work/share/tmp/opensmalltalk-vm Date: Mon Jan 6 17:08:45 2020 CommitHash: 0b4551db2 Plugins: 202001061608 :/work/share/tmp/opensmalltalk-vm<br></div><div>CoInterpreter VMMaker.oscog-eem.2597 uuid: 7a69be2e-f0d0-4d41-9854-65432d621fed Mar 16 2020<br></div><div>StackToRegisterMappingCogit VMMaker.oscog-eem.2597 uuid: 7a69be2e-f0d0-4d41-9854-65432d621fed Mar 16 2020<br></div><div><br></div><div>To Build A Similar Virtual Machine<br></div><div>----------------------------------<br></div><div>Visit <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm">https://github.com/OpenSmalltalk/opensmalltalk-vm</a>; follow the<br></div><div>"Clone or download" instructions, then read the top-level README.md<br></div><div>and HowToBuild files in the top-level build directory for your<br></div><div>platform(s), build.macos64x64/HowToBuild, build.win32x86/HowToBuild, etc.<br></div><div><br></div><div><br></div><div>Image<br></div><div>-----<br></div><div>/work/share/tmp/Squeak6.0alpha-19511-32bit.image<br></div><div>Squeak6.0alpha<br></div><div>latest update: #19511<br></div><div>Current Change Set: HomeProject<br></div><div>Image format 6521 (32 bit)<br></div><div><br></div><div>Virtual Machine<br></div><div>---------------<br></div><div>/work/share/tmp/opensmalltalk-vm/build.linux32ARMv6/<a href="http://squeak.cog.spur/build/squeak">squeak.cog.spur/build/squeak</a><br></div><div>Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.2597]<br></div><div>Unix built on Mar 16 2020 09:27:25 Compiler: 6.3.0 20170516<br></div><div>platform sources revision VM: 202001061608 :/work/share/tmp/opensmalltalk-vm Date: Mon Jan 6 17:08:45 2020 CommitHash: 0b4551db2 Plugins: 202001061608 :/work/share/tmp/opensmalltalk-vm<br></div><div>CoInterpreter VMMaker.oscog-eem.2597 uuid: 7a69be2e-f0d0-4d41-9854-65432d621fed Mar 16 2020<br></div><div>StackToRegisterMappingCogit VMMaker.oscog-eem.2597 uuid: 7a69be2e-f0d0-4d41-9854-65432d621fed Mar 16 2020<br></div><div><br></div><div>To Build A Similar Virtual Machine<br></div><div>----------------------------------<br></div><div>Visit <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm">https://github.com/OpenSmalltalk/opensmalltalk-vm</a>; follow the<br></div><div>"Clone or download" instructions, then read the top-level README.md<br></div><div>and HowToBuild files in the top-level build directory for your<br></div><div>platform(s), build.macos64x64/HowToBuild, build.win32x86/HowToBuild, etc.<br></div><div><br></div><div>Tiny Benchmarks<br></div><div>---------------<br></div><div>320,000,000 bytecodes/sec; 19,000,000 sends/sec<br></div><div><br></div><div><br></div><div><i>15 March 2020 23:39 tim Rowledge <tim@rowledge.org> wrote:</i><br></div><blockquote class="infmailquote"><div><br></div><div><br></div><div>> On 2020-03-15, at 1:11 PM, Bruce O'Neel wrote:<br></div><div> ><br></div><div> ><br></div><div> > Hi,<br></div><div> ><br></div><div> > It looks like<br></div><div> ><br></div><div> > sudo apt-get install libgl1-mesa-dev<br></div><div> ><br></div><div> > replaces<br></div><div> ><br></div><div> > sudo apt-get install libgl-mesa-dev<br></div><div> <br></div><div> Looks like it; at least it built ok. Eventually we'll see if it works!<br></div><div> <br></div><div> <br></div><div> tim<br></div><div> --<br></div><div> tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim<br></div><div> Oxymorons: Act naturally<br></div><div> <br></div><div> <br></div><div> <br></div><div> <br></div></blockquote><div><br></div>