[GHC] #10986: GHC should delete all temporary files it creates in /tmp

GHC ghc-devs at haskell.org
Mon Oct 19 03:42:07 UTC 2015


#10986: GHC should delete all temporary files it creates in /tmp
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:  erikd
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 > ghc does normally clean up its temporary directory.

 On my machines its leaving behind two kins of things:

 * An normally empty /tmp/ghcNNN_M directory where NNN looks like a process
 id and M looks like it may be a thread number (0 is most common, followed
 by 1, 2, 3 etc). When these directories are not empty, they contain things
 like ghc_ZZ.s, ghc_ZZ.o etc.

 * A /tmp/ccXXXXXX file which contain what looks like command line options
 for GCC, one per line. This is probably a result of commit 296bc70b5ff6c.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10986#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list