]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
14 years agorework profile directory handling 2/head
Chris AtLee [Fri, 29 Jul 2011 21:20:54 +0000 (17:20 -0400)] 
rework profile directory handling

14 years agoset output_to_real_object default to false, we get errors 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

14 years agoUsing hardlinks if requested
Chris AtLee [Fri, 29 Jul 2011 20:52:18 +0000 (16:52 -0400)] 
Using hardlinks if requested

14 years agocomment
Chris AtLee [Fri, 29 Jul 2011 20:46:45 +0000 (16:46 -0400)] 
comment

14 years agoMake sure we only handle known -fprofile flags. Rewrite profile
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.

14 years agoMove -fprofile handling into cc_process_args
Chris AtLee [Mon, 25 Jul 2011 12:10:44 +0000 (08:10 -0400)] 
Move -fprofile handling into cc_process_args

14 years agoLook for .gcda files in profile directory when using profile
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

14 years agoFix profile_use directory, and valgrind warning
Chris AtLee [Sat, 23 Jul 2011 03:21:26 +0000 (23:21 -0400)] 
Fix profile_use directory, and valgrind warning

14 years agorefactor to handle profile directories
Chris AtLee [Sat, 23 Jul 2011 03:09:05 +0000 (23:09 -0400)] 
refactor to handle profile directories

14 years agoUse hash_delimeter before hashing profile data
Chris AtLee [Fri, 22 Jul 2011 18:56:31 +0000 (14:56 -0400)] 
Use hash_delimeter before hashing profile data

14 years agoAvoid output_obj being freed by accident
Chris AtLee [Fri, 22 Jul 2011 18:51:40 +0000 (14:51 -0400)] 
Avoid output_obj being freed by accident

14 years agoFix comment style
Chris AtLee [Fri, 22 Jul 2011 18:27:06 +0000 (14:27 -0400)] 
Fix comment style

14 years agoHash the cwd if we're outputting to our object file first
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

14 years agohandle -fprofile-use
Chris AtLee [Wed, 20 Jul 2011 06:34:41 +0000 (02:34 -0400)] 
handle -fprofile-use

14 years agoadding tests
Chris AtLee [Wed, 20 Jul 2011 06:04:52 +0000 (02:04 -0400)] 
adding tests

14 years agoGet -fprofile-generate, -fprofile-arcs working
Chris AtLee [Wed, 20 Jul 2011 05:55:01 +0000 (01:55 -0400)] 
Get -fprofile-generate, -fprofile-arcs working

14 years agoMerge branch 'maint'
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

14 years agoRewrite argument to --sysroot if CCACHE_BASEDIR is used
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>.

14 years agoFix stats display alignment for preprocessing
Jon Bernard [Mon, 30 May 2011 16:42:04 +0000 (12:42 -0400)] 
Fix stats display alignment for preprocessing

14 years agoMerge branch 'maint'
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

14 years agoMinor spelling tweak
Joel Rosdahl [Sun, 29 May 2011 16:14:08 +0000 (18:14 +0200)] 
Minor spelling tweak

14 years agoPrepare for v3.1.5 v3.1.5
Joel Rosdahl [Sun, 29 May 2011 15:45:28 +0000 (17:45 +0200)] 
Prepare for v3.1.5

14 years agoMerge branch 'maint'
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

14 years agoOnly link with -lm if needed
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.

14 years agoMove up "can't use precompiled header" stat so that cache size is at end
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

14 years agoMerge branch 'maint'
Joel Rosdahl [Wed, 4 May 2011 20:34:58 +0000 (22:34 +0200)] 
Merge branch 'maint'

* maint:
  Fix minor memory leak in get_cwd()

14 years agoFix 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.

14 years agoMerge branch 'maint'
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

14 years agoSupport 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

14 years agoMerge branch 'maint'
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

14 years agoBe bug compatible with GCC for -MTarg and -MQarg
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.

14 years agoLog original command line
Joel Rosdahl [Wed, 13 Apr 2011 20:21:54 +0000 (22:21 +0200)] 
Log original command line

14 years agoCorrectly handle -MF/-MT/-MQ with concatenated argument last on commandline
Joel Rosdahl [Wed, 13 Apr 2011 19:58:29 +0000 (21:58 +0200)] 
Correctly handle -MF/-MT/-MQ with concatenated argument last on commandline

14 years agoFix typo
Joel Rosdahl [Sat, 9 Apr 2011 19:48:45 +0000 (21:48 +0200)] 
Fix typo

14 years agoUpdate copyright for 2011
Joel Rosdahl [Sat, 9 Apr 2011 19:46:36 +0000 (21:46 +0200)] 
Update copyright for 2011

14 years agoMerge branch 'maint'
Joel Rosdahl [Sat, 9 Apr 2011 19:44:54 +0000 (21:44 +0200)] 
Merge branch 'maint'

* maint:
  Update copyright for 2011

14 years agoUpdate copyright for 2011
Joel Rosdahl [Sat, 9 Apr 2011 19:44:37 +0000 (21:44 +0200)] 
Update copyright for 2011

14 years agoPlug some memory leaks in the unit tests
Joel Rosdahl [Sun, 3 Apr 2011 20:04:08 +0000 (22:04 +0200)] 
Plug some memory leaks in the unit tests

14 years agoCheck and log failure after create_parent_dirs()
Joel Rosdahl [Sun, 3 Apr 2011 13:07:00 +0000 (15:07 +0200)] 
Check and log failure after create_parent_dirs()

14 years agoMerge branch 'maint'
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

14 years agoAdd separate counter "called for preprocessing"
Joel Rosdahl [Sun, 3 Apr 2011 12:42:33 +0000 (14:42 +0200)] 
Add separate counter "called for preprocessing"

14 years agoInclude strerror(errno) in error messages when system calls fail
Joel Rosdahl [Sun, 3 Apr 2011 11:22:57 +0000 (13:22 +0200)] 
Include strerror(errno) in error messages when system calls fail

14 years agoUpdate util functions in ccache.h to match reality
Joel Rosdahl [Sun, 27 Mar 2011 21:03:25 +0000 (23:03 +0200)] 
Update util functions in ccache.h to match reality

14 years agoAdd missing void parameter for nullary function declarations
Joel Rosdahl [Wed, 23 Mar 2011 20:34:45 +0000 (21:34 +0100)] 
Add missing void parameter for nullary function declarations

14 years agoCorrect make_relative_path description
Joel Rosdahl [Sun, 13 Mar 2011 21:09:22 +0000 (22:09 +0100)] 
Correct make_relative_path description

14 years agoPlug some memory leaks
Joel Rosdahl [Thu, 3 Feb 2011 21:32:02 +0000 (22:32 +0100)] 
Plug some memory leaks

14 years agoDon't crash when CCACHE_PREFIX is " "
Joel Rosdahl [Thu, 3 Feb 2011 21:27:45 +0000 (22:27 +0100)] 
Don't crash when CCACHE_PREFIX is " "

14 years agoFix code style
Joel Rosdahl [Thu, 3 Feb 2011 21:14:50 +0000 (22:14 +0100)] 
Fix code style

14 years agoSupport several binaries in CCACHE_PREFIX
Mark Starovoytov [Wed, 2 Feb 2011 19:53:09 +0000 (20:53 +0100)] 
Support several binaries in CCACHE_PREFIX

14 years agoDon't pass -c to the preprocessor
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.

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 9 Jan 2011 19:58:06 +0000 (20:58 +0100)] 
Merge branch 'maint'

* maint:
  Prepare for version 3.1.4

14 years agoPrepare for version 3.1.4 v3.1.4
Joel Rosdahl [Sun, 9 Jan 2011 19:56:49 +0000 (20:56 +0100)] 
Prepare for version 3.1.4

14 years agoMerge branch 'maint'
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

14 years agoCope with file systems (e.g. FAT) that don't handle symlinks
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

14 years agoClose file handle in create_cachedirtag on write error
Joel Rosdahl [Sat, 18 Dec 2010 09:01:15 +0000 (10:01 +0100)] 
Close file handle in create_cachedirtag on write error

14 years agoMerge branch 'maint'
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

14 years agoRemove corrupt manifest files so that they won't block direct mode hits
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

14 years agoAvoid creating empty file before creating new manifest file
Joel Rosdahl [Mon, 13 Dec 2010 19:46:06 +0000 (20:46 +0100)] 
Avoid creating empty file before creating new manifest file

14 years agoCompensate for bug in gzputc in zlib 1.2.5
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.

14 years agoUpgrade to zlib 1.2.5
Joel Rosdahl [Sat, 11 Dec 2010 16:03:58 +0000 (17:03 +0100)] 
Upgrade to zlib 1.2.5

14 years agoReformat comments
Joel Rosdahl [Mon, 29 Nov 2010 19:45:24 +0000 (20:45 +0100)] 
Reformat comments

14 years agoImprove speed of temporal macro search
Justin Lebar [Mon, 29 Nov 2010 19:24:06 +0000 (20:24 +0100)] 
Improve speed of temporal macro search

14 years agoMerge branch 'maint'
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

14 years agoPrepare for version 3.1.3 v3.1.3
Joel Rosdahl [Sun, 28 Nov 2010 16:43:46 +0000 (17:43 +0100)] 
Prepare for version 3.1.3

14 years agoHandle -MFarg, -MTarg and -MQarg compiler options correctly
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.

14 years agoMerge branch 'maint'
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"

14 years agoCorrect 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"

14 years agoMerge branch 'maint'
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

14 years agoportability: Disable support for long double in snprintf replacement
Joel Rosdahl [Mon, 22 Nov 2010 20:09:30 +0000 (21:09 +0100)] 
portability: Disable support for long double in snprintf replacement

ccache doesn't link correctly on HP-UX 11.00 when support for long double
is enabled.

14 years agoportability: Handle system *sprintf functions with bad type signatures
Joel Rosdahl [Thu, 18 Nov 2010 17:22:06 +0000 (18:22 +0100)] 
portability: Handle system *sprintf functions with bad type signatures

14 years agoportability: Add Holger Weiß's improved snprintf replacement
Joel Rosdahl [Wed, 17 Nov 2010 20:20:24 +0000 (21:20 +0100)] 
portability: Add Holger Weiß's improved snprintf replacement

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 21 Nov 2010 19:48:06 +0000 (20:48 +0100)] 
Merge branch 'maint'

* maint:
  Update NEWS for version 3.1.2

14 years agoUpdate NEWS for version 3.1.2 v3.1.2
Joel Rosdahl [Sun, 21 Nov 2010 19:16:55 +0000 (20:16 +0100)] 
Update NEWS for version 3.1.2

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 21 Nov 2010 16:06:48 +0000 (17:06 +0100)] 
Merge branch 'maint'

* maint:
  test: New attempt at coping with unsynchronized clocks for new include file
  Add Björn Jacke as a contributor

14 years agotest: New attempt at coping with unsynchronized clocks for new include file
Joel Rosdahl [Sun, 21 Nov 2010 16:06:09 +0000 (17:06 +0100)] 
test: New attempt at coping with unsynchronized clocks for new include file

14 years agoportability: Support shells whose test(1) doesn't understand -e
Joel Rosdahl [Sun, 21 Nov 2010 15:38:22 +0000 (16:38 +0100)] 
portability: Support shells whose test(1) doesn't understand -e

14 years agoAdd Björn Jacke as a contributor
Joel Rosdahl [Sun, 21 Nov 2010 12:15:51 +0000 (13:15 +0100)] 
Add Björn Jacke as a contributor

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 21 Nov 2010 10:43:33 +0000 (11:43 +0100)] 
Merge branch 'maint'

* maint:
  Bail out on too hard compiler options -fdump-*
  Put -E compiler option check in the compopts table
  portability: Support systems without /dev/zero

14 years agoBail out on too hard compiler options -fdump-*
Joel Rosdahl [Sun, 21 Nov 2010 10:37:42 +0000 (11:37 +0100)] 
Bail out on too hard compiler options -fdump-*

14 years agoPut -E compiler option check in the compopts table
Joel Rosdahl [Sun, 21 Nov 2010 10:36:13 +0000 (11:36 +0100)] 
Put -E compiler option check in the compopts table

14 years agoportability: Support systems without /dev/zero
Joel Rosdahl [Wed, 17 Nov 2010 20:12:22 +0000 (21:12 +0100)] 
portability: Support systems without /dev/zero

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 14 Nov 2010 10:05:10 +0000 (11:05 +0100)] 
Merge branch 'maint'

* maint:
  Correctly handle "#line N" (without path) directive for AIX's preprocessor
  Add notes about the AIX compiler's preprocessor output
  Improve documentation of hashed information

14 years agoCorrectly handle "#line N" (without path) directive for AIX's preprocessor
Joel Rosdahl [Sun, 14 Nov 2010 10:00:04 +0000 (11:00 +0100)] 
Correctly handle "#line N" (without path) directive for AIX's preprocessor

14 years agoAdd notes about the AIX compiler's preprocessor output
Joel Rosdahl [Thu, 11 Nov 2010 22:17:02 +0000 (23:17 +0100)] 
Add notes about the AIX compiler's preprocessor output

14 years agoImprove documentation of hashed information
Joel Rosdahl [Thu, 11 Nov 2010 20:14:40 +0000 (21:14 +0100)] 
Improve documentation of hashed information

14 years agoSupport Solaris's stupid /bin/sh
Joel Rosdahl [Wed, 10 Nov 2010 17:43:43 +0000 (18:43 +0100)] 
Support Solaris's stupid /bin/sh

14 years agoMerge branch 'maint'
Joel Rosdahl [Tue, 9 Nov 2010 21:57:41 +0000 (22:57 +0100)] 
Merge branch 'maint'

* maint:
  Fixed typo in x_calloc

14 years agoFixed typo in x_calloc
Joel Rosdahl [Tue, 9 Nov 2010 21:57:28 +0000 (22:57 +0100)] 
Fixed typo in x_calloc

14 years agoMerge branch 'maint'
Joel Rosdahl [Tue, 9 Nov 2010 21:45:13 +0000 (22:45 +0100)] 
Merge branch 'maint'

* maint:
  Make x_malloc and x_calloc always return NULL for zero byte allocations
  Fix calloc success check
  Fix malloc success check

14 years agoMake x_malloc and x_calloc always return NULL for zero byte allocations
Joel Rosdahl [Tue, 9 Nov 2010 21:40:43 +0000 (22:40 +0100)] 
Make x_malloc and x_calloc always return NULL for zero byte allocations

This helps making sure that the code handles NULL return values regardless
of platform.

14 years agoFix calloc success check
Björn Jacke [Tue, 9 Nov 2010 20:33:46 +0000 (21:33 +0100)] 
Fix calloc success check

On Tru64 I had issues with this: If the number of elements or the size is 0
then you may get a NULL pointer back, which is not a sign of an error.

14 years agoFix malloc success check
Björn Jacke [Tue, 9 Nov 2010 20:30:16 +0000 (21:30 +0100)] 
Fix malloc success check

On AIX and Tru64 I had issues with this: If you allocate 0 byte then you may
get a NULL pointer back, which is not a sign of an error.

14 years agoMerge branch 'maint'
Joel Rosdahl [Sun, 7 Nov 2010 18:08:51 +0000 (19:08 +0100)] 
Merge branch 'maint'

* maint:
  Add 3.1.1 news

14 years agoAdd 3.1.1 news v3.1.1
Joel Rosdahl [Sun, 7 Nov 2010 17:51:48 +0000 (18:51 +0100)] 
Add 3.1.1 news

14 years agotest: Support diffs without -u support
Joel Rosdahl [Fri, 5 Nov 2010 22:28:02 +0000 (23:28 +0100)] 
test: Support diffs without -u support

14 years agotest: Improve normalization of --dump-manifest output
Joel Rosdahl [Fri, 5 Nov 2010 21:09:03 +0000 (22:09 +0100)] 
test: Improve normalization of --dump-manifest output

14 years agotest: Normalize compiler-dependent parts of --dump-manifest output
Joel Rosdahl [Fri, 5 Nov 2010 20:06:18 +0000 (21:06 +0100)] 
test: Normalize compiler-dependent parts of --dump-manifest output

14 years agotest: Verify --dump-manifest output
Joel Rosdahl [Fri, 5 Nov 2010 17:27:55 +0000 (18:27 +0100)] 
test: Verify --dump-manifest output

14 years agoComment fix to make Emacs' backward-up-list happy
Joel Rosdahl [Fri, 5 Nov 2010 17:27:40 +0000 (18:27 +0100)] 
Comment fix to make Emacs' backward-up-list happy

14 years agotest: Remove left-over debugging statement
Joel Rosdahl [Wed, 3 Nov 2010 19:43:43 +0000 (20:43 +0100)] 
test: Remove left-over debugging statement