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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Index: gcc/lto-wrapper.c
===================================================================
--- gcc/lto-wrapper.c   (revision 270053)
+++ gcc/lto-wrapper.c   (working copy)
@@ -1671,7 +1671,7 @@ cont:
              int j = ltrans_priorities[i*2 + 1];
              fprintf (mstream, " \\\n\t%s", output_names[j]);
            }
-         fprintf (mstream, "\n");
+         fprintf (mstream, "\n\t@:\n");
          fclose (mstream);
          if (!jobserver)
            {

fixes this, adding an empty rule to the all target:

/tmp/ccZYd6M0.ltrans0.ltrans.o:
        @gcc-8  '-xlto' '-c' '-fno-openmp' '-fno-openacc' '-mtune=generic'
'-march=x86-64' '-fPIC' '-shared' '-fPIC' '-B' '/abuild/rguenther/trunk2-g/gcc'
'-v' '-save-temps' '-mtune=generic' '-march=x86-64'
'-fltrans-output-list=/tmp/ccZYd6M0.ltrans.out' '-fltrans' '-o'
'/tmp/ccZYd6M0.ltrans0.ltrans.o' '/tmp/ccZYd6M0.ltrans0.o'
all: \
        /tmp/ccZYd6M0.ltrans0.ltrans.o
        @:

Reply via email to