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

GHC ghc-devs at haskell.org
Thu Jan 21 15:12:45 UTC 2016


#10986: GHC should delete all temporary files it creates in /tmp
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:
            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 rwbarton):

 Okay so there are two issues here.

 * gcc leaves behind `/tmp/cc*` files whenever response files are used
 (upstream gcc bug filed by slyfox).

 * ghc leaves behind `/tmp/ghc*_*` directories ''rarely'' and under unknown
 circumstances.

 These issues seem quite distinct to me, and technically the `/tmp/cc*`
 files are not created by ghc, so I split off the first issue into its own
 ticket, #11476.

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


More information about the ghc-tickets mailing list