<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On 13 Oct 2019, at 6:20 pm, Jack Howarth <howarth.at.macports@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr">Shouldn't that also strip out...<div><br></div>    if {${configure.sdkroot} ne ""} {<br>        # We should be using --with-build-sysroot here.  Using --with-sysroot<br>        # changes the behavior of the installed gcc to look in that sysroot<br>        # by default instead of /.  Using --with-build-sysroot is supposed<br>        # to be used during the build but not impact the installed product.<br>        # Unfortunately, the build fails because the value doesn't get<br>        # plumbed everywhere it is supposed to.<br>        #<br>        # <a href="https://trac.macports.org/ticket/53726">https://trac.macports.org/ticket/53726</a><br>        # <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79885">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79885</a><br>        configure.args-append --with-sysroot="${configure.sdkroot}"<br>    }</div><div dir="ltr"><br></div><div>so that if path to an Xcode-beta.app is selected in xcode-select it is honored?</div><div>            Jack</div></div></div></blockquote><div><br></div><div><br></div>I did not want to touch that at this point. The gcc bug report is still open, as far as I can see.<div><br></div><div>If someone wants try a build using —with-build-sysroot instead, they are very welcome to try...</div><div><br></div><div>Cheers chris<br><blockquote type="cite"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 13, 2019 at 1:00 PM Christopher 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 style="word-wrap:break-word;line-break:after-white-space"><div><br></div><a href="https://github.com/macports/macports-ports/commit/1850136d289019f3b29a5b24d3ec8ef9b23913ee" target="_blank">https://github.com/macports/macports-ports/commit/1850136d289019f3b29a5b24d3ec8ef9b23913ee</a><div><br></div><div>Chris<br><div><br><blockquote type="cite"><div>On 13 Oct 2019, at 5:49 pm, Kenneth F. Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" target="_blank">ken.cunningham.webuse@gmail.com</a>> wrote:</div><br><div><div style="word-wrap:break-word"><div style="word-wrap:break-word"><blockquote type="cite"><pre>Chris,
     FYI, this has already been committed upstream.

<a href="https://gcc.gnu.org/ml/gcc-cvs/2019-10/msg00148.html" target="_blank">https://gcc.gnu.org/ml/gcc-cvs/2019-10/msg00148.html</a>

      Jack
</pre></blockquote><div><pre><br></pre><pre>Yes, this plan is coming along nicely -- some of us know how this came to pass :> I sent that link to Josh a while back when it came out, as support for passing the SYSROOT in base, so it's been floating around a while.</pre><pre><br></pre><pre>After this, a couple of older gccs maybe, and then that covers most of our toolchain.</pre><pre><br></pre><pre>Then we begin stripping all the baked-in -isysroot stuff out of installed ports, which is just plain bad. (And prevents, for example, reliably building against an alternate SDK, amongst other heartburn).</pre><pre><br></pre><pre>Ken</pre></div></div></div></div></blockquote></div><br></div></div></blockquote></div>
</div></blockquote></div></body></html>