]>
git.ipfire.org Git - thirdparty/ccache.git/log
Joel Rosdahl [Sun, 8 Jan 2012 12:29:36 +0000 (13:29 +0100)]
Fixup after merge: Make directory creation failure fatal
Joel Rosdahl [Sun, 8 Jan 2012 12:28:27 +0000 (13:28 +0100)]
Merge branch 'maint'
* maint:
Update NEWS
Also recognize -specs=file in addition to --specs=file
Revert GCC bug compatibility for -MTarg and -MQarg
Fix minor memory leaks
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Conflicts:
ccache.c
test.sh
test/test_argument_processing.c
Joel Rosdahl [Sun, 8 Jan 2012 12:05:28 +0000 (13:05 +0100)]
Update NEWS
Joel Rosdahl [Sun, 8 Jan 2012 11:59:02 +0000 (12:59 +0100)]
Also recognize -specs=file in addition to --specs=file
Joel Rosdahl [Sun, 8 Jan 2012 09:40:17 +0000 (10:40 +0100)]
Revert GCC bug compatibility for -MTarg and -MQarg
The bug addressed by commit
8c3039d676d71564e98d50f1ca8ba029d1efa46c has
been fixed in a recent GCC version. Since ccache currently can't change
behavior depending on compiler version, we have to choose the least
troublesome behavior.
Joel Rosdahl [Sat, 7 Jan 2012 15:01:45 +0000 (16:01 +0100)]
Fix minor memory leaks
Joel Rosdahl [Fri, 6 Jan 2012 15:32:45 +0000 (16:32 +0100)]
Merge branch 'maint'
* maint:
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Conflicts:
ccache.c
test.sh
Joel Rosdahl [Fri, 6 Jan 2012 15:03:36 +0000 (16:03 +0100)]
Correct log message when unify mode is enabled
Joel Rosdahl [Fri, 6 Jan 2012 15:02:42 +0000 (16:02 +0100)]
Hash environment variables that affect the preprocessor output
Joel Rosdahl [Thu, 5 Jan 2012 14:58:50 +0000 (15:58 +0100)]
Hash mtime or content of GCC plugins specified with -fplugin=
Joel Rosdahl [Thu, 5 Jan 2012 14:49:26 +0000 (15:49 +0100)]
Use hash_compiler for explicit --specs= options as well
Joel Rosdahl [Thu, 5 Jan 2012 14:49:03 +0000 (15:49 +0100)]
Refactor code into a hash_compiler function
Joel Rosdahl [Tue, 20 Dec 2011 21:21:46 +0000 (22:21 +0100)]
Improve description on how to fix bad object files in the cache
Joel Rosdahl [Mon, 19 Dec 2011 19:59:53 +0000 (20:59 +0100)]
Make failure to create files in cache fatal
Previously, such failures were erroneously flagged as "compiler produced
stdout".
Joel Rosdahl [Mon, 19 Dec 2011 19:58:00 +0000 (20:58 +0100)]
Make failure to create cache directories fatal
Joel Rosdahl [Sat, 17 Sep 2011 21:55:22 +0000 (23:55 +0200)]
Remove unused print_executed_command function
Joel Rosdahl [Sun, 11 Sep 2011 19:01:28 +0000 (21:01 +0200)]
Handle non-writable CCACHE_DIR gracefully
Joel Rosdahl [Sun, 4 Sep 2011 09:08:03 +0000 (11:08 +0200)]
Merge branch 'maint'
* maint:
Sync mdfour.c license header with other files, notably fixing FSF's address.
Ville Skyttä [Mon, 22 Aug 2011 20:40:03 +0000 (23:40 +0300)]
Sync mdfour.c license header with other files, notably fixing FSF's address.
Joel Rosdahl [Sun, 21 Aug 2011 14:47:20 +0000 (16:47 +0200)]
Merge branch 'maint'
* maint:
Tweak news markup
Prepare for v3.1.6
Joel Rosdahl [Sun, 21 Aug 2011 14:42:11 +0000 (16:42 +0200)]
Tweak news markup
Joel Rosdahl [Sun, 21 Aug 2011 14:36:29 +0000 (16:36 +0200)]
Prepare for v3.1.6
Bernhard Bauer [Tue, 16 Aug 2011 08:23:55 +0000 (10:23 +0200)]
Support -Xclang compiler option.
Joel Rosdahl [Mon, 15 Aug 2011 20:38:26 +0000 (22:38 +0200)]
Fix -fprofile-*=dir handling when dir doesn't exist
Joel Rosdahl [Sun, 14 Aug 2011 17:51:51 +0000 (19:51 +0200)]
Add the newest contributors
Joel Rosdahl [Sun, 14 Aug 2011 17:35:24 +0000 (19:35 +0200)]
Fix potential free() of non-heap memory
Joel Rosdahl [Sun, 14 Aug 2011 17:34:44 +0000 (19:34 +0200)]
Plug minor memory leak
Joel Rosdahl [Sun, 14 Aug 2011 17:31:27 +0000 (19:31 +0200)]
Minor code-style cleanup
Joel Rosdahl [Sun, 14 Aug 2011 17:27:25 +0000 (19:27 +0200)]
Merge remote-tracking branch 'catlee/profile'
* catlee/profile:
rework profile directory handling
set output_to_real_object default to false, we get errors handling hardlinks
Using hardlinks if requested
comment
Make sure we only handle known -fprofile flags. Rewrite profile directory to use absolute paths on commandline to increase direct / preprocessed hit rate.
Move -fprofile handling into cc_process_args
Look for .gcda files in profile directory when using profile
Fix profile_use directory, and valgrind warning
refactor to handle profile directories
Use hash_delimeter before hashing profile data
Avoid output_obj being freed by accident
Fix comment style
Hash the cwd if we're outputting to our object file first
handle -fprofile-use
adding tests
Get -fprofile-generate, -fprofile-arcs working
Joel Rosdahl [Sun, 14 Aug 2011 10:03:42 +0000 (12:03 +0200)]
Correct win32 ifndefs
Joel Rosdahl [Wed, 3 Aug 2011 18:31:01 +0000 (20:31 +0200)]
Merge branch 'maint'
* maint:
Don't crash when getcwd() fails
Joel Rosdahl [Wed, 3 Aug 2011 18:10:57 +0000 (20:10 +0200)]
Don't crash when getcwd() fails
Joel Rosdahl [Sun, 31 Jul 2011 20:52:17 +0000 (22:52 +0200)]
Add missing header to header list in dev.mk.in
Chris AtLee [Fri, 29 Jul 2011 21:20:54 +0000 (17:20 -0400)]
rework profile directory handling
Chris AtLee [Fri, 29 Jul 2011 20:55:55 +0000 (16:55 -0400)]
set output_to_real_object default to false, we get errors handling
hardlinks
Chris AtLee [Fri, 29 Jul 2011 20:52:18 +0000 (16:52 -0400)]
Using hardlinks if requested
Chris AtLee [Fri, 29 Jul 2011 20:46:45 +0000 (16:46 -0400)]
comment
Chris AtLee [Mon, 25 Jul 2011 12:38:01 +0000 (08:38 -0400)]
Make sure we only handle known -fprofile flags. Rewrite profile
directory to use absolute paths on commandline to increase direct /
preprocessed hit rate.
Chris AtLee [Mon, 25 Jul 2011 12:10:44 +0000 (08:10 -0400)]
Move -fprofile handling into cc_process_args
Chris AtLee [Mon, 25 Jul 2011 11:18:38 +0000 (07:18 -0400)]
Look for .gcda files in profile directory when using profile
Minor whitespace fixes; removing unused declaration
Chris AtLee [Sat, 23 Jul 2011 03:21:26 +0000 (23:21 -0400)]
Fix profile_use directory, and valgrind warning
Chris AtLee [Sat, 23 Jul 2011 03:09:05 +0000 (23:09 -0400)]
refactor to handle profile directories
Chris AtLee [Fri, 22 Jul 2011 18:56:31 +0000 (14:56 -0400)]
Use hash_delimeter before hashing profile data
Chris AtLee [Fri, 22 Jul 2011 18:51:40 +0000 (14:51 -0400)]
Avoid output_obj being freed by accident
Chris AtLee [Fri, 22 Jul 2011 18:27:06 +0000 (14:27 -0400)]
Fix comment style
Chris AtLee [Thu, 21 Jul 2011 20:36:35 +0000 (16:36 -0400)]
Hash the cwd if we're outputting to our object file first
Chris AtLee [Wed, 20 Jul 2011 06:34:41 +0000 (02:34 -0400)]
handle -fprofile-use
Chris AtLee [Wed, 20 Jul 2011 06:04:52 +0000 (02:04 -0400)]
adding tests
Chris AtLee [Wed, 20 Jul 2011 05:55:01 +0000 (01:55 -0400)]
Get -fprofile-generate, -fprofile-arcs working
Joel Rosdahl [Mon, 30 May 2011 19:33:23 +0000 (21:33 +0200)]
Merge branch 'maint'
* maint:
Rewrite argument to --sysroot if CCACHE_BASEDIR is used
Fix stats display alignment for preprocessing
Conflicts:
test/test_argument_processing.c
Joel Rosdahl [Wed, 27 Oct 2010 19:27:33 +0000 (20:27 +0100)]
Rewrite argument to --sysroot if CCACHE_BASEDIR is used
Based on a patch by Bo <yebo9098@gmail.com>.
Jon Bernard [Mon, 30 May 2011 16:42:04 +0000 (12:42 -0400)]
Fix stats display alignment for preprocessing
Joel Rosdahl [Sun, 29 May 2011 16:14:25 +0000 (18:14 +0200)]
Merge branch 'maint'
* maint:
Minor spelling tweak
Prepare for v3.1.5
Joel Rosdahl [Sun, 29 May 2011 16:14:08 +0000 (18:14 +0200)]
Minor spelling tweak
Joel Rosdahl [Sun, 29 May 2011 15:45:28 +0000 (17:45 +0200)]
Prepare for v3.1.5
Joel Rosdahl [Sat, 21 May 2011 18:10:41 +0000 (20:10 +0200)]
Merge branch 'maint'
* maint:
Only link with -lm if needed
Move up "can't use precompiled header" stat so that cache size is at end
Joel Rosdahl [Sat, 21 May 2011 18:09:44 +0000 (20:09 +0200)]
Only link with -lm if needed
Some systems don't have libm.
Joel Rosdahl [Sat, 21 May 2011 17:18:46 +0000 (19:18 +0200)]
Move up "can't use precompiled header" stat so that cache size is at end
Joel Rosdahl [Wed, 4 May 2011 20:34:58 +0000 (22:34 +0200)]
Merge branch 'maint'
* maint:
Fix minor memory leak in get_cwd()
Joel Rosdahl [Wed, 4 May 2011 20:34:12 +0000 (22:34 +0200)]
Fix minor memory leak in get_cwd()
Found and suggested by Bo Rydberg.
Joel Rosdahl [Sun, 17 Apr 2011 20:25:28 +0000 (22:25 +0200)]
Merge branch 'maint'
* maint:
Support rewriting paths in -F/-iframework GCC options
Grigory Entin [Sun, 17 Apr 2011 20:22:44 +0000 (22:22 +0200)]
Support rewriting paths in -F/-iframework GCC options
Joel Rosdahl [Sun, 17 Apr 2011 16:48:37 +0000 (18:48 +0200)]
Merge branch 'maint'
* maint:
Be bug compatible with GCC for -MTarg and -MQarg
Log original command line
Correctly handle -MF/-MT/-MQ with concatenated argument last on commandline
Conflicts:
test/test_argument_processing.c
Joel Rosdahl [Sun, 17 Apr 2011 15:55:14 +0000 (17:55 +0200)]
Be bug compatible with GCC for -MTarg and -MQarg
It's strange, but apparently, GCC behaves differently for -MT arg and
-MTarg (and similar for -MQ): in the latter case, but not in the former,
an implicit dependency for the object file is added to the dependency file.
Joel Rosdahl [Wed, 13 Apr 2011 20:21:54 +0000 (22:21 +0200)]
Log original command line
Joel Rosdahl [Wed, 13 Apr 2011 19:58:29 +0000 (21:58 +0200)]
Correctly handle -MF/-MT/-MQ with concatenated argument last on commandline
Joel Rosdahl [Sat, 9 Apr 2011 19:48:45 +0000 (21:48 +0200)]
Fix typo
Joel Rosdahl [Sat, 9 Apr 2011 19:46:36 +0000 (21:46 +0200)]
Update copyright for 2011
Joel Rosdahl [Sat, 9 Apr 2011 19:44:54 +0000 (21:44 +0200)]
Merge branch 'maint'
* maint:
Update copyright for 2011
Joel Rosdahl [Sat, 9 Apr 2011 19:44:37 +0000 (21:44 +0200)]
Update copyright for 2011
Joel Rosdahl [Sun, 3 Apr 2011 20:04:08 +0000 (22:04 +0200)]
Plug some memory leaks in the unit tests
Joel Rosdahl [Sun, 3 Apr 2011 13:07:00 +0000 (15:07 +0200)]
Check and log failure after create_parent_dirs()
Joel Rosdahl [Sun, 3 Apr 2011 12:58:48 +0000 (14:58 +0200)]
Merge branch 'maint'
* maint:
Add separate counter "called for preprocessing"
Include strerror(errno) in error messages when system calls fail
Conflicts:
ccache.c
Joel Rosdahl [Sun, 3 Apr 2011 12:42:33 +0000 (14:42 +0200)]
Add separate counter "called for preprocessing"
Joel Rosdahl [Sun, 3 Apr 2011 11:22:57 +0000 (13:22 +0200)]
Include strerror(errno) in error messages when system calls fail
Joel Rosdahl [Sun, 27 Mar 2011 21:03:25 +0000 (23:03 +0200)]
Update util functions in ccache.h to match reality
Joel Rosdahl [Wed, 23 Mar 2011 20:34:45 +0000 (21:34 +0100)]
Add missing void parameter for nullary function declarations
Joel Rosdahl [Sun, 13 Mar 2011 21:09:22 +0000 (22:09 +0100)]
Correct make_relative_path description
Joel Rosdahl [Thu, 3 Feb 2011 21:32:02 +0000 (22:32 +0100)]
Plug some memory leaks
Joel Rosdahl [Thu, 3 Feb 2011 21:27:45 +0000 (22:27 +0100)]
Don't crash when CCACHE_PREFIX is " "
Joel Rosdahl [Thu, 3 Feb 2011 21:14:50 +0000 (22:14 +0100)]
Fix code style
Mark Starovoytov [Wed, 2 Feb 2011 19:53:09 +0000 (20:53 +0100)]
Support several binaries in CCACHE_PREFIX
Joel Rosdahl [Sun, 23 Jan 2011 16:07:15 +0000 (17:07 +0100)]
Don't pass -c to the preprocessor
Solaris' C++ compiler doesn't like -c in combination with -E, and other
compilers seem to cope well without it as well.
Joel Rosdahl [Sun, 9 Jan 2011 19:58:06 +0000 (20:58 +0100)]
Merge branch 'maint'
* maint:
Prepare for version 3.1.4
Joel Rosdahl [Sun, 9 Jan 2011 19:56:49 +0000 (20:56 +0100)]
Prepare for version 3.1.4
Joel Rosdahl [Mon, 3 Jan 2011 21:53:12 +0000 (22:53 +0100)]
Merge branch 'maint'
* maint:
Cope with file systems (e.g. FAT) that don't handle symlinks
Close file handle in create_cachedirtag on write error
Conflicts:
lockfile.c
Joel Rosdahl [Mon, 3 Jan 2011 20:41:36 +0000 (21:41 +0100)]
Cope with file systems (e.g. FAT) that don't handle symlinks
Joel Rosdahl [Sat, 18 Dec 2010 09:01:15 +0000 (10:01 +0100)]
Close file handle in create_cachedirtag on write error
Joel Rosdahl [Tue, 14 Dec 2010 20:26:28 +0000 (21:26 +0100)]
Merge branch 'maint'
* maint:
Remove corrupt manifest files so that they won't block direct mode hits
Avoid creating empty file before creating new manifest file
Compensate for bug in gzputc in zlib 1.2.5
Conflicts:
manifest.c
Joel Rosdahl [Tue, 14 Dec 2010 20:11:36 +0000 (21:11 +0100)]
Remove corrupt manifest files so that they won't block direct mode hits
Joel Rosdahl [Mon, 13 Dec 2010 19:46:06 +0000 (20:46 +0100)]
Avoid creating empty file before creating new manifest file
Joel Rosdahl [Sun, 12 Dec 2010 14:18:06 +0000 (15:18 +0100)]
Compensate for bug in gzputc in zlib 1.2.5
gzputc(f, -1) returns -1 (== EOF) in zlib 1.2.5 but should return 255.
Joel Rosdahl [Sat, 11 Dec 2010 16:03:58 +0000 (17:03 +0100)]
Upgrade to zlib 1.2.5
Joel Rosdahl [Mon, 29 Nov 2010 19:45:24 +0000 (20:45 +0100)]
Reformat comments
Justin Lebar [Mon, 29 Nov 2010 19:24:06 +0000 (20:24 +0100)]
Improve speed of temporal macro search
Joel Rosdahl [Sun, 28 Nov 2010 16:50:59 +0000 (17:50 +0100)]
Merge branch 'maint'
* maint:
Prepare for version 3.1.3
Handle -MFarg, -MTarg and -MQarg compiler options correctly
Conflicts:
test/test_argument_processing.c
Joel Rosdahl [Sun, 28 Nov 2010 16:43:46 +0000 (17:43 +0100)]
Prepare for version 3.1.3
Joel Rosdahl [Sun, 28 Nov 2010 16:04:38 +0000 (17:04 +0100)]
Handle -MFarg, -MTarg and -MQarg compiler options correctly
GCC apparently (and undocumentedly) accepts these.
Joel Rosdahl [Sun, 28 Nov 2010 14:23:12 +0000 (15:23 +0100)]
Merge branch 'maint'
* maint:
Correct location of rpl_* defines to outside "#if !HAVE_VSNPRINTF"
Joel Rosdahl [Sun, 28 Nov 2010 14:23:05 +0000 (15:23 +0100)]
Correct location of rpl_* defines to outside "#if !HAVE_VSNPRINTF"