1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
\r
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
\r
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
\r
6 <meta name="generator" content="AsciiDoc 8.6.9" />
\r
7 <title>ccache news</title>
\r
8 <style type="text/css">
\r
9 /* Shared CSS for AsciiDoc xhtml11 and html5 backends */
\r
13 font-family: Georgia,serif;
\r
17 h1, h2, h3, h4, h5, h6,
\r
18 div.title, caption.title,
\r
19 thead, p.table.header,
\r
21 #author, #revnumber, #revdate, #revremark,
\r
23 font-family: Arial,Helvetica,sans-serif;
\r
27 margin: 1em 5% 1em 5%;
\r
32 text-decoration: underline;
\r
48 h1, h2, h3, h4, h5, h6 {
\r
51 margin-bottom: 0.5em;
\r
56 border-bottom: 2px solid silver;
\r
76 border: 1px solid silver;
\r
81 margin-bottom: 0.5em;
\r
87 ul > li { color: #aaa; }
\r
88 ul > li > * { color: black; }
\r
90 .monospaced, code, pre {
\r
91 font-family: "Courier New", Courier, monospace;
\r
98 white-space: pre-wrap;
\r
108 #revnumber, #revdate, #revremark {
\r
113 border-top: 2px solid silver;
\r
114 padding-top: 0.5em;
\r
119 padding-bottom: 0.5em;
\r
123 padding-bottom: 0.5em;
\r
128 margin-bottom: 1.5em;
\r
130 div.imageblock, div.exampleblock, div.verseblock,
\r
131 div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
\r
132 div.admonitionblock {
\r
134 margin-bottom: 1.5em;
\r
136 div.admonitionblock {
\r
138 margin-bottom: 2.0em;
\r
143 div.content { /* Block element content. */
\r
147 /* Block element titles. */
\r
148 div.title, caption.title {
\r
153 margin-bottom: 0.5em;
\r
159 td div.title:first-child {
\r
162 div.content div.title:first-child {
\r
165 div.content + div.title {
\r
169 div.sidebarblock > div.content {
\r
170 background: #ffffee;
\r
171 border: 1px solid #dddddd;
\r
172 border-left: 4px solid #f0f0f0;
\r
176 div.listingblock > div.content {
\r
177 border: 1px solid #dddddd;
\r
178 border-left: 5px solid #f0f0f0;
\r
179 background: #f8f8f8;
\r
183 div.quoteblock, div.verseblock {
\r
184 padding-left: 1.0em;
\r
185 margin-left: 1.0em;
\r
187 border-left: 5px solid #f0f0f0;
\r
191 div.quoteblock > div.attribution {
\r
192 padding-top: 0.5em;
\r
196 div.verseblock > pre.content {
\r
197 font-family: inherit;
\r
198 font-size: inherit;
\r
200 div.verseblock > div.attribution {
\r
201 padding-top: 0.75em;
\r
204 /* DEPRECATED: Pre version 8.2.7 verse style literal block. */
\r
205 div.verseblock + div.attribution {
\r
209 div.admonitionblock .icon {
\r
210 vertical-align: top;
\r
213 text-decoration: underline;
\r
215 padding-right: 0.5em;
\r
217 div.admonitionblock td.content {
\r
218 padding-left: 0.5em;
\r
219 border-left: 3px solid #dddddd;
\r
222 div.exampleblock > div.content {
\r
223 border-left: 3px solid #dddddd;
\r
224 padding-left: 0.5em;
\r
227 div.imageblock div.content { padding-left: 0; }
\r
228 span.image img { border-style: none; vertical-align: text-bottom; }
\r
229 a.image:visited { color: white; }
\r
233 margin-bottom: 0.8em;
\r
238 font-style: normal;
\r
241 dd > *:first-child {
\r
246 list-style-position: outside;
\r
249 list-style-type: decimal;
\r
252 list-style-type: lower-alpha;
\r
255 list-style-type: upper-alpha;
\r
258 list-style-type: lower-roman;
\r
261 list-style-type: upper-roman;
\r
264 div.compact ul, div.compact ol,
\r
265 div.compact p, div.compact p,
\r
266 div.compact div, div.compact div {
\r
268 margin-bottom: 0.1em;
\r
280 margin-bottom: 0.8em;
\r
283 padding-bottom: 15px;
\r
285 dt.hdlist1.strong, td.hdlist1.strong {
\r
289 vertical-align: top;
\r
290 font-style: normal;
\r
291 padding-right: 0.8em;
\r
295 vertical-align: top;
\r
297 div.hdlist.compact tr {
\r
303 background: yellow;
\r
306 .footnote, .footnoteref {
\r
310 span.footnote, span.footnoteref {
\r
311 vertical-align: super;
\r
315 margin: 20px 0 20px 0;
\r
316 padding: 7px 0 0 0;
\r
319 #footnotes div.footnote {
\r
325 border-top: 1px solid silver;
\r
334 padding-right: 0.5em;
\r
335 padding-bottom: 0.3em;
\r
336 vertical-align: top;
\r
338 div.colist td img {
\r
343 #footer-badges { display: none; }
\r
347 margin-bottom: 2.5em;
\r
355 margin-bottom: 0.1em;
\r
358 div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
\r
375 span.aqua { color: aqua; }
\r
376 span.black { color: black; }
\r
377 span.blue { color: blue; }
\r
378 span.fuchsia { color: fuchsia; }
\r
379 span.gray { color: gray; }
\r
380 span.green { color: green; }
\r
381 span.lime { color: lime; }
\r
382 span.maroon { color: maroon; }
\r
383 span.navy { color: navy; }
\r
384 span.olive { color: olive; }
\r
385 span.purple { color: purple; }
\r
386 span.red { color: red; }
\r
387 span.silver { color: silver; }
\r
388 span.teal { color: teal; }
\r
389 span.white { color: white; }
\r
390 span.yellow { color: yellow; }
\r
392 span.aqua-background { background: aqua; }
\r
393 span.black-background { background: black; }
\r
394 span.blue-background { background: blue; }
\r
395 span.fuchsia-background { background: fuchsia; }
\r
396 span.gray-background { background: gray; }
\r
397 span.green-background { background: green; }
\r
398 span.lime-background { background: lime; }
\r
399 span.maroon-background { background: maroon; }
\r
400 span.navy-background { background: navy; }
\r
401 span.olive-background { background: olive; }
\r
402 span.purple-background { background: purple; }
\r
403 span.red-background { background: red; }
\r
404 span.silver-background { background: silver; }
\r
405 span.teal-background { background: teal; }
\r
406 span.white-background { background: white; }
\r
407 span.yellow-background { background: yellow; }
\r
409 span.big { font-size: 2em; }
\r
410 span.small { font-size: 0.6em; }
\r
412 span.underline { text-decoration: underline; }
\r
413 span.overline { text-decoration: overline; }
\r
414 span.line-through { text-decoration: line-through; }
\r
416 div.unbreakable { page-break-inside: avoid; }
\r
426 margin-bottom: 1.5em;
\r
428 div.tableblock > table {
\r
429 border: 3px solid #527bbd;
\r
431 thead, p.table.header {
\r
438 /* Because the table frame attribute is overriden by CSS in most browsers. */
\r
439 div.tableblock > table[frame="void"] {
\r
440 border-style: none;
\r
442 div.tableblock > table[frame="hsides"] {
\r
443 border-left-style: none;
\r
444 border-right-style: none;
\r
446 div.tableblock > table[frame="vsides"] {
\r
447 border-top-style: none;
\r
448 border-bottom-style: none;
\r
459 margin-bottom: 1.5em;
\r
461 thead, p.tableblock.header {
\r
470 border-spacing: 0px;
\r
471 border-style: solid;
\r
472 border-color: #527bbd;
\r
473 border-collapse: collapse;
\r
475 th.tableblock, td.tableblock {
\r
478 border-style: solid;
\r
479 border-color: #527bbd;
\r
482 table.tableblock.frame-topbot {
\r
483 border-left-style: hidden;
\r
484 border-right-style: hidden;
\r
486 table.tableblock.frame-sides {
\r
487 border-top-style: hidden;
\r
488 border-bottom-style: hidden;
\r
490 table.tableblock.frame-none {
\r
491 border-style: hidden;
\r
494 th.tableblock.halign-left, td.tableblock.halign-left {
\r
497 th.tableblock.halign-center, td.tableblock.halign-center {
\r
498 text-align: center;
\r
500 th.tableblock.halign-right, td.tableblock.halign-right {
\r
504 th.tableblock.valign-top, td.tableblock.valign-top {
\r
505 vertical-align: top;
\r
507 th.tableblock.valign-middle, td.tableblock.valign-middle {
\r
508 vertical-align: middle;
\r
510 th.tableblock.valign-bottom, td.tableblock.valign-bottom {
\r
511 vertical-align: bottom;
\r
521 padding-top: 0.5em;
\r
522 padding-bottom: 0.5em;
\r
523 border-top: 2px solid silver;
\r
524 border-bottom: 2px solid silver;
\r
527 border-style: none;
\r
529 body.manpage div.sectionbody {
\r
534 body.manpage div#toc { display: none; }
\r
539 <script type="text/javascript">
\r
541 var asciidoc = { // Namespace.
\r
543 /////////////////////////////////////////////////////////////////////
\r
544 // Table Of Contents generator
\r
545 /////////////////////////////////////////////////////////////////////
\r
547 /* Author: Mihai Bazon, September 2002
\r
548 * http://students.infoiasi.ro/~mishoo
\r
550 * Table Of Content generator
\r
553 * Feel free to use this script under the terms of the GNU General Public
\r
554 * License, as long as you do not remove or alter this notice.
\r
557 /* modified by Troy D. Hanson, September 2006. License: GPL */
\r
558 /* modified by Stuart Rackham, 2006, 2009. License: GPL */
\r
560 // toclevels = 1..4.
\r
561 toc: function (toclevels) {
\r
563 function getText(el) {
\r
565 for (var i = el.firstChild; i != null; i = i.nextSibling) {
\r
566 if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
\r
568 else if (i.firstChild != null)
\r
569 text += getText(i);
\r
574 function TocEntry(el, text, toclevel) {
\r
577 this.toclevel = toclevel;
\r
580 function tocEntries(el, toclevels) {
\r
581 var result = new Array;
\r
582 var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
\r
583 // Function that scans the DOM tree for header elements (the DOM2
\r
584 // nodeIterator API would be a better technique but not supported by all
\r
586 var iterate = function (el) {
\r
587 for (var i = el.firstChild; i != null; i = i.nextSibling) {
\r
588 if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
\r
589 var mo = re.exec(i.tagName);
\r
590 if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {
\r
591 result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
\r
601 var toc = document.getElementById("toc");
\r
606 // Delete existing TOC entries in case we're reloading the TOC.
\r
607 var tocEntriesToRemove = [];
\r
609 for (i = 0; i < toc.childNodes.length; i++) {
\r
610 var entry = toc.childNodes[i];
\r
611 if (entry.nodeName.toLowerCase() == 'div'
\r
612 && entry.getAttribute("class")
\r
613 && entry.getAttribute("class").match(/^toclevel/))
\r
614 tocEntriesToRemove.push(entry);
\r
616 for (i = 0; i < tocEntriesToRemove.length; i++) {
\r
617 toc.removeChild(tocEntriesToRemove[i]);
\r
620 // Rebuild TOC entries.
\r
621 var entries = tocEntries(document.getElementById("content"), toclevels);
\r
622 for (var i = 0; i < entries.length; ++i) {
\r
623 var entry = entries[i];
\r
624 if (entry.element.id == "")
\r
625 entry.element.id = "_toc_" + i;
\r
626 var a = document.createElement("a");
\r
627 a.href = "#" + entry.element.id;
\r
628 a.appendChild(document.createTextNode(entry.text));
\r
629 var div = document.createElement("div");
\r
630 div.appendChild(a);
\r
631 div.className = "toclevel" + entry.toclevel;
\r
632 toc.appendChild(div);
\r
634 if (entries.length == 0)
\r
635 toc.parentNode.removeChild(toc);
\r
639 /////////////////////////////////////////////////////////////////////
\r
640 // Footnotes generator
\r
641 /////////////////////////////////////////////////////////////////////
\r
643 /* Based on footnote generation code from:
\r
644 * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
\r
647 footnotes: function () {
\r
648 // Delete existing footnote entries in case we're reloading the footnodes.
\r
650 var noteholder = document.getElementById("footnotes");
\r
654 var entriesToRemove = [];
\r
655 for (i = 0; i < noteholder.childNodes.length; i++) {
\r
656 var entry = noteholder.childNodes[i];
\r
657 if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
\r
658 entriesToRemove.push(entry);
\r
660 for (i = 0; i < entriesToRemove.length; i++) {
\r
661 noteholder.removeChild(entriesToRemove[i]);
\r
664 // Rebuild footnote entries.
\r
665 var cont = document.getElementById("content");
\r
666 var spans = cont.getElementsByTagName("span");
\r
669 for (i=0; i<spans.length; i++) {
\r
670 if (spans[i].className == "footnote") {
\r
672 var note = spans[i].getAttribute("data-note");
\r
674 // Use [\s\S] in place of . so multi-line matches work.
\r
675 // Because JavaScript has no s (dotall) regex flag.
\r
676 note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];
\r
677 spans[i].innerHTML =
\r
678 "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +
\r
679 "' title='View footnote' class='footnote'>" + n + "</a>]";
\r
680 spans[i].setAttribute("data-note", note);
\r
682 noteholder.innerHTML +=
\r
683 "<div class='footnote' id='_footnote_" + n + "'>" +
\r
684 "<a href='#_footnoteref_" + n + "' title='Return to text'>" +
\r
685 n + "</a>. " + note + "</div>";
\r
686 var id =spans[i].getAttribute("id");
\r
687 if (id != null) refs["#"+id] = n;
\r
691 noteholder.parentNode.removeChild(noteholder);
\r
693 // Process footnoterefs.
\r
694 for (i=0; i<spans.length; i++) {
\r
695 if (spans[i].className == "footnoteref") {
\r
696 var href = spans[i].getElementsByTagName("a")[0].getAttribute("href");
\r
697 href = href.match(/#.*/)[0]; // Because IE return full URL.
\r
699 spans[i].innerHTML =
\r
700 "[<a href='#_footnote_" + n +
\r
701 "' title='View footnote' class='footnote'>" + n + "</a>]";
\r
707 install: function(toclevels) {
\r
710 function reinstall() {
\r
711 asciidoc.footnotes();
\r
713 asciidoc.toc(toclevels);
\r
717 function reinstallAndRemoveTimer() {
\r
718 clearInterval(timerId);
\r
722 timerId = setInterval(reinstall, 500);
\r
723 if (document.addEventListener)
\r
724 document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);
\r
726 window.onload = reinstallAndRemoveTimer;
\r
730 asciidoc.install(2);
\r
734 <body class="article">
\r
736 <h1>ccache news</h1>
\r
737 <span id="revnumber">version 3.3.4</span>
\r
739 <div id="toctitle">Table of Contents</div>
740 <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
744 <div class="sect1">
\r
745 <h2 id="_ccache_3_3_4">ccache 3.3.4</h2>
\r
746 <div class="sectionbody">
\r
747 <div class="paragraph"><p>Release date: 2017-02-17</p></div>
\r
748 <div class="sect2">
\r
749 <h3 id="_new_features_and_improvements">New features and improvements</h3>
\r
750 <div class="ulist"><ul>
\r
753 Documented the different cache statistics counters.
\r
758 <div class="sect2">
\r
759 <h3 id="_bug_fixes">Bug fixes</h3>
\r
760 <div class="ulist"><ul>
\r
763 Fixed a regression in ccache 3.3 related to potentially bad content of
\r
764 dependency files when compiling identical source code but with different
\r
765 source paths. This was only partially fixed in 3.3.2 and reverts the new
\r
766 “Names of included files are no longer included in the hash of the
\r
767 compiler’s preprocessed output” feature in 3.3.
\r
772 Corrected statistics counter for <code>-optf</code>/<code>--options-file</code> failure.
\r
777 Fixed undefined behavior warnings in ccache found by <code>-fsanitize=undefined</code>.
\r
784 <div class="sect1">
\r
785 <h2 id="_ccache_3_3_3">ccache 3.3.3</h2>
\r
786 <div class="sectionbody">
\r
787 <div class="paragraph"><p>Release date: 2016-10-26</p></div>
\r
788 <div class="sect2">
\r
789 <h3 id="_bug_fixes_2">Bug fixes</h3>
\r
790 <div class="ulist"><ul>
\r
793 ccache now detects usage of <code>.incbin</code> assembler directives in the source code
\r
794 and avoids caching such compilations.
\r
801 <div class="sect1">
\r
802 <h2 id="_ccache_3_3_2">ccache 3.3.2</h2>
\r
803 <div class="sectionbody">
\r
804 <div class="paragraph"><p>Release date: 2016-09-28</p></div>
\r
805 <div class="sect2">
\r
806 <h3 id="_bug_fixes_3">Bug fixes</h3>
\r
807 <div class="ulist"><ul>
\r
810 Fixed a regression in ccache 3.3 related to potentially bad content of
\r
811 dependency files when compiling identical source code but with different
\r
817 Fixed a regression in ccache 3.3.1: ccache could get confused when using the
\r
818 compiler option <code>-Wp,</code> to pass multiple options to the preprocessor,
\r
819 resulting in missing dependency files from direct mode cache hits.
\r
826 <div class="sect1">
\r
827 <h2 id="_ccache_3_3_1">ccache 3.3.1</h2>
\r
828 <div class="sectionbody">
\r
829 <div class="paragraph"><p>Release date: 2016-09-07</p></div>
\r
830 <div class="sect2">
\r
831 <h3 id="_bug_fixes_4">Bug fixes</h3>
\r
832 <div class="ulist"><ul>
\r
835 Fixed a problem in the “multiple <code>-arch</code> options” support introduced in
\r
836 3.3. When using the direct mode (the default), different combinations of
\r
837 <code>-arch</code> options were not detected properly.
\r
842 Fixed an issue when compiler option <code>-Wp,-MT,path</code> is used instead of <code>-MT
\r
843 path</code> (and similar for <code>-MF</code>, <code>-MP</code> and <code>-MQ</code>) and <code>run_second_cpp</code>
\r
844 (<code>CCACHE_CPP2</code>) is enabled.
\r
851 <div class="sect1">
\r
852 <h2 id="_ccache_3_3">ccache 3.3</h2>
\r
853 <div class="sectionbody">
\r
854 <div class="paragraph"><p>Release date: 2016-08-27</p></div>
\r
855 <div class="sect2">
\r
856 <h3 id="_notes">Notes</h3>
\r
857 <div class="ulist"><ul>
\r
860 A C99-compatible compiler is now required to build ccache.
\r
865 <div class="sect2">
\r
866 <h3 id="_new_features_and_improvements_2">New features and improvements</h3>
\r
867 <div class="ulist"><ul>
\r
870 The configuration option <code>run_second_cpp</code> (<code>CCACHE_CPP2</code>) now defaults to
\r
871 true. This improves ccache’s out-of-the-box experience for compilers that
\r
872 can’t compile their own preprocessed output with the same outcome as if they
\r
873 compiled the real source code directly, e.g. newer versions of GCC and Clang.
\r
878 The configuration option <code>hash_dir</code> (<code>CCACHE_HASHDIR</code>) now defaults to true.
\r
883 Added a new <code>ignore_headers_in_manifest</code> configuration option, which
\r
884 specifies headers that should be ignored in the direct mode.
\r
889 Added a new <code>prefix_command_cpp</code> (<code>CCACHE_PREFIX_CPP</code>) configuration option,
\r
890 which specifies one or several prefixes to add to the command line ccache
\r
891 uses when invoking the preprocessor.
\r
896 Added a new <code>limit_multiple</code> (<code>CCACHE_LIMIT_MULTIPLE</code>) configuration option,
\r
897 which specifies how much of the cache to remove when cleaning.
\r
902 Added a new <code>keep_comments_cpp</code> (<code>CCACHE_COMMENTS</code>) configuration option,
\r
903 which tells ccache not to discard the comments before hashing preprocessor
\r
904 output. This can be used to check documentation with <strong>-Wdocumentation</strong>.
\r
909 Added a new sloppiness option <code>no_system_headers</code>, which tells ccache not to
\r
910 include system headers in manifest files.
\r
915 Added a new statistics counter that tracks the number of performed cleanups
\r
916 due to the cache size being over the limit. The value is shown in the output
\r
917 of “ccache -s”.
\r
922 Added support for relocating debug info directory using <code>-fdebug-prefix-map</code>.
\r
923 This allows for cache hits even when <code>hash_dir</code> is used in combination with
\r
924 <code>base_dir</code>.
\r
929 Added a new “cache hit rate” field to the output of “ccache -s”.
\r
934 Added support for caching compilation of assembler code produced by e.g.
\r
935 “gcc -S file.c”.
\r
940 Added support for cuda including the -optf/--options-file option.
\r
945 Added support for Fortran 77.
\r
950 Added support for multiple <code>-arch</code> options to produce "fat binaries".
\r
955 Multiple identical <code>-arch</code> arguments are now handled without bailing.
\r
960 The concatenated form of some long compiler options is now recognized, for
\r
961 example when using <code>-isystemPATH</code> instead of <code>-isystem PATH</code>.
\r
966 If hard-linking is enabled and but fails (e.g. due to cross-device linking),
\r
967 ccache now falls back to copying instead of running the compiler.
\r
972 Made the <code>hash_dir</code> option only have effect when generating debug info.
\r
977 ccache now knows how to convert absolute paths to relative paths inside
\r
978 dependency files when using <code>base_dir</code>.
\r
983 Improved parsing of <code>-g*</code> options.
\r
988 Made ccache understand <code>-Wp,-D*</code> options.
\r
993 ccache now understands the undocumented <code>-coverage</code> (only one dash) GCC
\r
999 Names of included files are no longer included in the hash of the compiler’s
\r
1000 preprocessed output. This leads to more potential cache hits when not using
\r
1006 Increased buffer size used when reading file data. This improves performance
\r
1012 <div class="sect2">
\r
1013 <h3 id="_bug_fixes_5">Bug fixes</h3>
\r
1014 <div class="ulist"><ul>
\r
1017 Bail out on too hard compiler option <code>-P</code>.
\r
1022 Fixed clang test suite when running on Linux.
\r
1027 Fixed build and test for MinGW32 and Windows.
\r
1034 <div class="sect1">
\r
1035 <h2 id="_ccache_3_2_9">ccache 3.2.9</h2>
\r
1036 <div class="sectionbody">
\r
1037 <div class="paragraph"><p>Release date: 2016-09-28</p></div>
\r
1038 <div class="sect2">
\r
1039 <h3 id="_bug_fixes_6">Bug fixes</h3>
\r
1040 <div class="ulist"><ul>
\r
1043 Fixed a regression in ccache 3.2.8: ccache could get confused when using the
\r
1044 compiler option <code>-Wp,</code> to pass multiple options to the preprocessor,
\r
1045 resulting in missing dependency files from direct mode cache hits.
\r
1052 <div class="sect1">
\r
1053 <h2 id="_ccache_3_2_8">ccache 3.2.8</h2>
\r
1054 <div class="sectionbody">
\r
1055 <div class="paragraph"><p>Release date: 2016-09-07</p></div>
\r
1056 <div class="sect2">
\r
1057 <h3 id="_bug_fixes_7">Bug fixes</h3>
\r
1058 <div class="ulist"><ul>
\r
1061 Fixed an issue when compiler option <code>-Wp,-MT,path</code> is used instead of <code>-MT
\r
1062 path</code> (and similar for <code>-MF</code>, <code>-MP</code> and <code>-MQ</code>) and <code>run_second_cpp</code>
\r
1063 (<code>CCACHE_CPP2</code>) is enabled.
\r
1068 ccache now understands the undocumented <code>-coverage</code> (only one dash) GCC
\r
1076 <div class="sect1">
\r
1077 <h2 id="_ccache_3_2_7">ccache 3.2.7</h2>
\r
1078 <div class="sectionbody">
\r
1079 <div class="paragraph"><p>Release date: 2016-07-20</p></div>
\r
1080 <div class="sect2">
\r
1081 <h3 id="_bug_fixes_8">Bug fixes</h3>
\r
1082 <div class="ulist"><ul>
\r
1085 Fixed a bug which could lead to false cache hits for compiler command lines
\r
1086 with a missing argument to an option that takes an argument.
\r
1091 ccache now knows how to work around a glitch in the output of GCC 6’s
\r
1099 <div class="sect1">
\r
1100 <h2 id="_ccache_3_2_6">ccache 3.2.6</h2>
\r
1101 <div class="sectionbody">
\r
1102 <div class="paragraph"><p>Release date: 2016-07-12</p></div>
\r
1103 <div class="sect2">
\r
1104 <h3 id="_bug_fixes_9">Bug fixes</h3>
\r
1105 <div class="ulist"><ul>
\r
1108 Fixed build problem on QNX, which lacks “SA_RESTART”.
\r
1113 Bail out on compiler option <code>-fstack-usage</code> since it creates a <code>.su</code> file
\r
1114 which ccache currently doesn’t handle.
\r
1119 Fixed a bug where (due to ccache rewriting paths) the compiler could choose
\r
1120 incorrect include files if <code>CCACHE_BASEDIR</code> is used and the source file path
\r
1121 is absolute and is a symlink.
\r
1128 <div class="sect1">
\r
1129 <h2 id="_ccache_3_2_5">ccache 3.2.5</h2>
\r
1130 <div class="sectionbody">
\r
1131 <div class="paragraph"><p>Release date: 2016-04-17</p></div>
\r
1132 <div class="sect2">
\r
1133 <h3 id="_new_features_and_improvements_3">New features and improvements</h3>
\r
1134 <div class="ulist"><ul>
\r
1137 Only pass clang-specific <code>-stdlib=</code> to the preprocessor.
\r
1142 Improved handling of stale NFS handles.
\r
1147 Made it harder to misinterpret documentation of boolean environment settings'
\r
1153 <div class="sect2">
\r
1154 <h3 id="_bug_fixes_10">Bug fixes</h3>
\r
1155 <div class="ulist"><ul>
\r
1158 Include m4 files used by configure.ac in the source dist archives.
\r
1163 Corrected "Performance" section in the manual regarding <code>__DATE_</code>, <code>__TIME__</code>
\r
1164 and <code>__FILE__</code> macros.
\r
1169 Fixed build on Solaris 10+ and AIX 7.
\r
1174 Fixed failure to create directories on QNX.
\r
1179 Don’t (try to) update manifest file in “read-only” and “read-only direct”
\r
1185 Fixed a bug in caching of <code>stat</code> system calls in “file_stat_matches
\r
1186 sloppiness mode”.
\r
1191 Fixed bug in hashing of clang plugins, leading to unnecessary cache misses.
\r
1196 Fixed --print-config to show “pch_defines sloppiness”.
\r
1201 The man page is now built when running “make install” from Git repository
\r
1209 <div class="sect1">
\r
1210 <h2 id="_ccache_3_2_4">ccache 3.2.4</h2>
\r
1211 <div class="sectionbody">
\r
1212 <div class="paragraph"><p>Release date: 2015-10-08</p></div>
\r
1213 <div class="sect2">
\r
1214 <h3 id="_bug_fixes_11">Bug fixes</h3>
\r
1215 <div class="ulist"><ul>
\r
1218 Fixed build error related to zlib on systems with older make versions
\r
1219 (regression in ccache 3.2.3).
\r
1224 Made conversion-to-bool explicit to avoid build warnings (and potential
\r
1225 runtime errors) on legacy systems.
\r
1230 Improved signal handling: Kill compiler on SIGTERM; wait for compiler to exit
\r
1231 before exiting; die appropriately.
\r
1236 Minor fixes related to Windows support.
\r
1241 The correct compression level is now used if compression is requested.
\r
1246 Fixed a bug where cache cleanup could be run too early for caches larger than
\r
1247 64 GiB on 32-bit systems.
\r
1254 <div class="sect1">
\r
1255 <h2 id="_ccache_3_2_3">ccache 3.2.3</h2>
\r
1256 <div class="sectionbody">
\r
1257 <div class="paragraph"><p>Release date: 2015-08-16</p></div>
\r
1258 <div class="sect2">
\r
1259 <h3 id="_new_features_and_improvements_4">New features and improvements</h3>
\r
1260 <div class="ulist"><ul>
\r
1263 Added support for compiler option <code>-gsplit-dwarf</code>.
\r
1268 <div class="sect2">
\r
1269 <h3 id="_bug_fixes_12">Bug fixes</h3>
\r
1270 <div class="ulist"><ul>
\r
1273 Support external zlib in nonstandard directory.
\r
1278 Avoid calling <code>exit()</code> inside an exit handler.
\r
1283 Let exit handler terminate properly.
\r
1288 Bail out on compiler option <code>--save-temps</code> in addition to <code>-save-temps</code>.
\r
1293 Only log "Disabling direct mode" once when failing to read potential include
\r
1301 <div class="sect1">
\r
1302 <h2 id="_ccache_3_2_2">ccache 3.2.2</h2>
\r
1303 <div class="sectionbody">
\r
1304 <div class="paragraph"><p>Release date: 2015-05-10</p></div>
\r
1305 <div class="sect2">
\r
1306 <h3 id="_new_features_and_improvements_5">New features and improvements</h3>
\r
1307 <div class="ulist"><ul>
\r
1310 Added support for <code>CCACHE_COMPILERCHECK=string:<value></code>. This is a faster
\r
1311 alternative to <code>CCACHE_COMPILERCHECK=<command></code> if the command’s output can
\r
1312 be precalculated by the build system.
\r
1317 Add support for caching code coverage results (compiling for gcov).
\r
1322 <div class="sect2">
\r
1323 <h3 id="_bug_fixes_13">Bug fixes</h3>
\r
1324 <div class="ulist"><ul>
\r
1327 Made hash of cached result created with and without <code>CCACHE_CPP2</code> different.
\r
1328 This makes it possible to rebuild with <code>CCACHE_CPP2</code> set without having to
\r
1329 clear the cache to get new results.
\r
1334 Don’t try to reset a non-existing stats file. This avoids “No such file or
\r
1335 directory” messages in the ccache log when the cache directory doesn’t
\r
1341 Fixed a bug where ccache deleted clang diagnostics after compiler failures.
\r
1346 Avoid performing an unnecessary copy of the object file on a cache miss.
\r
1351 Bail out on too hard compiler option <code>-fmodules</code>.
\r
1356 Bail out on too hard compiler option <code>-fplugin=libcc1plugin</code> (interaction
\r
1362 Fixed build error when compiling ccache with recent clang versions.
\r
1367 Removed signal-unsafe code from signal handler.
\r
1372 Corrected logic for when to output cached stderr.
\r
1377 Wipe the whole cached result on failure retrieving a cached file.
\r
1382 Fixed build error when compiling ccache with recent clang versions.
\r
1389 <div class="sect1">
\r
1390 <h2 id="_ccache_3_2_1">ccache 3.2.1</h2>
\r
1391 <div class="sectionbody">
\r
1392 <div class="paragraph"><p>Release date: 2014-12-10</p></div>
\r
1393 <div class="sect2">
\r
1394 <h3 id="_bug_fixes_14">Bug fixes</h3>
\r
1395 <div class="ulist"><ul>
\r
1398 Fixed regression in temporary file handling, which lead to incorrect
\r
1399 permissions for stats, manifest and ccache.conf files in the cache.
\r
1404 <code>CACHEDIR.TAG</code> files are now created in the [0-9a-f] subdirectories so that
\r
1405 ccache.conf is not lost in backups.
\r
1410 Made the default cache size suffix <code>G</code>, as previously documented.
\r
1415 <code>-fdiagnostics-color=auto</code> is now passed to the compiler even if stderr is
\r
1416 redirected. This fixes a problem when, for instance, a configure test probes
\r
1417 if the compiler (wrapped via ccache) supports <code>-fdiagnostics-color=auto</code>.
\r
1422 Added missing documentation for <code>max_files</code> and <code>max_size</code> configuration
\r
1430 <div class="sect1">
\r
1431 <h2 id="_ccache_3_2">ccache 3.2</h2>
\r
1432 <div class="sectionbody">
\r
1433 <div class="paragraph"><p>Release date: 2014-11-17</p></div>
\r
1434 <div class="sect2">
\r
1435 <h3 id="_new_features_and_improvements_6">New features and improvements</h3>
\r
1436 <div class="ulist"><ul>
\r
1439 Added support for configuring ccache via one or several configuration files
\r
1440 instead of via environment variables. Environment variables still have
\r
1441 priority but are no longer the recommended way of customizing ccache
\r
1442 behavior. See the manual for more information.
\r
1447 Added support for compiler error/warning messages with color.
\r
1452 Made creation of temporary directories and cache directories smarter to avoid
\r
1453 unnecessary <code>stat</code> calls.
\r
1458 Improved efficiency of the algorithm that scans for <code>__DATE_</code> and <code>__TIME__</code>
\r
1459 tokens in the hashed source code.
\r
1464 Added support for several binaries (separated by space) in <code>CCACHE_PREFIX</code>.
\r
1469 The <code>-c</code> option is no longer passed to the preprocessor. This fixes problems
\r
1470 with clang and Solaris’s C++ compiler.
\r
1475 ccache no longer passes preprocessor options like <code>-D</code> and <code>-I</code> to the
\r
1476 compiler when compiling preprocessed output. This fixes warnings emitted by
\r
1482 Compiler options <code>-fprofile-generate</code>, <code>-fprofile-arcs</code>, <code>-fprofile-use</code> and
\r
1483 <code>-fbranch-probabilities</code> are now handled without bailing.
\r
1488 Added support for clang’s <code>--serialize-diagnostic</code> option, storing the
\r
1489 diagnostic file (<code>.dia</code>) in the cache.
\r
1494 Added support for precompiled headers when using clang.
\r
1499 Added support for clang <code>.pth</code> (pretokenized header) files.
\r
1504 Changed the <code>-x</code> language option to use the new objective C standard for GCC
\r
1510 On a cache miss, ccache now instructs the compiler to create the object file
\r
1511 at the real destination and then copies the file into the cache instead of
\r
1512 the other way around. This is needed to support compiler options like
\r
1513 <code>-fprofile-arcs</code> and <code>--serialize-diagnostics</code>.
\r
1518 ccache now checks that included files' ctimes aren’t too new. This check can
\r
1519 be turned off by adding <code>include_file_ctime</code> to the “ccache sloppiness”
\r
1525 Added possibility to get cache hits based on filename, size, mtime and ctime
\r
1526 only. On other words, source code files are not even read, only stat-ed. This
\r
1527 operation mode is opt-in by adding <code>file_stat_matches</code> to the “ccache
\r
1528 sloppiness” setting.
\r
1533 The filename part of options like <code>-Wp,-MDfilename</code> is no longer included in
\r
1534 the hash since the filename doesn’t have any bearing on the result.
\r
1539 Added a “read-only direct” configuration setting, which is like the
\r
1540 ordinary read-only setting except that ccache will only try to retrieve
\r
1541 results from the cache using the direct mode, not the preprocessor mode.
\r
1546 The display and interpretation of cache size has been changed to use SI
\r
1552 Default cache size is now 5 GB (was previously 1 GiB).
\r
1557 Added configuration option to set the compression level of compressed object
\r
1558 files in the cache.
\r
1563 Added support for <code>@file</code> and <code>-@file</code> arguments (reading options from a
\r
1569 <code>-Wl,</code> options are no longer included in the hash since they don’t affect
\r
1575 Bail out on too hard compiler option <code>-Wp,-P</code>.
\r
1580 Optimized MD4 calculation code on little-endian systems.
\r
1585 Various improvements and fixes on win32.
\r
1590 Improved logging to the ccache log file.
\r
1595 Added <code>--dump-manifest</code> command-line option for debugging purposes.
\r
1600 Added <code>--with-bundled-zlib</code> configure option.
\r
1605 Upgraded bundled zlib to version 1.2.8.
\r
1610 Improved <code>dev.mk</code> to be more platform independent.
\r
1615 Made the test suite work with clang and gcc-llvm on OS X.
\r
1620 Various other improvements of the test suite.
\r
1625 <div class="sect2">
\r
1626 <h3 id="_bug_fixes_15">Bug fixes</h3>
\r
1627 <div class="ulist"><ul>
\r
1630 Any previous <code>.stderr</code> is now removed from the cache when recaching.
\r
1635 Fixed an issue when handling the <code>-arch</code> compiler option with an argument.
\r
1640 Fixed race condition when creating the initial cache directory.
\r
1645 Fixed test suite failures when <code>CC</code> is a ccache-wrapped compiler.
\r
1652 <div class="sect1">
\r
1653 <h2 id="_ccache_3_1_12">ccache 3.1.12</h2>
\r
1654 <div class="sectionbody">
\r
1655 <div class="paragraph"><p>Release date: 2016-07-12</p></div>
\r
1656 <div class="sect2">
\r
1657 <h3 id="_bug_fixes_16">Bug fixes</h3>
\r
1658 <div class="ulist"><ul>
\r
1661 Fixed a bug where (due to ccache rewriting paths) the compiler could choose
\r
1662 incorrect include files if <code>CCACHE_BASEDIR</code> is used and the source file path
\r
1663 is absolute and is a symlink.
\r
1670 <div class="sect1">
\r
1671 <h2 id="_ccache_3_1_11">ccache 3.1.11</h2>
\r
1672 <div class="sectionbody">
\r
1673 <div class="paragraph"><p>Release date: 2015-03-07</p></div>
\r
1674 <div class="sect2">
\r
1675 <h3 id="_bug_fixes_17">Bug fixes</h3>
\r
1676 <div class="ulist"><ul>
\r
1679 Fixed bug which could result in false cache hits when source code contains
\r
1680 <code>'"'</code> followed by <code>" /*"</code> or <code>" //"</code> (with variations).
\r
1685 Made hash of cached result created with and without <code>CCACHE_CPP2</code> different.
\r
1686 This makes it possible to rebuild with <code>CCACHE_CPP2</code> set without having to
\r
1687 clear the cache to get new results.
\r
1692 Don’t try to reset a non-existing stats file. This avoids “No such file or
\r
1693 directory” messages in the ccache log when the cache directory doesn’t
\r
1701 <div class="sect1">
\r
1702 <h2 id="_ccache_3_1_10">ccache 3.1.10</h2>
\r
1703 <div class="sectionbody">
\r
1704 <div class="paragraph"><p>Release date: 2014-10-19</p></div>
\r
1705 <div class="sect2">
\r
1706 <h3 id="_new_features_and_improvements_7">New features and improvements</h3>
\r
1707 <div class="ulist"><ul>
\r
1710 Added support for the <code>-Xclang</code> compiler option.
\r
1715 Improved handling of exit code of internally executed processes.
\r
1720 Zero length object files in the cache are now rejected as invalid.
\r
1725 Bail out on option <code>-gsplit-dwarf</code> (since it produces multiple output files).
\r
1730 Compiler option <code>-fdebug-prefix-map</code> is now ignored (not part of the hash).
\r
1731 (The <code>-fdebug-prefix-map</code> option may be used in combination with
\r
1732 <code>CCACHE_BASEDIR</code> to reuse results across different directories.)
\r
1737 Added note in documentation that <code>--ccache-skip</code> currently does not mean
\r
1738 “don’t hash the following option”.
\r
1743 To enable support for precompiled headers (PCH), <code>CCACHE_SLOPPINESS</code> now also
\r
1744 needs to include the new <code>pch_defines</code> sloppiness. This is because ccache
\r
1745 can’t detect changes in the source code when only defined macros have been
\r
1751 Stale files in the internal temporary directory (<code><ccache_dir>/tmp</code>) are now
\r
1752 cleaned up if they are older than one hour.
\r
1757 <div class="sect2">
\r
1758 <h3 id="_bug_fixes_18">Bug fixes</h3>
\r
1759 <div class="ulist"><ul>
\r
1762 Fixed path canonicalization in <code>make_relative_path()</code> when path doesn’t
\r
1768 Fixed bug in <code>common_dir_prefix_length()</code>. This corrects the <code>CCACHE_BASEDIR</code>
\r
1774 ccache no longer tries to create the cache directory when <code>CCACHE_DISABLE</code> is
\r
1780 Fixed bug when reading manifests with a very large number of file info
\r
1786 Fixed problem with logging of current working directory.
\r
1793 <div class="sect1">
\r
1794 <h2 id="_ccache_3_1_9">ccache 3.1.9</h2>
\r
1795 <div class="sectionbody">
\r
1796 <div class="paragraph"><p>Release date: 2013-01-06</p></div>
\r
1797 <div class="sect2">
\r
1798 <h3 id="_bug_fixes_19">Bug fixes</h3>
\r
1799 <div class="ulist"><ul>
\r
1802 The EAGAIN signal is now handled correctly when emitting cached stderr
\r
1803 output. This fixes a problem triggered by large error outputs from the
\r
1809 Subdirectories in the cache are no longer created in read-only mode.
\r
1814 Fixed so that ccache’s log file descriptor is not made available to the
\r
1820 Improved error reporting when failing to create temporary stdout/stderr files
\r
1821 when executing the compiler.
\r
1826 Disappearing temporary stdout/stderr files are now handled gracefully.
\r
1831 <div class="sect2">
\r
1832 <h3 id="_other">Other</h3>
\r
1833 <div class="ulist"><ul>
\r
1836 Fixed test suite to work on ecryptfs.
\r
1843 <div class="sect1">
\r
1844 <h2 id="_ccache_3_1_8">ccache 3.1.8</h2>
\r
1845 <div class="sectionbody">
\r
1846 <div class="paragraph"><p>Release date: 2012-08-11</p></div>
\r
1847 <div class="sect2">
\r
1848 <h3 id="_new_features_and_improvements_8">New features and improvements</h3>
\r
1849 <div class="ulist"><ul>
\r
1852 Made paths to dependency files relative in order to increase cache hits.
\r
1857 Added work-around to make ccache work with buggy GCC 4.1 when creating a
\r
1858 pre-compiled header.
\r
1863 Clang plugins are now hashed to catch plugin upgrades.
\r
1868 <div class="sect2">
\r
1869 <h3 id="_bug_fixes_20">Bug fixes</h3>
\r
1870 <div class="ulist"><ul>
\r
1873 Fixed crash when the current working directory has been removed.
\r
1878 Fixed crash when stderr is closed.
\r
1883 Corrected a corner case when parsing backslash escapes in string
\r
1889 Paths are now correctly canonicalized when computing paths relative to the
\r
1895 <div class="sect2">
\r
1896 <h3 id="_other_2">Other</h3>
\r
1897 <div class="ulist"><ul>
\r
1900 Made git version macro work when compiling outside of the source directory.
\r
1905 Fixed <code>static_assert</code> macro definition clash with GCC 4.7.
\r
1912 <div class="sect1">
\r
1913 <h2 id="_ccache_3_1_7">ccache 3.1.7</h2>
\r
1914 <div class="sectionbody">
\r
1915 <div class="paragraph"><p>Release date: 2012-01-08</p></div>
\r
1916 <div class="sect2">
\r
1917 <h3 id="_bug_fixes_21">Bug fixes</h3>
\r
1918 <div class="ulist"><ul>
\r
1921 Non-writable <code>CCACHE_DIR</code> is now handled gracefully when <code>CCACHE_READONLY</code> is
\r
1927 Made failure to create files (typically due to bad directory permissions) in
\r
1928 the cache directory fatal. Previously, such failures were silently and
\r
1929 erroneously flagged as "compiler produced stdout".
\r
1934 Both the <code>-specs=file</code> and <code>--specs=file</code> forms are now recognized.
\r
1939 Added recognition and hashing of GCC plugins specified with <code>-fplugin=file</code>.
\r
1944 <code>CCACHE_COMPILERCHECK</code> now also determines how to hash explicit specs files
\r
1945 (<code>-specs=file</code>).
\r
1950 Added <code>CPATH</code>, <code>C_INCLUDE_PATH</code> and similar environment variables to the hash
\r
1951 to avoid false cache hits when such variables have changed.
\r
1956 Corrected log message when unify mode is enabled.
\r
1961 Reverted the GCC bug compatibility introduced in ccache 3.1.5 for <code>-MT</code>/<code>-MQ</code>
\r
1962 options with concatenated arguments. (The bug is fixed in recent GCC
\r
1968 <div class="sect2">
\r
1969 <h3 id="_other_3">Other</h3>
\r
1970 <div class="ulist"><ul>
\r
1973 Corrected license header for <code>mdfour.c</code>.
\r
1978 Improved documentation on how to fix bad object files in the cache.
\r
1985 <div class="sect1">
\r
1986 <h2 id="_ccache_3_1_6">ccache 3.1.6</h2>
\r
1987 <div class="sectionbody">
\r
1988 <div class="paragraph"><p>Release date: 2011-08-21</p></div>
\r
1989 <div class="sect2">
\r
1990 <h3 id="_new_features_and_improvements_9">New features and improvements</h3>
\r
1991 <div class="ulist"><ul>
\r
1994 Rewrite argument to <code>--sysroot</code> if <code>CCACHE_BASEDIR</code> is used.
\r
1999 <div class="sect2">
\r
2000 <h3 id="_bug_fixes_22">Bug fixes</h3>
\r
2001 <div class="ulist"><ul>
\r
2004 Don’t crash if <code>getcwd()</code> fails.
\r
2009 Fixed alignment of “called for preprocessing” counter.
\r
2016 <div class="sect1">
\r
2017 <h2 id="_ccache_3_1_5">ccache 3.1.5</h2>
\r
2018 <div class="sectionbody">
\r
2019 <div class="paragraph"><p>Release date: 2011-05-29</p></div>
\r
2020 <div class="sect2">
\r
2021 <h3 id="_new_features_and_improvements_10">New features and improvements</h3>
\r
2022 <div class="ulist"><ul>
\r
2025 Added a new statistics counter named “called for preprocessing”.
\r
2030 The original command line is now logged to the file specified with
\r
2031 <code>CCACHE_LOGFILE</code>.
\r
2036 Improved error logging when system calls fail.
\r
2041 Added support for rewriting absolute paths in <code>-F</code>/<code>-iframework</code> GCC
\r
2047 Improved order of statistics counters in <code>ccache -s</code> output.
\r
2052 <div class="sect2">
\r
2053 <h3 id="_bug_fixes_23">Bug fixes</h3>
\r
2054 <div class="ulist"><ul>
\r
2057 The <code>-MF</code>/<code>-MT</code>/<code>-MQ</code> options with concatenated argument are now handled
\r
2058 correctly when they are last on the command line.
\r
2063 ccache is now bug compatible with GCC for the <code>-MT</code>/<code>-MQ</code> options with
\r
2064 concatenated arguments.
\r
2069 Fixed a minor memory leak.
\r
2074 Systems that lack (and don’t need to be linked with) libm are now supported.
\r
2081 <div class="sect1">
\r
2082 <h2 id="_ccache_3_1_4">ccache 3.1.4</h2>
\r
2083 <div class="sectionbody">
\r
2084 <div class="paragraph"><p>Release date: 2011-01-09</p></div>
\r
2085 <div class="sect2">
\r
2086 <h3 id="_bug_fixes_24">Bug fixes</h3>
\r
2087 <div class="ulist"><ul>
\r
2090 Made a work-around for a bug in <code>gzputc()</code> in zlib 1.2.5.
\r
2095 Corrupt manifest files are now removed so that they won’t block direct mode
\r
2101 ccache now copes with file systems that don’t know about symbolic links.
\r
2106 The file handle in now correctly closed on write error when trying to create
\r
2114 <div class="sect1">
\r
2115 <h2 id="_ccache_3_1_3">ccache 3.1.3</h2>
\r
2116 <div class="sectionbody">
\r
2117 <div class="paragraph"><p>Release date: 2010-11-28</p></div>
\r
2118 <div class="sect2">
\r
2119 <h3 id="_bug_fixes_25">Bug fixes</h3>
\r
2120 <div class="ulist"><ul>
\r
2123 The -MFarg, -MTarg and -MQarg compiler options (i.e, without space between
\r
2124 option and argument) are now handled correctly.
\r
2129 <div class="sect2">
\r
2130 <h3 id="_other_4">Other</h3>
\r
2131 <div class="ulist"><ul>
\r
2134 Portability fixes for HP-UX 11.00 and other esoteric systems.
\r
2141 <div class="sect1">
\r
2142 <h2 id="_ccache_3_1_2">ccache 3.1.2</h2>
\r
2143 <div class="sectionbody">
\r
2144 <div class="paragraph"><p>Release date: 2010-11-21</p></div>
\r
2145 <div class="sect2">
\r
2146 <h3 id="_bug_fixes_26">Bug fixes</h3>
\r
2147 <div class="ulist"><ul>
\r
2150 Bail out on too hard compiler options <code>-fdump-*</code>.
\r
2155 NULL return values from malloc/calloc of zero bytes are now handled
\r
2161 Fixed issue when parsing precompiler output on AIX.
\r
2166 <div class="sect2">
\r
2167 <h3 id="_other_5">Other</h3>
\r
2168 <div class="ulist"><ul>
\r
2171 Improved documentation on which information is included in the hash sum.
\r
2176 Made the “too new header file” test case work on file systems with
\r
2177 unsynchronized clocks.
\r
2182 The test suite now also works on systems that lack a /dev/zero.
\r
2189 <div class="sect1">
\r
2190 <h2 id="_ccache_3_1_1">ccache 3.1.1</h2>
\r
2191 <div class="sectionbody">
\r
2192 <div class="paragraph"><p>Release date: 2010-11-07</p></div>
\r
2193 <div class="sect2">
\r
2194 <h3 id="_bug_fixes_27">Bug fixes</h3>
\r
2195 <div class="ulist"><ul>
\r
2198 ccache now falls back to preprocessor mode when a non-regular include file
\r
2199 (device, socket, etc) has been detected so that potential hanging due to
\r
2200 blocking reads is avoided.
\r
2205 CRC errors are now detected when decompressing compressed files in the cache.
\r
2210 Fixed potential object file corruption race on NFS.
\r
2215 Minor documentation corrections.
\r
2220 Fixed configure detection of ar.
\r
2225 ccache development version (set by dev.mk) now works with gits whose
\r
2226 <code>describe</code> command doesn’t understand <code>--dirty</code>.
\r
2231 <div class="sect2">
\r
2232 <h3 id="_other_6">Other</h3>
\r
2233 <div class="ulist"><ul>
\r
2236 Minor debug log message improvements.
\r
2243 <div class="sect1">
\r
2244 <h2 id="_ccache_3_1">ccache 3.1</h2>
\r
2245 <div class="sectionbody">
\r
2246 <div class="paragraph"><p>Release date: 2010-09-16</p></div>
\r
2247 <div class="sect2">
\r
2248 <h3 id="_new_features_and_improvements_11">New features and improvements</h3>
\r
2249 <div class="ulist"><ul>
\r
2252 Added support for hashing the output of a custom command (e.g. <code>%compiler%
\r
2253 --version</code>) to identify the compiler instead of stat-ing or hashing the
\r
2254 compiler binary. This can improve robustness when the compiler (as seen by
\r
2255 ccache) actually isn’t the real compiler but another compiler wrapper.
\r
2260 Added support for caching compilations that use precompiled headers. (See the
\r
2261 manual for important instructions regarding this.)
\r
2266 Locking of the files containing statistics counters is now done using
\r
2267 symlinks instead of POSIX locks. This should make ccache behave a lot better
\r
2268 on file systems where POSIX locks are slow or broken (e.g. NFS on some
\r
2274 Manifest files are now updated without the need of taking locks.
\r
2279 Updates of statistics counters are now always done in one of the sub-level
\r
2280 statistics files. This reduces lock contention, which especially improves
\r
2281 performance on slow NFS mounts.
\r
2286 Reading and writing of statistics counters has been made forward-compatible
\r
2287 (unknown counters are retained).
\r
2292 Files are now read without using <code>mmap()</code>. This has two benefits: it’s more
\r
2293 robust against file changes during reading and it improves performance on
\r
2294 poor systems where <code>mmap()</code> doesn’t use the disk cache.
\r
2299 Added <code>.cp</code> and <code>.CP</code> as known C++ suffixes.
\r
2309 Added <code>-install_name</code> as an option known to take an argument. (This improves
\r
2310 statistics when using the Darwin linker.)
\r
2315 <div class="sect2">
\r
2316 <h3 id="_bug_fixes_28">Bug fixes</h3>
\r
2317 <div class="ulist"><ul>
\r
2320 Non-fatal error messages are now never printed to stderr but logged instead.
\r
2325 Fixed a bug affecting failing commands when <code>--ccache-skip</code> is used.
\r
2330 Made <code>--ccache-skip</code> work for all options.
\r
2335 EINTR is now handled correctly.
\r
2340 <div class="sect2">
\r
2341 <h3 id="_other_7">Other</h3>
\r
2342 <div class="ulist"><ul>
\r
2345 Work on porting ccache to win32 (native), mostly done by Ramiro Polla. The
\r
2346 port is not yet finished, but will hopefully be complete in some subsequent
\r
2352 Added a <code>--nostats</code> flag to the performance benchmark program.
\r
2357 Made the performance benchmark program more accurate when measuring cache
\r
2363 Added a new test framework for unit tests written in C.
\r
2368 Got rid of <code>configure-dev</code>; dev mode is now given by <code>dev.mk.in</code> presence.
\r
2373 Improved documentation on how to combine ccache with other compiler wrappers
\r
2374 (like <code>distcc</code>).
\r
2379 New <code>LICENSE.txt</code> file with licensing and copyright details about bundled
\r
2385 New <code>AUTHORS.txt</code> file with a list of ccache contributors.
\r
2390 New <code>HACKING.txt</code> file with some notes about ccache code conventions.
\r
2397 <div class="sect1">
\r
2398 <h2 id="_ccache_3_0_1">ccache 3.0.1</h2>
\r
2399 <div class="sectionbody">
\r
2400 <div class="paragraph"><p>Release date: 2010-07-15</p></div>
\r
2401 <div class="sect2">
\r
2402 <h3 id="_bug_fixes_29">Bug fixes</h3>
\r
2403 <div class="ulist"><ul>
\r
2406 The statistics counter “called for link” is now correctly updated when
\r
2407 linking with a single object file.
\r
2412 Fixed a problem with out-of-source builds.
\r
2419 <div class="sect1">
\r
2420 <h2 id="_ccache_3_0">ccache 3.0</h2>
\r
2421 <div class="sectionbody">
\r
2422 <div class="paragraph"><p>Release date: 2010-06-20</p></div>
\r
2423 <div class="sect2">
\r
2424 <h3 id="_general">General</h3>
\r
2425 <div class="ulist"><ul>
\r
2428 ccache is now licensed under the GNU General Public License (GPL) version 3
\r
2434 <div class="sect2">
\r
2435 <h3 id="_upgrade_notes">Upgrade notes</h3>
\r
2436 <div class="ulist"><ul>
\r
2439 The way the hashes are calculated has changed, so you won’t get cache hits
\r
2440 for compilation results stored by older ccache versions. Because of this, you
\r
2441 might as well clear the old cache directory with <code>ccache --clear</code> if you
\r
2442 want, unless you plan to keep using an older ccache version.
\r
2447 <div class="sect2">
\r
2448 <h3 id="_new_features_and_improvements_12">New features and improvements</h3>
\r
2449 <div class="ulist"><ul>
\r
2452 ccache now has a “direct mode” where it computes a hash of the source code
\r
2453 (including all included files) and compiler options without running the
\r
2454 preprocessor. By not running the preprocessor, CPU usage is reduced; the
\r
2455 speed is somewhere between 1 and 5 times that of ccache running in
\r
2456 traditional mode, depending on the circumstances. The speedup will be higher
\r
2457 when I/O is fast (e.g., when files are in the disk cache). The direct mode
\r
2458 can be disabled by setting <code>CCACHE_NODIRECT</code>.
\r
2463 Support has been added for rewriting absolute paths to relative paths when
\r
2464 hashing, in order to increase cache hit rate when building the same source
\r
2465 code in different directories even when compiling with <code>-g</code> and when using
\r
2466 absolute include directory paths. This is done by setting the
\r
2467 <code>CCACHE_BASEDIR</code> environment variable to an absolute path that specifies
\r
2468 which paths to rewrite.
\r
2473 Object files are now optionally stored compressed in the cache. The runtime
\r
2474 cost is negligible, and more files will fit in the ccache directory and in
\r
2475 the disk cache. Set <code>CCACHE_COMPRESS</code> to enable object file compression. Note
\r
2476 that you can’t use compression in combination with the hard link feature.
\r
2481 A <code>CCACHE_COMPILERCHECK</code> option has been added. This option tells ccache what
\r
2482 compiler-identifying information to hash to ensure that results retrieved
\r
2483 from the cache are accurate. Possible values are: none (don’t hash anything),
\r
2484 mtime (hash the compiler’s mtime and size) and content (hash the content of
\r
2485 the compiler binary). The default is mtime.
\r
2490 It is now possible to specify extra files whose contents should be included
\r
2491 in the hash sum by setting the <code>CCACHE_EXTRAFILES</code> option.
\r
2496 Added support for Objective-C and Objective-C++. The statistics counter
\r
2497 “not a C/C++ file” has been renamed to “unsupported source language”.
\r
2502 Added support for the <code>-x</code> compiler option.
\r
2507 Added support for long command-line options.
\r
2512 A <code>CACHEDIR.TAG</code> file is now created in the cache directory. See
\r
2513 <a href="http://www.brynosaurus.com/cachedir/">http://www.brynosaurus.com/cachedir/</a>.
\r
2518 Messages printed to the debug log (specified by <code>CCACHE_LOGFILE</code>) have been
\r
2524 You can relax some checks that ccache does in direct mode by setting
\r
2525 <code>CCACHE_SLOPPINESS</code>. See the manual for more information.
\r
2530 <code>CCACHE_TEMPDIR</code> no longer needs to be on the same filesystem as
\r
2531 <code>CCACHE_DIR</code>.
\r
2536 The default value of <code>CCACHE_TEMPDIR</code> has been changed to <code>$CCACHE_DIR/tmp</code>
\r
2537 to avoid cluttering the top directory.
\r
2542 Temporary files that later will be moved into the cache are now created in
\r
2543 the cache directory they will end up in. This makes ccache more friendly to
\r
2544 Linux’s directory layout.
\r
2549 Improved the test suite and added tests for most of the new functionality.
\r
2550 It’s now also possible to specify a subset of tests to run.
\r
2555 Standard error output from the compiler is now only stored in the cache if
\r
2556 it’s non-empty.
\r
2561 If the compiler produces no object file or an empty object file, but gives a
\r
2562 zero exit status (could be due to a file system problem, a buggy program
\r
2563 specified by <code>CCACHE_PREFIX</code>, etc.), ccache copes with it properly.
\r
2568 Added <code>installcheck</code> and <code>distcheck</code> make targets.
\r
2573 Clarified cache size limit options' and cleanup semantics.
\r
2578 Improved display of cache max size values.
\r
2583 The following options are no longer hashed in the preprocessor mode:
\r
2584 <code>-imacros</code>, <code>-imultilib</code>, <code>-iprefix</code>, <code>-iquote</code>, <code>-isysroot</code>, <code>-iwithprefix</code>,
\r
2585 <code>-iwithprefixbefore</code>, <code>-nostdinc</code>, <code>-nostdinc++</code> and <code>-U</code>.
\r
2590 <div class="sect2">
\r
2591 <h3 id="_bug_fixes_30">Bug fixes</h3>
\r
2592 <div class="ulist"><ul>
\r
2595 Various portability improvements.
\r
2600 Improved detection of home directory.
\r
2605 User-defined <code>CPPFLAGS</code> and <code>LDFLAGS</code> are now respected in the Makefile.
\r
2615 Computation of the hash sum has been improved to decrease the risk of hash
\r
2616 collisions. For instance, the compiler options <code>-X -Y</code> and <code>-X-Y</code> previously
\r
2617 contributed equally to the hash sum.
\r
2622 Bail out on too hard compiler options <code>--coverage</code>, <code>-fprofile-arcs</code>,
\r
2623 <code>-fprofile-generate</code>, <code>-fprofile-use</code>, <code>-frepo</code>, <code>-ftest-coverage</code> and
\r
2624 <code>-save-temps</code>. Also bail out on <code>@file</code> style options.
\r
2629 Errors when using multiple <code>-arch</code> compiler options are now noted as
\r
2630 “unsupported compiler option”.
\r
2635 <code>-MD</code>/<code>-MMD</code> options without <code>-MT</code>/<code>-MF</code> are now handled correctly.
\r
2640 The <code>-finput-charset</code> option is now handled correctly.
\r
2645 Added support for <code>-Wp,-MD</code> and <code>-Wp,-MMD</code> options.
\r
2650 The compiler options <code>-Xassembler</code>, <code>-b</code>, <code>-G</code> and <code>-V</code> are now correctly
\r
2651 recognized as taking an argument.
\r
2656 Debug information containing line numbers of predefined and command-line
\r
2657 macros (enabled with the compiler option <code>-g3</code>) will now be correct.
\r
2662 Corrected LRU cleanup handling of object files.
\r
2667 <code>utimes()</code> is now used instead of <code>utime()</code> when available.
\r
2672 Non-writable cache directories are now handled gracefully.
\r
2677 Corrected documentation about sharing the cache directory.
\r
2682 Fixed compilation warnings from GCC 4.3.
\r
2687 The command specified by <code>CCACHE_PREFIX</code> is no longer part of the hash.
\r
2692 Fixed bad memory access spotted by Valgrind.
\r
2697 Fixed a bug in <code>x_realloc</code>.
\r
2702 Freed memory is no longer referenced when compiling a <code>.i</code>/<code>.ii</code> file and
\r
2703 falling back to running the real compiler.
\r
2708 The test suite is now immune to external values of the <code>CCACHE_*</code> environment
\r
2714 Improved detection of recursive invocation.
\r
2719 The ccache binary is now not unconditionally stripped when installing.
\r
2724 Statistics counters are now correctly updated for -E option failures and
\r
2733 <div id="footnotes"><hr /></div>
\r
2735 <div id="footer-text">
\r
2736 Version 3.3.4<br />
\r
2738 2017-02-17 22:28:35 CET
\r