<div dir="ltr"><div>Hmm,</div><div>the "bad" commit just replace int by sqInt which are equivalent on 32bits VM, I do not see what could go wrong on this side...</div><div>It also include sqMemoryAccess.h, could it be that some macro in this file override an existing one?</div><div>Is there any warning related in the LOG file?</div><div><br></div><div>In such case, what we can do is to compiled -Wall and diff the warning LOG produced by the two versions (good and bad).<br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 16 mars 2020 à 10:35, Bruce O'Neel <<a href="mailto:bruce.oneel@pckswarms.ch">bruce.oneel@pckswarms.ch</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br></div><div>HI,<br></div><div><br></div><div>If one wants to run this version you can download it from here.<br></div><div><br></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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><a href="http://www.pckswarms.ch/arm/squeak.cog.spur_linux32ARMv6_20200106170845-all.tar.bz2" target="_blank">http://www.pckswarms.ch/arm/squeak.cog.spur_linux32ARMv6_20200106170845-all.tar.bz2</a></span></span></span></span><br></p><div><br></div><div>Do not that the normal rules apply about downloading and running random programs off the internet.<br></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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>% shasum -a 256 squeak.cog.spur_linux32ARMv6_20200106170845-all.tar.bz2<span> </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures">f3408bc075754a98b5656d7ccde3f3cad29d481940c4ec55ba80d721b0b940fa<span>  </span>squeak.cog.spur_linux32ARMv6_20200106170845-all.tar.bz2</span></span></span></span><br></p><div id="gmail-m_2186514681541267736editorUserSignature" style="display:none"><br></div><div><br></div><div>cheers<br></div><div><br></div><div>bruce</div><div><br></div><div><i>16 March 2020 09:55 "Bruce O'Neel" <<a href="mailto:bruce.oneel@pckswarms.ch" target="_blank">bruce.oneel@pckswarms.ch</a>> wrote:</i><br></div><blockquote><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.  <br></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" target="_blank">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<br></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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span 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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span 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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span 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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures">Author: smalltalking <<a href="mailto:leves@caesar.elte.hu" target="_blank">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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures">Date: <span> </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>    </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>    </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>    </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures">:040000 040000 1488890eae3ef3147710b08b2cdf07b98e57b763 d6f7b25507a86fe9c5e618ccd03088598d9bc852 M 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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures">:040000 040000 97c8f9d7a00839fa93d472a8840abec8c42ff45c 1e678e1e08e5badd258cce1a4a20d5c6243b39a8 M 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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span 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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span 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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span 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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures">Author: Fabio Niephaus <<a href="mailto:code@fniephaus.com" target="_blank">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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures">Date: <span> </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>    </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 style="color:rgb(0,0,0)"><span style="font-family:Menlo"><span style="font-size:11px"><span style="font-variant-ligatures:no-common-ligatures"><span>   </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="gmail-m_2186514681541267736editorUserSignature" 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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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 <<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>> wrote:</i><br></div><blockquote><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; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" target="_blank">http://www.rowledge.org/tim</a><br></div><div>Oxymorons: Act naturally<br></div><div><br></div><div><br></div><div><br></div><div><br></div></blockquote><div><br></div><div><><br></div></blockquote><div><br></div><br>
</blockquote></div>