Imported Upstream version 3.2.9 upstream/3.2.9
authorJinWang An <jinwang.an@samsung.com>
Tue, 3 Aug 2021 07:17:35 +0000 (16:17 +0900)
committerJinWang An <jinwang.an@samsung.com>
Tue, 3 Aug 2021 07:17:35 +0000 (16:17 +0900)
AUTHORS.html
INSTALL.html
LICENSE.html
MANUAL.html
NEWS.html
NEWS.txt
README.html
ccache.1
ccache.c
version.c

index e9fe924a50c5eaf0b0ea10c47f7ff7e086e516c6..fec48b66cf54381c4527f33c4cba628422ecf041 100644 (file)
@@ -734,7 +734,7 @@ asciidoc.install(2);
 <body class="article">\r
 <div id="header">\r
 <h1>ccache authors</h1>\r
-<span id="revnumber">version 3.2.8</span>\r
+<span id="revnumber">version 3.2.9</span>\r
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
@@ -1020,9 +1020,9 @@ Yiding Jia &lt;<a href="mailto:yiding@fb.com">yiding@fb.com</a>&gt;
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Version 3.2.8<br />\r
+Version 3.2.9<br />\r
 Last updated\r
- 2016-09-07 19:57:33 CEST\r
+ 2016-09-28 21:28:19 CEST\r
 </div>\r
 </div>\r
 </body>\r
index 2e2c5ccd2f073939105fc6a5131869caf5d59e85..9a3eb992b2098653964227114123d0e6320c900a 100644 (file)
@@ -734,7 +734,7 @@ asciidoc.install(2);
 <body class="article">\r
 <div id="header">\r
 <h1>ccache installation</h1>\r
-<span id="revnumber">version 3.2.8</span>\r
+<span id="revnumber">version 3.2.9</span>\r
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
@@ -848,9 +848,9 @@ above.</p></div>
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Version 3.2.8<br />\r
+Version 3.2.9<br />\r
 Last updated\r
- 2016-09-07 19:57:33 CEST\r
+ 2016-09-28 21:28:19 CEST\r
 </div>\r
 </div>\r
 </body>\r
index cdf8b2dc8e21dbc4cf38b02630b27caccf4a01de..0195c5a902af86650feaa380e15540d9bec06e83 100644 (file)
@@ -734,7 +734,7 @@ asciidoc.install(2);
 <body class="article">\r
 <div id="header">\r
 <h1>ccache copyright and license</h1>\r
-<span id="revnumber">version 3.2.8</span>\r
+<span id="revnumber">version 3.2.9</span>\r
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
@@ -1205,9 +1205,9 @@ following license:</p></div>
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Version 3.2.8<br />\r
+Version 3.2.9<br />\r
 Last updated\r
- 2016-09-07 19:57:33 CEST\r
+ 2016-09-28 21:28:19 CEST\r
 </div>\r
 </div>\r
 </body>\r
index 6b86cdcc2b919e1c9911f26bd07edee0ec84d409..5ba98e9d90c4f0b8009cfe72855f71b8aa8a4510 100644 (file)
@@ -734,7 +734,7 @@ asciidoc.install(2);
 <body class="article">\r
 <div id="header">\r
 <h1>CCACHE(1)</h1>\r
-<span id="revnumber">version 3.2.8</span>\r
+<span id="revnumber">version 3.2.9</span>\r
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
@@ -2167,9 +2167,9 @@ maintained by Joel Rosdahl. See AUTHORS.txt or AUTHORS.html and
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Version 3.2.8<br />\r
+Version 3.2.9<br />\r
 Last updated\r
- 2016-09-07 19:57:33 CEST\r
+ 2016-09-28 21:28:19 CEST\r
 </div>\r
 </div>\r
 </body>\r
index 7c7caab5be792aed0f10d4795dcb1fff2874559a..54660702c0d068840fefe1fe8404560f9aa1a019 100644 (file)
--- a/NEWS.html
+++ b/NEWS.html
@@ -734,17 +734,33 @@ asciidoc.install(2);
 <body class="article">\r
 <div id="header">\r
 <h1>ccache news</h1>\r
-<span id="revnumber">version 3.2.8</span>\r
+<span id="revnumber">version 3.2.9</span>\r
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
 </div>\r
 </div>\r
 <div id="content">\r
-<div class="sect1">\r
-<h2 id="_ccache_3_2_8">ccache 3.2.8</h2>\r
+<div id="preamble">\r
 <div class="sectionbody">\r
+<div class="paragraph"><p>ccache 3.2.9</p></div>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><code>Release date: 2016-09-28\r
+\r
+Bug fixes\r
+~~~~~~~~~\r
+\r
+- Fixed a regression in ccache 3.2.8: ccache could get confused when using the\r
+  compiler option `-Wp,` to pass multiple options to the preprocessor,\r
+  resulting in missing dependency files from direct mode cache hits.\r
+\r
+\r
+ccache 3.2.8</code></pre>\r
+</div></div>\r
 <div class="paragraph"><p>Release date: 2016-09-07</p></div>\r
+</div>\r
+</div>\r
 <div class="sect2">\r
 <h3 id="_bug_fixes">Bug fixes</h3>\r
 <div class="ulist"><ul>\r
@@ -763,8 +779,6 @@ ccache now understands the undocumented <code>-coverage</code> (only one dash) G
 </li>\r
 </ul></div>\r
 </div>\r
-</div>\r
-</div>\r
 <div class="sect1">\r
 <h2 id="_ccache_3_2_7">ccache 3.2.7</h2>\r
 <div class="sectionbody">\r
@@ -2425,9 +2439,9 @@ Statistics counters are now correctly updated for -E option failures and
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Version 3.2.8<br />\r
+Version 3.2.9<br />\r
 Last updated\r
- 2016-09-07 20:51:39 CEST\r
+ 2016-09-28 22:19:01 CEST\r
 </div>\r
 </div>\r
 </body>\r
index 57451a490fdae93be98454b137d389358b4292ee..2cd2b32eb3fc94931ec8f8e956db187bfecce099 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -1,6 +1,17 @@
 ccache news
 ===========
 
+ccache 3.2.9
+----------------
+Release date: 2016-09-28
+
+Bug fixes
+~~~~~~~~~
+
+- Fixed a regression in ccache 3.2.8: ccache could get confused when using the
+  compiler option `-Wp,` to pass multiple options to the preprocessor,
+  resulting in missing dependency files from direct mode cache hits.
+
 
 ccache 3.2.8
 ------------
index 2fecc002536f27b1af8f06298cb08b3854421df5..9bff75d75b3779495c8a61b66af64afcd3dd0376 100644 (file)
@@ -734,7 +734,7 @@ asciidoc.install(2);
 <body class="article">\r
 <div id="header">\r
 <h1>ccache README</h1>\r
-<span id="revnumber">version 3.2.8</span>\r
+<span id="revnumber">version 3.2.9</span>\r
 <div id="toc">
   <div id="toctitle">Table of Contents</div>
   <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
@@ -830,9 +830,9 @@ Thiele&#8217;s &#8220;compilercache&#8221; (see <a href="http://www.erikyyy.de/c
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Version 3.2.8<br />\r
+Version 3.2.9<br />\r
 Last updated\r
- 2016-09-07 19:57:33 CEST\r
+ 2016-09-28 21:28:19 CEST\r
 </div>\r
 </div>\r
 </body>\r
index 1c12c5926da03e4f410d6e7bdc7dbcb02ea3227c..c3ea6d7bbde96a711c5a98168dec720d1f6057b5 100644 (file)
--- a/ccache.1
+++ b/ccache.1
@@ -2,12 +2,12 @@
 .\"     Title: ccache
 .\"    Author: [see the "Author" section]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 09/07/2016
+.\"      Date: 09/28/2016
 .\"    Manual: ccache Manual
-.\"    Source: ccache 3.2.8
+.\"    Source: ccache 3.2.9
 .\"  Language: English
 .\"
-.TH "CCACHE" "1" "09/07/2016" "ccache 3\&.2\&.8" "ccache Manual"
+.TH "CCACHE" "1" "09/28/2016" "ccache 3\&.2\&.9" "ccache Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
index 5635cc15da8929fc976a9583bbbd09c6ec99e447..ddbc822ec61b3113669ad5f71b995cb53c7d818c 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -2249,9 +2249,15 @@ cc_process_args(struct args *args, struct args **preprocessor_args,
                                output_dep = make_relative_path(x_strdup(argv[i] + 9));
                                args_add(dep_args, argv[i]);
                                continue;
-                       } else if (str_startswith(argv[i], "-Wp,-M")) {
-                               /* -MF, -MP, -MQ, -MT, etc. TODO: Make argument to MF/MQ/MT
-                                * relative. */
+                       } else if (str_eq(argv[i], "-Wp,-MP")
+                                  || (strlen(argv[i]) > 8
+                                      && str_startswith(argv[i], "-Wp,-M")
+                                      && argv[i][7] == ','
+                                      && (argv[i][6] == 'F'
+                                          || argv[i][6] == 'Q'
+                                          || argv[i][6] == 'T')
+                                      && !strchr(argv[i] + 8, ','))) {
+                               /* TODO: Make argument to MF/MQ/MT relative. */
                                args_add(dep_args, argv[i]);
                                continue;
                        } else if (conf->direct_mode) {
index fd3f0277585e10f489458766cf4fee2297f6059c..f959ae0e0522e2eab22ba3429fb6ba8b453ee513 100644 (file)
--- a/version.c
+++ b/version.c
@@ -1 +1 @@
-const char CCACHE_VERSION[] = "3.2.8";
+const char CCACHE_VERSION[] = "3.2.9";