]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
6 years agoPrepare for v3.7 v3.7
Joel Rosdahl [Tue, 23 Apr 2019 18:40:15 +0000 (20:40 +0200)] 
Prepare for v3.7

6 years agoDon’t include email addresses in authors list
Joel Rosdahl [Mon, 22 Apr 2019 19:19:36 +0000 (21:19 +0200)] 
Don’t include email addresses in authors list

Not all users have real email addresses anyway, and I don’t see any real
use for maintaining a “correct” list of addresses.

6 years agoFix Clang analyzer warning about uninitialized value
Joel Rosdahl [Mon, 22 Apr 2019 18:56:41 +0000 (20:56 +0200)] 
Fix Clang analyzer warning about uninitialized value

6 years agoUpdate NEWS
Joel Rosdahl [Mon, 22 Apr 2019 18:25:33 +0000 (20:25 +0200)] 
Update NEWS

6 years agoThe clang --analyze option is too hard (for now) (#389)
Anders Björklund [Mon, 22 Apr 2019 17:57:04 +0000 (19:57 +0200)] 
The clang --analyze option is too hard (for now) (#389)

The scan-build wrapper seems to use -analyze.

6 years agoUpgrade minitrace to latest master (#387)
Anders Björklund [Mon, 22 Apr 2019 15:19:27 +0000 (17:19 +0200)] 
Upgrade minitrace to latest master (#387)

6 years agoRename perf/perf.py to misc/performance
Joel Rosdahl [Mon, 22 Apr 2019 14:16:01 +0000 (16:16 +0200)] 
Rename perf/perf.py to misc/performance

No need for it to occupy a directory of its own.

6 years agoConvert Python scripts to Python 3 and Blacken them
Joel Rosdahl [Mon, 22 Apr 2019 14:13:13 +0000 (16:13 +0200)] 
Convert Python scripts to Python 3 and Blacken them

Because 2019.

6 years agoImprove docs for (and name of) utility scripts for tracing
Joel Rosdahl [Mon, 22 Apr 2019 13:47:18 +0000 (15:47 +0200)] 
Improve docs for (and name of) utility scripts for tracing

6 years agoSimplify trace_stop signature
Joel Rosdahl [Mon, 22 Apr 2019 13:45:34 +0000 (15:45 +0200)] 
Simplify trace_stop signature

6 years agoFix minitrace.c compilation error with GCC 7.3
Joel Rosdahl [Mon, 22 Apr 2019 13:22:07 +0000 (15:22 +0200)] 
Fix minitrace.c compilation error with GCC 7.3

The error/warning looks like this:

src/minitrace.c: In function ‘mtr_flush’:
src/minitrace.c:256:54: error: ‘%.*s’ directive output may be truncated writing up to 700 bytes into a region of size 252 [-Werror=format-truncation=]
     snprintf(arg_buf, ARRAY_SIZE(arg_buf), "\"%s\":\"%.*s\"", raw->arg_name, 700, raw->a_str);
                                                      ^~~~
In file included from /usr/include/stdio.h:862:0,
                 from src/minitrace.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 706) into a destination of size 256
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

6 years agoUpdate NEWS
Joel Rosdahl [Mon, 22 Apr 2019 13:17:22 +0000 (15:17 +0200)] 
Update NEWS

6 years agoRevert "Support for Fortran 77"
Joel Rosdahl [Mon, 22 Apr 2019 13:15:23 +0000 (15:15 +0200)] 
Revert "Support for Fortran 77"

This reverts commit c0875cf2dae56f66076ee01e0ca6e723ba999199.

Fixes #342.

6 years agoFix bugs in the newly introduced tracing mode (#386)
Anders Björklund [Mon, 22 Apr 2019 13:09:18 +0000 (15:09 +0200)] 
Fix bugs in the newly introduced tracing mode (#386)

* The tracefile variable is not used anymore

This caused trace files to be left in /tmp

* Fix crash in tracing mode, caused by logging

Unfortunately cc_log() requires conf to work

6 years agoUpdate NEWS
Joel Rosdahl [Sun, 21 Apr 2019 20:14:16 +0000 (22:14 +0200)] 
Update NEWS

6 years agoTweak manuals and code related to tracing
Joel Rosdahl [Sun, 21 Apr 2019 20:12:06 +0000 (22:12 +0200)] 
Tweak manuals and code related to tracing

6 years agoAdd optional support for microsecond tracing (#280)
Anders Björklund [Sun, 21 Apr 2019 19:59:03 +0000 (21:59 +0200)] 
Add optional support for microsecond tracing (#280)

* Add third-party minitrace library for tracing
* Add a time_seconds helper, for portability
* Add basic tracing support, using minitrace
* Add script to combine multiple trace.json

6 years agoUse localtime_r instead of localtime
Joel Rosdahl [Sun, 21 Apr 2019 15:44:23 +0000 (17:44 +0200)] 
Use localtime_r instead of localtime

This pleases linters that dislike localtime(3).

6 years agoRemove NEWS entry for #374
Joel Rosdahl [Tue, 16 Apr 2019 04:48:34 +0000 (06:48 +0200)] 
Remove NEWS entry for #374

The bug does not exist in any released version.

6 years agoUpdate NEWS
Joel Rosdahl [Mon, 15 Apr 2019 19:41:38 +0000 (21:41 +0200)] 
Update NEWS

6 years agoTweak source code comments
Joel Rosdahl [Mon, 15 Apr 2019 19:40:41 +0000 (21:40 +0200)] 
Tweak source code comments

6 years agoTouch up NEWS.adoc
Joel Rosdahl [Mon, 15 Apr 2019 19:35:38 +0000 (21:35 +0200)] 
Touch up NEWS.adoc

* Use “-” for bullets consistently.
* Use “curly quotation marks” instead of ``asciidoctor'' quotation style
  for readability, and similar for apostrophes.

6 years agoCopy rather than link depend from the cache (#379)
Anders Björklund [Mon, 15 Apr 2019 19:35:08 +0000 (21:35 +0200)] 
Copy rather than link depend from the cache (#379)

The depends are small enough to avoid the copy, since it leads
to issues with mv when using automake to generate the Makefile.

6 years agoImprove handling of debug levels
Joel Rosdahl [Sat, 13 Apr 2019 20:52:23 +0000 (22:52 +0200)] 
Improve handling of debug levels

Fixes #368.

* Remember if we have seen any option on level 3.
* Let “-g0”, “-ggdb0” and similar cancel out any previously seen “-g”
  options except “-gsplit-dwarf”. This is based on observations on how
  GCC 7.3 behaves.
* Delay acting on seen debug options until after we have processed all
  arguments. This way we can avoid e.g. hashing the current directory if
  we get “-g3 -g0”.

6 years agoReuse previous depend mode hash result to avoid some extra work
Joel Rosdahl [Thu, 11 Apr 2019 20:12:13 +0000 (22:12 +0200)] 
Reuse previous depend mode hash result to avoid some extra work

6 years agoRemove now unnecessary hash copy
Joel Rosdahl [Thu, 11 Apr 2019 20:11:43 +0000 (22:11 +0200)] 
Remove now unnecessary hash copy

6 years agoRewrite mdfour routines to not modify state when computing the result
Joel Rosdahl [Thu, 11 Apr 2019 20:10:43 +0000 (22:10 +0200)] 
Rewrite mdfour routines to not modify state when computing the result

This makes the interface much more intuitive, at the minor expense of
having to copy 32-96 extra bytes (unnecessary if the hash state won’t be
fed with more bytes) when fetching the result.

This change is also partly motivated by the code that handles several
-arch options – it calls get_object_name_from_cpp multiple times to
compute a combined hash, but that function also computes the hash result
each time.

6 years agoPass correct LDFLAGS in .travis.sh and the travis target
Joel Rosdahl [Thu, 11 Apr 2019 20:04:38 +0000 (22:04 +0200)] 
Pass correct LDFLAGS in .travis.sh and the travis target

The change in 48b34a49469a11abae79ce24ebe1c12b5711fbe0 was not fully
propagated to .travis.sh.

6 years agoAdd asserts to do_hash_buffer to detect misuse
Joel Rosdahl [Wed, 10 Apr 2019 20:28:46 +0000 (22:28 +0200)] 
Add asserts to do_hash_buffer to detect misuse

Related to issue #374.

6 years agoFix bad calculation of object hash in the depend mode
Joel Rosdahl [Wed, 10 Apr 2019 20:22:24 +0000 (22:22 +0200)] 
Fix bad calculation of object hash in the depend mode

When the depend mode is enabled, there is a code path where the direct
mode hash state is finalized and then more bytes are fed into it to
create a hash sum for the depend mode. The effect is that the last 0-63
bytes (depending on the number of previously hashed bytes) of the data
used for the depend mode will be ignored, which means that the contents
of the last 0-2 or so header files in the .d file are not accounted for
in the object hash used in the depend mode.

Fix this by making a copy of the direct mode hash state before computing
the hash result in calculate_object_hash().

Fixes #374.

6 years agoDon’t finalize hash buffer state in the unify mode code
Joel Rosdahl [Wed, 10 Apr 2019 20:19:32 +0000 (22:19 +0200)] 
Don’t finalize hash buffer state in the unify mode code

The hash state needs to stay unfinalized since more bytes are fed into
it later.

Related to issue #374.

6 years agoImprove debug logging of file hashes in depend mode
Joel Rosdahl [Mon, 8 Apr 2019 19:43:12 +0000 (21:43 +0200)] 
Improve debug logging of file hashes in depend mode

Previously raw bytes were written to the .ccache-text-input file but now
human-readable hex string versions are written instead.

6 years agoBail out on too hard compiler option “-gtoggle”
Joel Rosdahl [Wed, 3 Apr 2019 19:39:03 +0000 (21:39 +0200)] 
Bail out on too hard compiler option “-gtoggle”

6 years agoUpdate ccache.samba.org URLs to refer to ccache.dev
Joel Rosdahl [Wed, 3 Apr 2019 17:12:48 +0000 (19:12 +0200)] 
Update ccache.samba.org URLs to refer to ccache.dev

6 years agoUpdate NEWS
Joel Rosdahl [Tue, 2 Apr 2019 19:28:31 +0000 (21:28 +0200)] 
Update NEWS

6 years agoInclude the presence of "-fxxx-prefix-map=" options in the hash (#370)
dianders [Tue, 2 Apr 2019 19:25:25 +0000 (12:25 -0700)] 
Include the presence of "-fxxx-prefix-map=" options in the hash (#370)

Recently I landed commit 980e032d14ba ("Allow treating "/dev/null" as
an input file (#365)") which sped up my kernel build a bunch.

Unfortunately I tested my change in isolation on the newest ccache
(AKA I constructed a simple test case and saw that it worked).  I only
tested it together with the Linux kernel when backported to an older
version of ccache.  A bit later I managed to get the newer version of
ccache fully integrated into my build system and tested my path there.
Then I noticed a problem because the new ccache contained the commit
919af39ccaca ("Support gcc-8 -ffile-prefix-map")

Specifically my compiler doesn't support the
-fmacro-prefix-map=... option and thus my change and the ccache change
to support -fmacro-prefix-map caused caused my kernel build to fail.
It couldn't detect that -fmacro-prefix-map wasn't supported.  The
kernel effectively will make these two calls:

  $(CC) $(opts)
  $(CC) $(opts) -fmacro-prefix-map=...

Since the newer ccache doesn't use "-fmacro-prefix-map=" when
computing its hash it will return the cached results from the first
call: AKA no compiler error.  Now the kernel Makefile will decide that
the "-fmacro-prefix-map=" is supported and will continue to use it,
which is bad.

It seems like an easy fix to all this is to add the _presence_ of the
"-fxxx-prefix-map=" options into the hash.  Those that want to use
these options to reuse cache objects still can--they just need to make
sure that none of the invocations of the compiler totally omit the
option.

6 years agoRevert "Handle -g0 properly (#371)"
Joel Rosdahl [Tue, 2 Apr 2019 19:01:16 +0000 (21:01 +0200)] 
Revert "Handle -g0 properly (#371)"

This reverts ccache/ccache#371.

6 years agoHandle -g0 properly (#371)
Pavol Sakac [Tue, 2 Apr 2019 18:57:38 +0000 (20:57 +0200)] 
Handle -g0 properly (#371)

6 years agotest: Remove left-over depend_different_headers.bash
Joel Rosdahl [Tue, 2 Apr 2019 18:54:49 +0000 (20:54 +0200)] 
test: Remove left-over depend_different_headers.bash

As noted by Pavol Sakac. It should have been removed as part of bdc40d35a3a6.

6 years agoDon’t create missing output directory
Joel Rosdahl [Mon, 1 Apr 2019 19:46:21 +0000 (21:46 +0200)] 
Don’t create missing output directory

This mimics the compiler behavior for “-o out/obj.o” when “out” doesn’t
exist.

Fixes #353.

6 years agoDocument the --hash-file option
Joel Rosdahl [Mon, 1 Apr 2019 19:07:07 +0000 (21:07 +0200)] 
Document the --hash-file option

6 years agoUpdate NEWS
Joel Rosdahl [Sun, 31 Mar 2019 20:20:09 +0000 (22:20 +0200)] 
Update NEWS

6 years agoAdd --print-stats command for machine-parsable statistics output
Joel Rosdahl [Sun, 31 Mar 2019 20:14:03 +0000 (22:14 +0200)] 
Add --print-stats command for machine-parsable statistics output

6 years agoRefactor stats_summary
Joel Rosdahl [Sun, 31 Mar 2019 19:47:22 +0000 (21:47 +0200)] 
Refactor stats_summary

In preparation for adding “--print-stats”.

6 years agoRename --print-config to --show-config
Joel Rosdahl [Sun, 31 Mar 2019 19:25:32 +0000 (21:25 +0200)] 
Rename --print-config to --show-config

“--show-*” will be the human-readable variant and “--print-*” the
machine-parsable variant.

6 years agoDocument -k/--get-config
Joel Rosdahl [Sun, 31 Mar 2019 18:49:05 +0000 (20:49 +0200)] 
Document -k/--get-config

6 years agoDocument the --dump-manifest option
Joel Rosdahl [Sun, 31 Mar 2019 18:45:23 +0000 (20:45 +0200)] 
Document the --dump-manifest option

6 years agoRearrange description of options in the help text into sections
Joel Rosdahl [Sun, 31 Mar 2019 18:45:13 +0000 (20:45 +0200)] 
Rearrange description of options in the help text into sections

Also sorted options according to their long form.

6 years agoIgnore unknown keys in configuration files
Joel Rosdahl [Sun, 31 Mar 2019 18:06:05 +0000 (20:06 +0200)] 
Ignore unknown keys in configuration files

This way legacy ccache versions can still work with modern ccache
configuration keys in the configuration files. The downside is of course
that errors like typos no longer will be corrected.

6 years agoOptimize when to rewrite absolute paths into relative in .d file
Joel Rosdahl [Sun, 31 Mar 2019 11:22:17 +0000 (13:22 +0200)] 
Optimize when to rewrite absolute paths into relative in .d file

As discussed in PR #366.

6 years agoEnable generating relative paths in dependency file in depend mode (#366)
Pavol Sakac [Sun, 31 Mar 2019 11:09:10 +0000 (13:09 +0200)] 
Enable generating relative paths in dependency file in depend mode (#366)

This was previously only done if preprocessor was run.

6 years agoMark the manifest file as used on direct cache hit
Joel Rosdahl [Wed, 27 Mar 2019 20:46:49 +0000 (21:46 +0100)] 
Mark the manifest file as used on direct cache hit

Fixes #367.

6 years agoDeduce output filename from source filename without or ending with dot
Joel Rosdahl [Wed, 27 Mar 2019 20:22:28 +0000 (21:22 +0100)] 
Deduce output filename from source filename without or ending with dot

6 years agoUpdate NEWS
Joel Rosdahl [Tue, 26 Mar 2019 20:12:14 +0000 (21:12 +0100)] 
Update NEWS

6 years agotest: Merge depend_different_headers suite with the depend suite
Joel Rosdahl [Tue, 26 Mar 2019 20:07:43 +0000 (21:07 +0100)] 
test: Merge depend_different_headers suite with the depend suite

6 years agodepend mode: Support multiple versions of dependencies (#363)
Pavol Sakac [Sun, 24 Mar 2019 12:56:24 +0000 (13:56 +0100)] 
depend mode: Support multiple versions of dependencies (#363)

Depend mode fix for a case with unchaged common hash (unchanged source file and
other parameters that affect the hash), but with changes in the header file[s]
the source file depends on. This allows for multiple versions of the object
file and dependency file to exist for one common hash. Added unit tests in
test/suites/depend_different_headers.bash to test this behavior.

6 years agoUpdate NEWS
Joel Rosdahl [Thu, 21 Mar 2019 21:06:41 +0000 (22:06 +0100)] 
Update NEWS

6 years agoFix deletion of tmp_stderr in depend mode
Joel Rosdahl [Thu, 21 Mar 2019 21:04:22 +0000 (22:04 +0100)] 
Fix deletion of tmp_stderr in depend mode

If the compiler produced stderr, a temporary file leaks if depend mode
is enabled. Also, if the compiler does not produce stderr and depend
mode is enable, an unnecessary unlink is attempted.

Fix this by restructuring logic related to deletion of the temporary
file.

6 years agoAdd dianders to .mailcap
Joel Rosdahl [Thu, 21 Mar 2019 19:55:26 +0000 (20:55 +0100)] 
Add dianders to .mailcap

6 years agoUpdate NEWS
Joel Rosdahl [Thu, 21 Mar 2019 19:53:41 +0000 (20:53 +0100)] 
Update NEWS

6 years agoAdd test case for #365
Joel Rosdahl [Thu, 21 Mar 2019 19:52:30 +0000 (20:52 +0100)] 
Add test case for #365

6 years agoTweak code style
Joel Rosdahl [Thu, 21 Mar 2019 19:49:15 +0000 (20:49 +0100)] 
Tweak code style

6 years agoAllow treating "/dev/null" as an input file (#365)
dianders [Thu, 21 Mar 2019 19:46:34 +0000 (12:46 -0700)] 
Allow treating "/dev/null" as an input file (#365)

One of the slow things for incremental Linux kernel builds is that
during the single-threaded parsing stage of the Makefile the kernel
calls into the C compiler to test which options the compiler supports.
A lot.  Specifically there are snippets like this all over the
Makefile:

$(call cc-option,-Oz,-Os)

...which translates into a call to the C compiler:

${CC} ... -Oz -c -x c /dev/null -o .178435.tmp

One of the contributing factors to the overall slowness is that the
input file for this test is "/dev/null".  This trips a check in ccache
because "/dev/null" "isn't a plain file".

As far as I understand it it should be totally fine to cache the
result of compiling "/dev/null".  It's basically just compiling an
empty file.

On my setup this improves the parsing stage of the kernel Makefile
from 3.25 seconds to 2.0 seconds (so saves 1.25 seconds for each of
build, install, and modules_install for 3.75 seconds total).

6 years agoCheck for gperf in developer mode
Joel Rosdahl [Tue, 5 Mar 2019 19:30:16 +0000 (20:30 +0100)] 
Check for gperf in developer mode

Related to #360.

6 years agoHash output filename when using -gsplit-dwarf
Joel Rosdahl [Thu, 28 Feb 2019 19:14:06 +0000 (20:14 +0100)] 
Hash output filename when using -gsplit-dwarf

This is needed since the object file includes a link to the
corresponding .dwo file based on the target object filename.

Fixes #356 for real, hopefully.

6 years agoHint about the new debug mode in the troubleshooting manual section
Joel Rosdahl [Tue, 26 Feb 2019 20:05:06 +0000 (21:05 +0100)] 
Hint about the new debug mode in the troubleshooting manual section

6 years agoSplit -gsplit-dwarf tests to a separate test suite
Joel Rosdahl [Wed, 20 Feb 2019 09:13:55 +0000 (10:13 +0100)] 
Split -gsplit-dwarf tests to a separate test suite

6 years agoHash CWD when using -gsplit-dwarf
Joel Rosdahl [Tue, 19 Feb 2019 21:32:14 +0000 (22:32 +0100)] 
Hash CWD when using -gsplit-dwarf

Fixes #356.

6 years agoRemove redundant uncrustify_exclude_files variable
Joel Rosdahl [Sun, 3 Feb 2019 15:41:44 +0000 (16:41 +0100)] 
Remove redundant uncrustify_exclude_files variable

6 years agoOnly apply extra warnings to non-3pp and test sources
Joel Rosdahl [Sun, 3 Feb 2019 15:40:47 +0000 (16:40 +0100)] 
Only apply extra warnings to non-3pp and test sources

6 years agoImprove names of variables and functions related to the debug log
Joel Rosdahl [Thu, 24 Jan 2019 20:41:57 +0000 (21:41 +0100)] 
Improve names of variables and functions related to the debug log

6 years agoIncrease log message buffer sizes slightly
Joel Rosdahl [Thu, 24 Jan 2019 20:36:18 +0000 (21:36 +0100)] 
Increase log message buffer sizes slightly

6 years agoAvoid reading outside memory buffer for large debug log messages
Joel Rosdahl [Thu, 24 Jan 2019 20:35:52 +0000 (21:35 +0100)] 
Avoid reading outside memory buffer for large debug log messages

When the debug mode is enabled, the vlog function formats a log message
in a stack-allocated buffer using vsnprintf and assumes that the
returned value represents the number of written bytes. This is an
incorrect assumption if the message is larger than the buffer
size (minus one) since the return value tells how many bytes *would*
have been written.

6 years agoIgnore ccache debug files
Joel Rosdahl [Thu, 24 Jan 2019 20:25:44 +0000 (21:25 +0100)] 
Ignore ccache debug files

6 years agoUpdate NEWS
Joel Rosdahl [Wed, 23 Jan 2019 15:16:49 +0000 (16:16 +0100)] 
Update NEWS

6 years agoFix segmentation fault with CCACHE_DEBUG=1 and output file /dev/null
Robert Yang [Tue, 22 Jan 2019 09:04:01 +0000 (17:04 +0800)] 
Fix segmentation fault with CCACHE_DEBUG=1 and output file /dev/null

Fixed:
$ export CCACHE_DEBUG=1
$ ccache gcc -c hello.c -o /dev/null

Segmentation fault (core dumped)

This is because failed to open /dev/null.foo (Permission denied), check file
stream before write to it can fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agodev.mk.in: Fix file name too long error
Robert Yang [Tue, 22 Jan 2019 09:04:00 +0000 (17:04 +0800)] 
dev.mk.in: Fix file name too long error

The all_cppflags changes path to filename which causes file name too long
error when the path is longer than NAME_MAX (usually 255). Strip srcdir
to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
6 years agoUpdate contribution guidelines
Joel Rosdahl [Wed, 23 Jan 2019 13:23:16 +0000 (14:23 +0100)] 
Update contribution guidelines

6 years agoOnly include test/suites/*.bash in the release archive
Joel Rosdahl [Thu, 17 Jan 2019 20:58:43 +0000 (21:58 +0100)] 
Only include test/suites/*.bash in the release archive

6 years agoPrepare for v3.6 v3.6
Joel Rosdahl [Mon, 14 Jan 2019 20:09:49 +0000 (21:09 +0100)] 
Prepare for v3.6

6 years agoMake cppcheck understand confitems_lookup’s usage of confitem functions
Joel Rosdahl [Mon, 14 Jan 2019 20:05:02 +0000 (21:05 +0100)] 
Make cppcheck understand confitems_lookup’s usage of confitem functions

6 years agoFix NEWS
Joel Rosdahl [Mon, 14 Jan 2019 19:48:11 +0000 (20:48 +0100)] 
Fix NEWS

6 years agoAdd performance measurement of the depend mode
Joel Rosdahl [Mon, 14 Jan 2019 18:27:42 +0000 (19:27 +0100)] 
Add performance measurement of the depend mode

6 years agoFix pycodestyle warnings in perf.py
Joel Rosdahl [Mon, 14 Jan 2019 18:18:15 +0000 (19:18 +0100)] 
Fix pycodestyle warnings in perf.py

6 years agoRevert inadvertent copyright year updates
Joel Rosdahl [Sun, 13 Jan 2019 20:39:43 +0000 (21:39 +0100)] 
Revert inadvertent copyright year updates

6 years agoFix the build on IBM i / PASE (#329)
Yvan Janssens [Sun, 13 Jan 2019 20:37:58 +0000 (20:37 +0000)] 
Fix the build on IBM i / PASE (#329)

6 years agoCheck for word boundaries when scanning for __DATE__/__TIME__
Joel Rosdahl [Sun, 13 Jan 2019 20:13:09 +0000 (21:13 +0100)] 
Check for word boundaries when scanning for __DATE__/__TIME__

As suggested in #347.

6 years agoUpdate news
Joel Rosdahl [Sat, 12 Jan 2019 13:26:17 +0000 (14:26 +0100)] 
Update news

6 years agoTweak comments
Joel Rosdahl [Sat, 12 Jan 2019 13:22:09 +0000 (14:22 +0100)] 
Tweak comments

6 years agoSupport .d dependency file generation via environment variables 349/head
Maarten Maathuis [Fri, 11 Jan 2019 23:29:36 +0000 (00:29 +0100)] 
Support .d dependency file generation via environment variables

Previously "DEPENDENCIES_OUTPUT="test.d" gcc -c test.c" and
"SUNPRO_DEPENDENCIES="test.d" gcc -c test.c" would not cache
the .d dependency files.

6 years agoRename sloppiness no_system_headers to system_headers for consistency
Joel Rosdahl [Wed, 9 Jan 2019 19:50:20 +0000 (20:50 +0100)] 
Rename sloppiness no_system_headers to system_headers for consistency

no_system_headers can still be used as an (undocumented) alias.

Closes #337.

6 years agoImprove markup of NEWS
Joel Rosdahl [Wed, 9 Jan 2019 19:44:36 +0000 (20:44 +0100)] 
Improve markup of NEWS

6 years agoHash environment variables related to locale
Joel Rosdahl [Wed, 9 Jan 2019 19:06:43 +0000 (20:06 +0100)] 
Hash environment variables related to locale

This avoids emitting incorrect compiler warning messages when switching
locale settings.

Fixes #327.

6 years agoDefine sloppiness constants by shifting
Joel Rosdahl [Wed, 9 Jan 2019 18:46:36 +0000 (19:46 +0100)] 
Define sloppiness constants by shifting

6 years agoFix spelling (#345)
Josh Soref [Mon, 7 Jan 2019 15:40:38 +0000 (10:40 -0500)] 
Fix spelling (#345)

6 years agoFix link to cache debugging section (#346)
Josh Soref [Mon, 7 Jan 2019 11:58:10 +0000 (06:58 -0500)] 
Fix link to cache debugging section (#346)

6 years agoImprove buildenv/README
Joel Rosdahl [Sat, 5 Jan 2019 21:51:42 +0000 (22:51 +0100)] 
Improve buildenv/README

6 years agoRename base directory to buildenv as discussed in #278
Joel Rosdahl [Sat, 5 Jan 2019 21:46:31 +0000 (22:46 +0100)] 
Rename base directory to buildenv as discussed in #278

6 years agoImprovement and upgrade of Docker build (#278)
Anders Björklund [Sat, 5 Jan 2019 21:42:11 +0000 (22:42 +0100)] 
Improvement and upgrade of Docker build (#278)

Allow using different Docker images for testing ccache build in different build
environments.

6 years agoGenererate confitem number fields in confitems.gperf
Joel Rosdahl [Sat, 5 Jan 2019 09:56:13 +0000 (10:56 +0100)] 
Genererate confitem number fields in confitems.gperf

When merging diverging confitems.gperf changes it is always a hassle to
regenerate the config number sequence fields by hand, and they also
trigger merge conflicts. Those numbers are now instead generated
automatically.