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 intoapache:mainfrom
tuhaihe:update-pax-g++
Aug 5, 2025
Merged

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

Conversation

@tuhaihe
Copy link
Member

@tuhaihe tuhaihe commented Jun 17, 2025

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

tuhaihe commented Jun 17, 2025

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

@tuhaihe
Copy link
Member Author

tuhaihe commented Jun 25, 2025

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

tuhaihe commented Jun 25, 2025

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

Copy link
Contributor

@edespino edespino left a comment

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.

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

@TomShawn TomShawn left a comment

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