PengleiShi commented on issue #6662:
URL: 
https://github.com/apache/incubator-gluten/issues/6662#issuecomment-2264747500

   @PHILO-HE I use main branch .  I added `-DFOLLY_HAVE_SO_TIMESTAMPING=0` in 
make command, the problem above has been solved but occured another failure 
   ```
   [320/330] Building CXX object 
folly/CMakeFiles/follybenchmark.dir/Benchmark.cpp.o
   FAILED: folly/CMakeFiles/follybenchmark.dir/Benchmark.cpp.o
   /opt/rh/devtoolset-9/root/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK 
-DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB 
-DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB 
-DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB 
-DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK 
-DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB 
-DFOLLY_XLOG_STRIP_PREFIXES=\"/tmp/velox-deps/folly:/tmp/velox-deps/folly/_build\"
 -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/tmp/velox-deps/folly 
-I/tmp/velox-deps/folly/_build -march=native -std=c++17 -mno-avx512f -mbmi2 
-DFOLLY_HAVE_SO_TIMESTAMPING=0 -std=gnu++17 -fPIC -g -finput-charset=UTF-8 
-fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations 
-Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result 
-Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -pthread 
-MD -MT folly/CMakeFiles/follybenchmark.dir/Benchmark.cpp.o -MF 
folly/CMakeFiles/foll
 ybenchmark.dir/Benchmark.cpp.o.d -o 
folly/CMakeFiles/follybenchmark.dir/Benchmark.cpp.o -c 
/tmp/velox-deps/folly/folly/Benchmark.cpp
   /tmp/velox-deps/folly/folly/Benchmark.cpp: In member function 'void 
folly::{anonymous}::BenchmarkResultsPrinter::print(const 
std::vector<folly::detail::BenchmarkResult>&)':
   /tmp/velox-deps/folly/folly/Benchmark.cpp:511:28: error: expected ')' before 
'PRId64'
     511 |               printf("  %*" PRId64, int(name.length()), ptr->value);
         |                     ~      ^~~~~~~
         |                            )
   /tmp/velox-deps/folly/folly/Benchmark.cpp:511:26: warning: conversion lacks 
type at end of format [-Wformat=]
     511 |               printf("  %*" PRId64, int(name.length()), ptr->value);
         |                          ^
   /tmp/velox-deps/folly/folly/Benchmark.cpp:511:22: warning: too many 
arguments for format [-Wformat-extra-args]
     511 |               printf("  %*" PRId64, int(name.length()), ptr->value);
         |                      ^~~~~~
   ```
   Alos when build fooly. I will setup a clean docker env to build.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to