https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111527
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-05-18 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note using "/tmp/rsp.txt" is not acceptable at all since there might be a few linking happening on the machine. You should use make_at_file (which will make either a tmp file which will be deleted at the end compiling or an .args.N file which can be looked at if used with -save-temps) instead from gcc.cc and then pass the filename to collect2 as "@filename" and then inside collect2 expand as needed.