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

GHC ghc-devs at haskell.org
Mon Jan 18 23:01:29 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 slyfox):

 It seems to be a gcc/ld bug at least on non-windows.

 I can create crufty files by running:
 {{{
 $ echo 'main(){}' > a.c
 $ touch a.rsp
 $ gcc a.c -o a @a.rsp
 }}}

 And /tmp/cc8oGbH4 appears.

 Support for .rsp files was added in
 changeset:296bc70b5ff6c853f2782e9ec5aa47a52110345e (#10777)

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


More information about the ghc-tickets mailing list