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

#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

#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: | -----------------------------+-------------------------------------- Changes (by tuncer): * failure: None/Unknown => Other * os: Unknown/Multiple => Linux -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11479#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#11479: GHC leaves GCC response files in /tmp ------------------------------+-------------------------------------- Reporter: tuncer | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: duplicate | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #11476 | Differential Rev(s): Wiki Page: | ------------------------------+-------------------------------------- Changes (by rwbarton): * status: new => closed * resolution: => duplicate * related: => #11476 Comment: Thanks for the report! But I just filed #11476 for the same issue. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11479#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC