DevUt opened a new issue, #10038:
URL: https://github.com/apache/incubator-gluten/issues/10038

   ### Problem description
   
   I'm trying to build using  the command `./dev/buildbundle-veloxbe.sh` 
   But it fails when building folly.
   
   
   ### System information
   
   Gluten Version: 1.5.0-SNAPSHOT
   Commit: 98850be47da803638a1f57fd1b11cf20d98f04d0
   CMake Version: 3.27.5
   System: Linux-6.8.12+
   Arch: x86_64
   CPU Name: Model name:                           Intel(R) Xeon(R) Silver 4216 
CPU @ 2.10GHz
   C++ Compiler: /usr/bin/c++
   C++ Compiler Version: 13.3.0
   C Compiler: /usr/bin/cc
   C Compiler Version: 13.3.0
   CMake Prefix Path: 
/usr/local;/usr;/;/usr/local;/usr/local;/usr/X11R6;/usr/pkg;/opt
   
   
   ### CMake log
   
   ```bash
   FAILED: 
CMakeFiles/folly_base.dir/folly/io/async/IoUringZeroCopyBufferPool.cpp.o        
                                                                      
   /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_L
   IB -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=\"/home/ub-11/devut/gluten/ep/build-velox/build/velox_ep/deps-download/folly:/home/ub-11/devut/gluten/ep/build-velox/build/velox_ep/deps-download/folly/_build\"
 -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT 
-I/home/ub-11/devut/gluten/ep/build
   -velox/build/velox_ep/deps-download/folly 
-I/home/ub-11/devut/gluten/ep/build-velox/build/velox_ep/deps-download/folly/_build
 -I/usr/include/libdwarf -I/usr/i
   nclude/libiberty -mavx2 -mfma -mavx -mf16c -mlzcnt  -mbmi2 
-DFOLLY_CFG_NO_COROUTINES -std=gnu++17 -fPIC -fcoroutines -g 
-finput-charset=UTF-8 -fsigned-char -W
   all -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare 
-Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wno-psabi 
-Wshadow-compatible-l
   ocal -Wno-noexcept-type -faligned-new -fopenmp -MD -MT 
CMakeFiles/folly_base.dir/folly/io/async/IoUringZeroCopyBufferPool.cpp.o -MF 
CMakeFiles/folly_base.dir/folly/io/async/IoUringZeroCopyBufferPool.cpp.o.d -o 
CMakeFiles/folly_base.dir/folly/io/async/IoUringZeroCopyBufferPool.cpp.o -c 
/home/ub-11/devut/gluten/ep/bu
   
ild-velox/build/velox_ep/deps-download/folly/folly/io/async/IoUringZeroCopyBufferPool.cpp
                                                                     
   In file included from 
/home/ub-11/devut/gluten/ep/build-velox/build/velox_ep/deps-download/folly/folly/io/async/IoUringZeroCopyBufferPool.cpp:17:
             
   
/home/ub-11/devut/gluten/ep/build-velox/build/velox_ep/deps-download/folly/folly/io/async/IoUringZeroCopyBufferPool.h:53:38:
 error: ‘io_uring_zcrx_cqe’ does n
   ot name a type; did you mean ‘io_uring_cqe’?                                 
                                                                                
    53 |       const io_uring_cqe* cqe, const io_uring_zcrx_cqe* rcqe) 
noexcept;                                                                       
        
         |                                      ^~~~~~~~~~~~~~~~~               
                                                                                
       |                                      io_uring_cqe                      
                                                                               
   
/home/ub-11/devut/gluten/ep/build-velox/build/velox_ep/deps-download/folly/folly/io/async/IoUringZeroCopyBufferPool.h:88:3:
 error: ‘io_uring_zcrx_rq’ does not
    name a type; did you mean ‘io_uring_cq’?                                    
                                                                                
 
      88 |   io_uring_zcrx_rq rqRing_;                                          
                                                                                
 
         |   ^~~~~~~~~~~~~~~~                                                   
                                                                                
 
         |   io_uring_cq                                                        
                                                                                
 
   
/home/ub-11/devut/gluten/ep/build-velox/build/velox_ep/deps-download/folly/folly/io/async/IoUringZeroCopyBufferPool.cpp:
 In function ‘size_t folly::{anonymous
   }::getRefillRingSize(size_t)’:                                               
                                                                                
 
   
/home/ub-11/devut/gluten/ep/build-velox/build/velox_ep/deps-download/folly/folly/io/async/IoUringZeroCopyBufferPool.cpp:32:36:
 error: ‘io_uring_zcrx_rqe’ was 
   not declared in this scope; did you mean ‘io_uring_wait_cqe’?                
                                                                                
 
      32 |   size_t size = rqEntries * sizeof(io_uring_zcrx_rqe);               
                                                                                
 
         |                                    ^~~~~~~~~~~~~~~~~                 
                                                                                
 
         |                                    io_uring_wait_cqe
   ```


-- 
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