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

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

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.
llvm-bugs mailing list

Reply via email to