[Bug driver/69351] [5 only] response files on linux leave undeleted temporary files

slyfox at inbox dot ru gcc-bugzilla@gcc.gnu.org
Fri Jan 22 23:42:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69351

--- Comment #4 from Sergei Trofimovich <slyfox at inbox dot ru> ---
One more data point: gcc-5-branch still has the bug:

LANG=C bin/gcc -v
Using built-in specs.
COLLECT_GCC=bin/gcc
COLLECT_LTO_WRAPPER=/home/slyfox/dev/git/gcc-native-quick-installed/bin/../libexec/gcc/x86_64-unknown-linux-gnu/5.3.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++ --disable-bootstrap
--prefix=/home/slyfox/dev/git/gcc-native-quick/../gcc-native-quick-installed
Thread model: posix
gcc version 5.3.1 20160122 (GCC)

copy/paste friendly variant:

mkdir temp
touch a.rsp
echo 'int main(){}' > a.c
TEMP=./temp bin/gcc a.c -o a @a.rsp
TEMP=./temp bin/gcc a.c -o a @a.rsp
TEMP=./temp bin/gcc a.c -o a @a.rsp
TEMP=./temp bin/gcc a.c -o a @a.rsp
ls temp/

ccE18hfh  ccIMSfeF  ccO2rXde  ccdJIP0O


More information about the Gcc-bugs mailing list