[llvm-bugs] [Bug 34145] New: Error building test suite with gcc: -Werror=date-time: no option -Wdate-time

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 10 08:54:10 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34145

            Bug ID: 34145
           Summary: Error building test suite with gcc: -Werror=date-time:
                    no option -Wdate-time
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: lit
          Assignee: unassignedbugs at nondot.org
          Reporter: anna.jiseung at gmail.com
                CC: daniel at zuster.org, llvm-bugs at lists.llvm.org

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170810/a3410ab5/attachment.html>


More information about the llvm-bugs mailing list