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
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 [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
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
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.
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
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 [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
Joel Rosdahl [Mon, 22 Nov 2010 20:27:04 +0000 (21:27 +0100)]
Merge branch 'maint'
* maint:
portability: Disable support for long double in snprintf replacement
portability: Handle system *sprintf functions with bad type signatures
portability: Add Holger Weiß's improved snprintf replacement