[GHC] #10986: GHC should delete all temporary files it creates in /tmp
GHC
ghc-devs at haskell.org
Mon Oct 19 10:31:37 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 thomie):
This bug might depend on the platform you are on or the version of `gcc`
you are using.
For me, on Ubuntu (gcc 4.8.4) with HEAD, running 'make TEST=cabal01'
creates the files you mentioned, but they get deleted before the test
finishes.
On msys2 Window (gcc 4.6.3) with HEAD, the following files are left behind
in `/tmp`:
{{{
-rwxr-xr-x 1 ghc None 126940 Oct 19 10:25 570528145.exe
-rw-r--r-- 1 ghc None 4729 Oct 19 10:26 ccgHM4XN
-rw-r--r-- 1 ghc None 4729 Oct 19 10:26 ccqNwUwz
-rw-r--r-- 1 ghc None 5874 Oct 19 10:25 ccysdfeq
}}}
I don't see any panics occuring.
Running the same test on Windows with `TEST_HC=ghc-7.8.3` only leaves
behind that `.exe` file, not the `ccXXXXXX` files.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10986#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list