Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Update gcc/g++ settings for PAX on RockyLinux 8 - #25

Merged
tuhaihe merged 1 commit into
apache:mainfrom
tuhaihe:update-pax-g++
Aug 5, 2025
Merged

Update gcc/g++ settings for PAX on RockyLinux 8#25
tuhaihe merged 1 commit into
apache:mainfrom
tuhaihe:update-pax-g++

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Jun 17, 2025

Copy link
Copy Markdown
Member

Cloudberry can now be built with PAX support using the default GCC/G++
toolchain on Rocky Linux 8. There is no longer a need to upgrade
GCC/G++.

The default GCC/G++ version on Rocky Linux 8 are:

  • gcc 8.5.0
  • g++ 8.5.0

See PR: apache/cloudberry#1165

@tuhaihe

tuhaihe commented Jun 17, 2025

Copy link
Copy Markdown
Member Author

Once #1165 is merged, we can merge this PR.

@tuhaihe

tuhaihe commented Jun 25, 2025

Copy link
Copy Markdown
Member Author

Can build the Cloudberry on the latest Docker dev with this commit. It's ready to be merged now.

@tuhaihe
tuhaihe requested a review from edespino June 25, 2025 08:33
@edespino

Copy link
Copy Markdown
Contributor

@tuhaihe Can you provide the default GCC version on Rocky Linux 8? I want to ensure I am using the correct compiler.

@tuhaihe

tuhaihe commented Jun 25, 2025

Copy link
Copy Markdown
Member Author

@tuhaihe Can you provide the default GCC version on Rocky Linux 8? I want to ensure I am using the correct compiler.

Hi @edespino, sure. Here are the details:

[gpadmin@cdw cloudberry]$ gcc --version
gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-26)
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-26)
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.

@edespino edespino left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider the Commit message description amends recommendations. I was able to build without issue on Rocky Linux 8 AWS EC2 VM environment.

Comment thread images/docker/cbdb/build/rocky9/Dockerfile Outdated
Comment thread images/docker/cbdb/build/rocky8/Dockerfile
Cloudberry can now be built with PAX support using the default GCC/G++
toolchain on Rocky Linux 8. There is no longer a need to upgrade
GCC/G++.

The default GCC/G++ version on Rocky Linux 8 are:
 - gcc 8.5.0
 - g++ 8.5.0

See PR: apache/cloudberry#1165
@tuhaihe
tuhaihe requested a review from edespino June 30, 2025 06:23

@TomShawn TomShawn left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tuhaihe
tuhaihe dismissed edespino’s stale review August 5, 2025 07:03

Already helped review. All looks good now.

@tuhaihe
tuhaihe merged commit 5c1a2ad into apache:main Aug 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants