Package: ccache Version: 2.4-15 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
$ cat hello.c #include <stdio.h> int main() { printf("Hello World!\n"); return 0; } $ ls hello* hello.c $ gcc -save-temps -c hello.c $ ls hello* hello.c hello.i hello.o hello.s All the temporary files including the preprocessor output (hello.i) have been retained. Now running with ccache $ rm hello.[ios] $ ls hello* hello.c $ ccache -C Cleared cache $ ccache gcc -save-temps -c hello.c $ ls hello* hello.c hello.o hello.tmp.loktak.5254.s The preprocessor output file was deleted. Doing an strace ... $ ccache -C Cleared cache $ strace -e unlink ccache gcc -save-temps -c hello.c - --- SIGCHLD (Child exited) @ 0 (0) --- - --- SIGCHLD (Child exited) @ 0 (0) --- unlink("/home/appaji/.ccache/tmp.stdout.loktak.5270") = 0 unlink("/home/appaji/.ccache/0/b/81c05e88ca82a313ac000408b57556-14468") = -1 ENOENT (No such file or directory) unlink("/home/appaji/.ccache/tmp.hash.loktak.5270.o") = 0 unlink("/home/appaji/.ccache/0/b/81c05e88ca82a313ac000408b57556-14468.stderr") = -1 ENOENT (No such file or directory) unlink("/home/appaji/.ccache/tmp.stderr.loktak.5270") = 0 unlink("hello.o") = 0 unlink("hello.o") = -1 ENOENT (No such file or directory) unlink("/home/appaji/.ccache/hello.tmp.loktak.5270.i") = 0 <============ should not happen. unlink("/home/appaji/.ccache/tmp.cpp_stderr.loktak.5270") = 0 - -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (800, 'unstable'), (700, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ccache depends on: ii libc6 2.7-13 GNU C Library: Shared libraries ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime ccache recommends no packages. Versions of packages ccache suggests: pn distcc <none> (no description available) - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjCHAYACgkQ4eu+pR04mIcsswCgjLfdtyUd6XP4eAZ/vso85GVa 23QAmwU2W9HQIJVobjzroW4ayQUEa6jL =Bt2X -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]