On Tue, Sep 12, 2023 at 4:16 AM Thomas Schwinge <tho...@codesourcery.com> wrote: > > As we've found, this is conceptually problematic, as discussed in > <https://inbox.sourceware.org/875y868a4b....@euler.schwinge.homeip.net> > "Consider '--with-build-sysroot=[...]' for target libraries' build-tree > testing (instead of build-time 'CC' etc.) > [PR109951]". > I therefore suggest to apply to libgo the conceptually same changes > as I've just pushed for libgomp: > <https://inbox.sourceware.org/874jjzzqc2....@euler.schwinge.homeip.net> > "libgomp: Consider '--with-build-sysroot=[...]' for target libraries' > build-tree testing (instead of build-time 'CC' > etc.) [PR91884, PR109951]". > OK to push (via Ian/Go upstream) the attached > "libgo: Consider '--with-build-sysroot=[...]' for target libraries' > build-tree testing (instead of build-time 'CC' etc.) [PR109951]"? > > By the way, I've tested this one via hard-coding > 'libgo/configure.ac:USE_DEJAGNU' to 'yes', and observing that my > "quick hack to replicate the original requirement" > ('internal_error ("MISSING SYSROOT");') no longer triggers.
Thanks. Committed. Ian