<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Error building test suite with gcc: -Werror=date-time: no option -Wdate-time"
   href="https://bugs.llvm.org/show_bug.cgi?id=34145">34145</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Error building test suite with gcc: -Werror=date-time: no option -Wdate-time
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Test Suite
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>lit
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>anna.jiseung@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>daniel@zuster.org, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After calling cmake, when I make from the build directory, I get the below
error messages in building the test suite. gcc and g++ is referenced in the
CMakeCache.txt file. A colleague has had the same issue trying to build with
gcc/g++.

This doesn't happen when I build after providing a path to clang/clang++ in
CMakeCache.txt file in the place of gcc/g++.

[miniGMG]$ make
Scanning dependencies of target fpcmp-host
[TEST_SUITE_HOST_CC] Building host executable fpcmp
Built target fpcmp-host
Scanning dependencies of target timeit-host
[TEST_SUITE_HOST_CC] Building host executable timeit
Built target timeit-host
Scanning dependencies of target timeit-target
Building C object tools/CMakeFiles/timeit-target.dir/timeit.c.o
cc1: error: -Werror=date-time: no option -Wdate-time
make[2]: *** [tools/CMakeFiles/timeit-target.dir/timeit.c.o] Error 1
make[1]: *** [tools/CMakeFiles/timeit-target.dir/all] Error 2
make: *** [all] Error 2</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>