<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 13, 2019 at 9:49 AM Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk">jonesc@hep.phy.cam.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On 13 Oct 2019, at 2:46 pm, Joshua Root <<a href="mailto:jmr@macports.org" target="_blank">jmr@macports.org</a>> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>On 2019-10-14 00:35 , Chris Jones wrote:</span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>After that, my next guess would perhaps another issue related to the</span><br></blockquote><blockquote type="cite"><span>stack-check issue with Xcode 11. See e.g. the fix I added for OpenBLAS</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span><a href="https://github.com/macports/macports-ports/commit/6e78e5c9495b4dc4e7e050fae2b41dd5b9accfdd#diff-a755de84ca7f97ab071328807d829e0b" target="_blank">https://github.com/macports/macports-ports/commit/6e78e5c9495b4dc4e7e050fae2b41dd5b9accfdd#diff-a755de84ca7f97ab071328807d829e0b</a></span><br></blockquote><span></span><br><span>I'd be wary of removing a hardening measure and leaving it at that. It</span><br><span>could be revealing a genuine stack-smashing bug.</span><br></div></blockquote><div><br></div>Agreed. Accordingly to Jeremy though its a Xcode bug expected to be fixed in 11.2. Thats why I subsequently added a version check, see e.g.<div><br></div><div><a href="https://github.com/macports/macports-ports/blob/master/math/OpenBLAS/Portfile" target="_blank">https://github.com/macports/macports-ports/blob/master/math/OpenBLAS/Portfile</a></div><div><br></div><div>Line 109.</div><div><br><blockquote type="cite"><div dir="ltr"><span></span><br><span>- Josh</span></div></blockquote></div></div></blockquote><div><br></div><div>Josh,</div><div>     Does anyone know if this is already fixed in the posted Xcode 11.2 beta 2? If so, would rebuilding the OpenBLAS package with it be sufficient or aren't we sure where the offending code lies?<br></div><div>            Jack</div></div></div>