tuhaihe commented on issue #1441:
URL: https://github.com/apache/cloudberry/issues/1441#issuecomment-3698380598

   New error under Rockylinux 8.10 /gcc\g++ 8.5:
   
   ```
   
   [ 80%] Building CXX object src/cpp/CMakeFiles/pax.dir/comm/bitmap.cc.o
   [ 81%] Building CXX object src/cpp/CMakeFiles/pax.dir/comm/bloomfilter.cc.o
   [ 82%] Building CXX object src/cpp/CMakeFiles/pax.dir/comm/byte_buffer.cc.o
   [ 82%] Building CXX object src/cpp/CMakeFiles/pax.dir/comm/fast_io.cc.o
   [ 83%] Building CXX object src/cpp/CMakeFiles/pax.dir/comm/guc.cc.o
   /home/gpadmin/cloudberry/contrib/pax_storage/src/cpp/comm/fast_io.cc: In 
member function ‘std::pair<int, int> pax::IOUringFastIO::read(int, 
std::vector<pax::IORequest>&, std::vector<bool>&)’:
   
   /home/gpadmin/cloudberry/contrib/pax_storage/src/cpp/comm/fast_io.cc:58:7: 
error: ‘uring_likely’ was not declared in this scope
   
      if (uring_likely(request.empty())) return {0, 0};
   
          ^~~~~~~~~~~~
   
   /home/gpadmin/cloudberry/contrib/pax_storage/src/cpp/comm/fast_io.cc: In 
member function ‘std::pair<int, int> pax::SyncFastIO::read(int, 
std::vector<pax::IORequest>&, std::vector<bool>&)’:
   
   /home/gpadmin/cloudberry/contrib/pax_storage/src/cpp/comm/fast_io.cc:117:16: 
error: ‘pread’ was not declared in this scope
   
          nbytes = pread(fd, (char *)req.buffer + bytes_read, req.size - 
bytes_read, req.offset + bytes_read);
   
                   ^~~~~
   
   /home/gpadmin/cloudberry/contrib/pax_storage/src/cpp/comm/fast_io.cc:117:16: 
note: suggested alternative: ‘read’
   
          nbytes = pread(fd, (char *)req.buffer + bytes_read, req.size - 
bytes_read, req.offset + bytes_read);
   
                   ^~~~~
   
                   read
   
   make[4]: *** [src/cpp/CMakeFiles/pax.dir/build.make:1182: 
src/cpp/CMakeFiles/pax.dir/comm/fast_io.cc.o] Error 1
   make[4]: *** Waiting for unfinished jobs....
   make[4]: Leaving directory 
'/home/gpadmin/cloudberry/contrib/pax_storage/build'
   make[3]: *** [CMakeFiles/Makefile2:254: src/cpp/CMakeFiles/pax.dir/all] 
Error 2
   make[3]: Leaving directory 
'/home/gpadmin/cloudberry/contrib/pax_storage/build'
   make[2]: *** [Makefile:136: all] Error 2
   make[2]: Leaving directory 
'/home/gpadmin/cloudberry/contrib/pax_storage/build'
   make[1]: *** [Makefile:69: build] Error 2
   make[1]: Leaving directory '/home/gpadmin/cloudberry/contrib/pax_storage'
   make: *** [GNUmakefile:32: all] Error 2
   make: Leaving directory '/home/gpadmin/cloudberry'
   ```


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