<div>Playing with Git bisect gets us to the commit below as the first bad one.<br></div><div><br></div><div>I started the git bisect with the two commits below.  The first one is bad, the second is the good one.<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 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">a783502b249c4a4fedc88b6e07837d405feab144 - zero9 - builds, zero error.</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">9f73148b8da4bc00278b83faa8da6b1c418fa54f - zero10 - builds works</span></span></span></span><br></p><div><br></div><div>Now this is not 100% guaranteed because one of the commits that git bisect chose had a build error so I had to mark that one as bad.  But the commit found does sound possible.</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">f632ee2888014ee88330ee994e13c9c609b57b5f 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(159, 160, 28)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">commit f632ee2888014ee88330ee994e13c9c609b57b5f</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: Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.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>Wed Sep 2 10:45:27 2020 -0700</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>CogVM source as per VMMaker.oscog-eem.2799/ClosedVMMaker-eem.98</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>Ha!<span class="Apple-converted-space">  </span>I am *STUPID*.</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>Integer overflow is not only determined by the upper 64-bits of a 64x64=>128 bit</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>multiply being either all zero or all ones (0 or -1), but by the upper 64-bits</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>being an extension of the most significant bit of the lower 64 bits!!</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 ffb8fbcd8ab5e2ca1936429b2daaade62909c178 a5ac89d8b1d4980c5329835cdd3d4a2387b1fac5 M<span class="Apple-converted-space">      </span>nsspur64src</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 e606dac14ee1db4ac59b0949bb03cd8e657d7aa7 be666051cd1d52d0055e319432b66a0fba61063e M<span class="Apple-converted-space">      </span>spur64src</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 1dea4faf99821c60e2c2461076bfe8b99d4dea9b afbef904e8cbc7e4b80e1606420dd6293e12f3e9 M<span class="Apple-converted-space">      </span>spurlowcode64src</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 f66c681004806d5880af7c0a3115038f4f2f3361 0e8d76bedcf22b6ad7497ea2e3dc44f3c36c2f3a M<span class="Apple-converted-space">      </span>spursista64src</span></span></span></span><br></p><div ><br></div><div class="ik_mail_quote"><div>On 2021-06-20T21:48:49.000+02:00, Craig Latta <craig@blackpagedigital.com> wrote:</div><blockquote class="ws-ng-quote"><pre style="white-space: normal;">Hi Ken--<br><br>      I brought up a development environment on a Raspberry Pi 4.<br><br> > Unfortunately, my attempt to build a VM simulator on aarch64 fails due<br> > to a divide by zero bug.<br> ><br> > Perhaps because<br> >    16r8000000000000000 printStringHex. ==> '0'<br><br>      update-eem-463.mcm has a postload action which turns on Sista, <br>which recompiles the system, which tries to recompile <br>FloatArrayTest>>testFloatArrayPluginPrimitiveAtPut, which exercises this <br>very bug during scanning, when trying to create the float 1e-127.<br><br>      For now I've rewritten testFloatArrayPluginPrimitiveAtPut and <br>testFloatArrayPluginPrimitiveAt on my system to do nothing. When <br>building GdbARMv8Plugin, there's some other kind of <br>header-include-ordering mayhem, similar to the problem with Linux <br>features.h when building the VM. (At least two levels of it, between <br>bfd.h and the aarch64 simulator's config.h, and config.h and other <br>system headers.) I expect no one has successfully built GdbARMv8Plugin <br>on anything but a M1 macOS machine so far.<br><br><br>-C<br><br>--<br>Craig Latta  ::  research computer scientist<br>Black Page Digital  ::  Berkeley, California<br>663137D7940BF5C0AFC :: 1349FB2ADA32C4D5314CE</pre></blockquote></div>