[GHC] #11479: GHC leaves GCC response files in /tmp

GHC ghc-devs at haskell.org
Thu Jan 21 16:51:47 UTC 2016


#11479: GHC leaves GCC response files in /tmp
-----------------------------+--------------------------------------
        Reporter:  tuncer    |                Owner:
            Type:  bug       |               Status:  new
        Priority:  normal    |            Milestone:
       Component:  Compiler  |              Version:  7.10.3
      Resolution:            |             Keywords:
Operating System:  Linux     |         Architecture:  x86_64 (amd64)
 Type of failure:  Other     |            Test Case:
      Blocked By:            |             Blocking:
 Related Tickets:            |  Differential Rev(s):
       Wiki Page:            |
-----------------------------+--------------------------------------
Description changed by tuncer:

@@ -4,1 +4,1 @@
- Just in case, here's what such a file (/tmp/cc*) looks like:
+ Here's what such a file (/tmp/cc*) looks like:

New description:

 After building a random package with cabal, GHC leaves GCC response files
 in /tmp instead of deleting once done.

 Here's what such a file (/tmp/cc*) looks like:

 {{{
 -plugin
 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/liblto_plugin.so
 -plugin-opt=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper
 -plugin-opt=-fresolution=/tmp/ccwHAsFF.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
 --build-id
 --eh-frame-hdr
 --hash-style=gnu
 -m
 elf_x86_64
 -shared
 -o
 dist/dist-sandbox-58bccafc/build/libHSsplit-0.2.3-1yuUfUR0BKgqOQR1FQ3Jv-
 ghc7.10.3.so
 [...]
 }}}

--

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


More information about the ghc-tickets mailing list