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

GHC ghc-devs at haskell.org
Thu Jan 21 16:49:10 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
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:  x86_64         |   Type of failure:  None/Unknown
  (amd64)                            |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 After building a random package with cabal, GHC leaves GCC response files
 in /tmp instead of deleting once done.

 Just in case, 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>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list