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

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

Copy link
Copy Markdown
MemberAuthor

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

@tuhaihe

Copy link
Copy Markdown
MemberAuthor

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

Copy link
Copy Markdown
MemberAuthor

@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 sourcefor 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 sourcefor copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

edespino
edespino previously requested changes Jun 25, 2025

@edespinoedespino 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 threadimages/docker/cbdb/build/rocky9/Dockerfile Outdated
Comment threadimages/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

@TomShawnTomShawn 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 reviewAugust 5, 2025 07:03

Already helped review. All looks good now.

@tuhaihe
tuhaihe merged commit 5c1a2ad into apache:mainAug 5, 2025
Sign up for freeto 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

@tuhaihe@edespino@TomShawn