public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/50786] New: temporary files not cleaned up on LTO errors
@ 2011-10-19  3:30 andi-gcc at firstfloor dot org
  2011-10-19  8:14 ` [Bug lto/50786] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: andi-gcc at firstfloor dot org @ 2011-10-19  3:30 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50786

             Bug #: 50786
           Summary: temporary files not cleaned up on LTO errors
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: andi-gcc@firstfloor.org


When there's a problem during LTRANS (in my cases ICE, but could be something
else) the temporary LTO files in TEMPDIR do not always seem to get
cleaned up. Since they can be fairly large this can lead to filled up
/ file systems and other problems when they accumulate.

Not sure who is supposed to clean this up. The driver or the lto plugin?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug lto/50786] temporary files not cleaned up on LTO errors
  2011-10-19  3:30 [Bug lto/50786] New: temporary files not cleaned up on LTO errors andi-gcc at firstfloor dot org
@ 2011-10-19  8:14 ` rguenth at gcc dot gnu.org
  2011-10-19 14:41 ` andi-gcc at firstfloor dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-19  8:14 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50786

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011-10-19
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-19 08:13:48 UTC ---
It's lto-wrapper that is supposed to cleanup the ltrans.o files generated by
WPA stage.  Maybe you mean different files though?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug lto/50786] temporary files not cleaned up on LTO errors
  2011-10-19  3:30 [Bug lto/50786] New: temporary files not cleaned up on LTO errors andi-gcc at firstfloor dot org
  2011-10-19  8:14 ` [Bug lto/50786] " rguenth at gcc dot gnu.org
@ 2011-10-19 14:41 ` andi-gcc at firstfloor dot org
  2011-10-19 15:18 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: andi-gcc at firstfloor dot org @ 2011-10-19 14:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50786

--- Comment #2 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-10-19 14:40:53 UTC ---
I'm not 100% sure which stage generates them, but I have lots of 
cc*.o and some others (.res etc.) left over after the LTRANS failure.
After two failures in a row i always have a full /.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug lto/50786] temporary files not cleaned up on LTO errors
  2011-10-19  3:30 [Bug lto/50786] New: temporary files not cleaned up on LTO errors andi-gcc at firstfloor dot org
  2011-10-19  8:14 ` [Bug lto/50786] " rguenth at gcc dot gnu.org
  2011-10-19 14:41 ` andi-gcc at firstfloor dot org
@ 2011-10-19 15:18 ` rguenth at gcc dot gnu.org
  2011-10-19 15:28 ` andi-gcc at firstfloor dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-19 15:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50786

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-19 15:18:21 UTC ---
cc*.o files are supposed to be cleaned up by the driver(s).  Are you sure
you are not using -save-temps? ;)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug lto/50786] temporary files not cleaned up on LTO errors
  2011-10-19  3:30 [Bug lto/50786] New: temporary files not cleaned up on LTO errors andi-gcc at firstfloor dot org
                   ` (2 preceding siblings ...)
  2011-10-19 15:18 ` rguenth at gcc dot gnu.org
@ 2011-10-19 15:28 ` andi-gcc at firstfloor dot org
  2011-10-19 15:55 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: andi-gcc at firstfloor dot org @ 2011-10-19 15:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50786

--- Comment #4 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-10-19 15:28:07 UTC ---
I'm not, this was a normal lto bootstrap without any special flags


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug lto/50786] temporary files not cleaned up on LTO errors
  2011-10-19  3:30 [Bug lto/50786] New: temporary files not cleaned up on LTO errors andi-gcc at firstfloor dot org
                   ` (3 preceding siblings ...)
  2011-10-19 15:28 ` andi-gcc at firstfloor dot org
@ 2011-10-19 15:55 ` rguenth at gcc dot gnu.org
  2021-08-30 22:20 ` pinskia at gcc dot gnu.org
  2021-08-30 22:26 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-19 15:55 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50786

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-19 15:55:22 UTC ---
You would need to debug this then - generally the drivers clean up after
them (and I remember testing this, at least for the non-failing case ...)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug lto/50786] temporary files not cleaned up on LTO errors
  2011-10-19  3:30 [Bug lto/50786] New: temporary files not cleaned up on LTO errors andi-gcc at firstfloor dot org
                   ` (4 preceding siblings ...)
  2011-10-19 15:55 ` rguenth at gcc dot gnu.org
@ 2021-08-30 22:20 ` pinskia at gcc dot gnu.org
  2021-08-30 22:26 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-30 22:20 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 57652.

*** This bug has been marked as a duplicate of bug 57652 ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug lto/50786] temporary files not cleaned up on LTO errors
  2011-10-19  3:30 [Bug lto/50786] New: temporary files not cleaned up on LTO errors andi-gcc at firstfloor dot org
                   ` (5 preceding siblings ...)
  2021-08-30 22:20 ` pinskia at gcc dot gnu.org
@ 2021-08-30 22:26 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-30 22:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---


*** This bug has been marked as a duplicate of bug 79181 ***

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-30 22:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-19  3:30 [Bug lto/50786] New: temporary files not cleaned up on LTO errors andi-gcc at firstfloor dot org
2011-10-19  8:14 ` [Bug lto/50786] " rguenth at gcc dot gnu.org
2011-10-19 14:41 ` andi-gcc at firstfloor dot org
2011-10-19 15:18 ` rguenth at gcc dot gnu.org
2011-10-19 15:28 ` andi-gcc at firstfloor dot org
2011-10-19 15:55 ` rguenth at gcc dot gnu.org
2021-08-30 22:20 ` pinskia at gcc dot gnu.org
2021-08-30 22:26 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).