https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69761

--- Comment #2 from Loren Rittle <ljrittle at acm dot org> ---
Studying gcc/configure.ac , the workaround for at least gcc-15 is to add:

--with-plugin-ld=ld

I am trying another bootstrap with this patch:

$ git diff gcc/configure.ac
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 845827a340f..3918c9e2a4f 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2761,6 +2761,10 @@ if test x$PLUGIN_LD_SUFFIX = xld-new \
    || test x$PLUGIN_LD_SUFFIX = xcollect-ld ; then
   PLUGIN_LD_SUFFIX=ld
 fi
+if test x$PLUGIN_LD_SUFFIX = xld-new.exe \
+   || test x$PLUGIN_LD_SUFFIX = xcollect-ld.exe ; then
+  PLUGIN_LD_SUFFIX=ld.exe
+fi
 AC_ARG_WITH(plugin-ld,
 [AS_HELP_STRING([[--with-plugin-ld=[ARG]]], [specify the plugin linker])],
 [if test x"$withval" != x; then

Reply via email to