It seems to be a problem related to C++ compiler version. Can you check its version by using command: gcc -v
The fix should be a few lines of changes in root directory's/glog's CMakeLists.txt. Best, Jianqiao 2017-11-08 15:30 GMT-06:00 Om Jadhav <ojad...@wisc.edu>: > Hi Jianqiao, > > Please find the make error below: > > [ 7%] Completed 'libtcmalloc_ext' > [ 7%] Built target libtcmalloc_ext > [ 7%] Building CXX object third_party/googletest/ > googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o > [ 7%] Linking CXX static library libgtest.a > [ 7%] Built target gtest > [ 7%] Building CXX object third_party/gflags/CMakeFiles/ > gflags_nothreads-static.dir/src/gflags.cc.o > /home/omjadhav/quickstep/third_party/src/gflags/src/gflags.cc:443:5: > error: ‘int google::{anonymous}::FlagValue::ValueSize() const’ defined > but not used [-Werror=unused-function] > int FlagValue::ValueSize() const { > ^~~~~~~~~ > cc1plus: error: unrecognized command line option > ‘-Wno-return-type-c-linkage’ [-Werror] > cc1plus: all warnings being treated as errors > third_party/gflags/CMakeFiles/gflags_nothreads-static.dir/build.make:62: > recipe for target > 'third_party/gflags/CMakeFiles/gflags_nothreads-static.dir/src/gflags.cc.o' > failed > make[2]: *** > [third_party/gflags/CMakeFiles/gflags_nothreads-static.dir/src/gflags.cc.o] > Error 1 > CMakeFiles/Makefile2:939: recipe for target 'third_party/gflags/ > CMakeFiles/gflags_nothreads-static.dir/all' failed > make[1]: *** [third_party/gflags/CMakeFiles/gflags_nothreads-static.dir/all] > Error 2 > Makefile:138: recipe for target 'all' failed > make: *** [all] Error 2 > > > Thanks > Om > > On 06/11/17, 3:45 PM, "Jianqiao" <jianq...@apache.org> wrote: > > Hi Om, > > It seems that your "cmake" output is okay. Can you also provide the > "make" > error message? > > Best, > Jianqiao > > 2017-11-06 11:34 GMT-06:00 Harshad Deshmukh <hars...@cs.wisc.edu>: > > > Hi Om, > > > > What's your build setup? Did you download the prerequisites and > > initialized the git submodules? > > > > Get Outlook for Android<https://aka.ms/ghei36> > > > > ________________________________ > > From: Om Jadhav <ojad...@wisc.edu> > > Sent: Friday, November 3, 2017 3:42:05 PM > > To: dev@quickstep.incubator.apache.org > > Subject: cmake error > > > > Hello, > > > > I am trying to cmake, and I am getting most of the things failed for > the > > first time. And also the build is failing after this cmake. > > > > o/p: > > > > Vector copy elision level set to: single-relation selection > > -- git Version: v0.0.0 > > -- Version: 0.0.0 > > -- Performing Test HAVE_STD_REGEX > > -- Performing Test HAVE_STD_REGEX -- success > > -- Performing Test HAVE_GNU_POSIX_REGEX > > -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile > > -- Performing Test HAVE_POSIX_REGEX > > -- Performing Test HAVE_POSIX_REGEX -- success > > -- Performing Test HAVE_STEADY_CLOCK > > -- Performing Test HAVE_STEADY_CLOCK -- success > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext.gregs[REG_EIP] > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext.gregs[REG_RIP] > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > uc_mcontext.sc_ip > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext.uc_regs->gregs[PT_NIP] > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext.gregs[R15] > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext.arm_pc > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext.mc_eip > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext.mc_rip > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext.__gregs[_REG_EIP] > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext.__gregs[_REG_RIP] > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext->ss.eip > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext->__ss.__eip > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext->ss.rip > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext->__ss.__rip > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext->ss.srr0 > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > -- Checking program counter fetch from ucontext_t member: > > uc_mcontext->__ss.__srr0 > > -- Performing Test PC_FROM_UCONTEXT_COMPILES > > -- Performing Test PC_FROM_UCONTEXT_COMPILES - Failed > > CMake Warning at third_party/src/glog/CMakeLists.txt:185 (message): > > Unable to find program counter field in ucontext_t. GLOG signal > handler > > will not be able to report precise PC position. > > > > > > You appear to be building on a Linux system with HugeTLB support. To > take > > advantage of this feature, you will need to configure kernel support > for > > hugepages by setting /proc/sys/vm/nr_hugepages and/or > > /proc/sys/vm/nr_overcommit_hugepages as well as running quickstep > > executables under the group id specified in > /proc/sys/vm/hugetlb_shm_group > > (see Linux documentation on this feature for more details: > > https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt). You > can > > also safely ignore this, and quickstep will fall back to using > ordinary > > small pages for buffer pool memory. > > Using threading implementation: cpp11 > > -- Configuring done > > -- Generating done > > -- Build files have been written to: /home/omjadhav/quickstep/build > > > > Any help is really appreciated. > > > > Thanks, > > Om > > > > >