http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47241
--- Comment #9 from coolypf <coolypf at qq dot com> 2011-02-09 13:53:17 UTC --- (In reply to comment #8) > (In reply to comment #7) > > So there seems to be another dangling file-handle on it ... you are sure new > > plugin was used by ld? Another thing of interest, is the file it tries to > > remove still existing or already removed, and if existing what > > access-rights it > > has? > > The filename is something like 'ccGQSy8u.ltrans0.ltrans.o'. > It still exists in TEMP dir. > > The file is created by: > > lto1.exe -quiet -dumpbase ccGQSy8u.ltrans0.o -mtune=generic -march=pentiumpro > -auxbase-strip ccGQSy8u.ltrans0.ltrans.o -version -fltrans @cckZmRUy -o > ccuOzyFX.s > > as -v -o ccGQSy8u.ltrans0.ltrans.o ccuOzyFX.s So, I don't think the bug is related to lto1.exe, because it doesn't produce .o files.