
#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): For me ghc creates /tmp/cc* files on every linkage: {{{ $ ls -l /tmp/cc* | grep slyfox <none> $ echo 'main = print 1' > a.hs $ inplace/bin/ghc-stage2 --make a.hs $ ls -l /tmp/cc* | grep slyfox -rw------- 1 slyfox users 3295 Jan 18 22:37 /tmp/cch5o5Wp $ cat /tmp/cch5o5Wp -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccM7O6lz.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a ... }}} Do other people see the ~same contents in orphan /tmp/cc* files? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10986#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler