You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by "tuhaihe (via GitHub)" <gi...@apache.org> on 2025/11/18 08:27:27 UTC
[I] [Bug] PAX build error on Rocky Linux 8 [cloudberry]
tuhaihe opened a new issue, #1441:
URL: https://github.com/apache/cloudberry/issues/1441
### Apache Cloudberry version
main
### What happened
```
build pax, USE_MANIFEST_API=OFF USE_PAX_CATALOG=ON
-- The C compiler identification is GNU 8.5.0
-- The CXX compiler identification is GNU 8.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- pg_config.h => /home/gpadmin/cloudberry/contrib/pax_storage/../../src/include/pg_config.h
-- Looking for USE_ASSERT_CHECKING
-- Looking for USE_ASSERT_CHECKING - not found
-- Looking for USE_LZ4
-- Looking for USE_LZ4 - found
-- PAX BUILD TYPE: Release
-- Looking for USE_VECTORIZATION
-- Looking for USE_VECTORIZATION - not found
-- Build pax without vectorization support
-- Found Protobuf: /usr/lib64/libprotobuf.so;-lpthread (found version "3.5.0")
-- Found Protobuf: /usr/lib64/libprotobuf.so;-lpthread (found suitable version "3.5.0", minimum required is "3.5.0")
-- Checking for module 'libzstd'
-- Found libzstd, version 1.4.4
-- tabulate version: v1.5.0
-- Using C++11
-- Configuring done (0.7s)
-- Generating done (0.0s)
-- Build files have been written to: /home/gpadmin/cloudberry/contrib/pax_storage/build
cd build && make -j8
make[2]: Entering directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
make[2]: warning: -j8 forced in submake: resetting jobserver mode.
make[3]: Entering directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
make[4]: Entering directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
make[4]: Entering directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
make[4]: Leaving directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
make[4]: Leaving directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
make[4]: Entering directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
[ 0%] Built target generate_protobuf
[ 1%] Building C object src/cpp/CMakeFiles/generate_sql_script_program.dir/__/__/tools/gen_sql.c.o
make[4]: Entering directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
make[4]: Leaving directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
make[4]: Entering directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
[ 2%] Building CXX object src/cpp/CMakeFiles/paxformat.dir/storage/proto/orc_proto.pb.cc.o
[ 2%] Building CXX object src/cpp/CMakeFiles/paxformat.dir/storage/proto/micro_partition_stats.pb.cc.o
[ 2%] Building CXX object src/cpp/CMakeFiles/paxformat.dir/storage/proto/pax.pb.cc.o
[ 3%] Building CXX object src/cpp/CMakeFiles/paxformat.dir/storage/columns/pax_column.cc.o
[ 4%] Building CXX object src/cpp/CMakeFiles/paxformat.dir/storage/columns/pax_column_traits.cc.o
[ 5%] Building CXX object src/cpp/CMakeFiles/paxformat.dir/storage/columns/pax_columns.cc.o
[ 5%] Building CXX object src/cpp/CMakeFiles/paxformat.dir/storage/columns/pax_compress.cc.o
cc1plus: error: -Werror=pessimizing-move: no option -Wpessimizing-move
cc1plus: error: -Werror=pessimizing-move: no option -Wpessimizing-move
cc1plus: error: -Werror=pessimizing-move: no option -Wpessimizing-move
cc1plus: error: -Werror=pessimizing-move: no option -Wpessimizing-move
cc1plus: error: -Werror=pessimizing-move: no option -Wpessimizing-move
cc1plus: error: -Werror=pessimizing-move: no option -Wpessimizing-move
make[4]: *** [src/cpp/CMakeFiles/paxformat.dir/build.make:76: src/cpp/CMakeFiles/paxformat.dir/storage/proto/micro_partition_stats.pb.cc.o] Error 1
make[4]: *** Waiting for unfinished jobs....
cc1plus: error: -Werror=pessimizing-move: no option -Wpessimizing-move
make[4]: *** [src/cpp/CMakeFiles/paxformat.dir/build.make:160: src/cpp/CMakeFiles/paxformat.dir/storage/columns/pax_columns.cc.o] Error 1
make[4]: *** [src/cpp/CMakeFiles/paxformat.dir/build.make:104: src/cpp/CMakeFiles/paxformat.dir/storage/proto/orc_proto.pb.cc.o] Error 1
make[4]: *** [src/cpp/CMakeFiles/paxformat.dir/build.make:90: src/cpp/CMakeFiles/paxformat.dir/storage/proto/pax.pb.cc.o] Error 1
make[4]: *** [src/cpp/CMakeFiles/paxformat.dir/build.make:132: src/cpp/CMakeFiles/paxformat.dir/storage/columns/pax_column.cc.o] Error 1
make[4]: *** [src/cpp/CMakeFiles/paxformat.dir/build.make:146: src/cpp/CMakeFiles/paxformat.dir/storage/columns/pax_compress.cc.o] Error 1
make[4]: *** [src/cpp/CMakeFiles/paxformat.dir/build.make:118: src/cpp/CMakeFiles/paxformat.dir/storage/columns/pax_column_traits.cc.o] Error 1
make[4]: Leaving directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
make[3]: *** [CMakeFiles/Makefile2:149: src/cpp/CMakeFiles/paxformat.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
[ 5%] Linking C executable generate_sql_script_program
make[4]: Leaving directory '/home/gpadmin/cloudberry/contrib/pax_storage/build'
[ 5%] Built target generate_sql_script_program
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'
```
OS + gcc/g++:
```
[gpadmin@cdw cloudberry]$ cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.10 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.10 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2029-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.10"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
[gpadmin@cdw cloudberry]$ gcc --version
gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[gpadmin@cdw cloudberry]$ g++ --version
g++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
### What you think should happen instead
_No response_
### How to reproduce
Following the build docs: https://cloudberry.apache.org/docs/next/deployment/quick-build
### Operating System
Rocky Linux 8.10
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes, I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/cloudberry/blob/main/CODE_OF_CONDUCT.md).
--
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: commits-unsubscribe@cloudberry.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org
Re: [I] [Bug] PAX build error on Rocky Linux 8 [cloudberry]
Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
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: commits-unsubscribe@cloudberry.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org
Re: [I] [Bug] PAX build error on Rocky Linux 8 [cloudberry]
Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe closed issue #1441: [Bug] PAX build error on Rocky Linux 8
URL: https://github.com/apache/cloudberry/issues/1441
--
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: commits-unsubscribe@cloudberry.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org