https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688
--- Comment #43 from Jonathan Wakely <redi at gcc dot gnu.org> --- I still haven't figured out why configure is setting LD_LIBRARY_PATH when using ld.gold. It's not coming from the libstdc++ build, I think it's the top-level configure which is setting RPATH_ENVVAR.