GitHub user edespino added a comment to the discussion: Introducing the 
[perfmon] Extension for Cloudberry Database Monitoring​

@fanfuxiaoran

### 🛠️ Build Environment Support for `perfmon` on Rocky Linux 9?

For this extension to move forward, we’ll need to ensure it can be **built and 
tested reliably** in the default Cloudberry build environment.

**Question:** Has any work been done to support building `perfmon` and its 
`libsigar` dependency on **Rocky Linux 9**, which is the current baseline used 
in GitHub Actions?

Some specific considerations:

* `libsigar` hasn’t been maintained in years and has known issues compiling on 
modern glibc and kernel headers.
* Rocky Linux 9 uses **glibc 2.34+**, which broke certain assumptions in 
`sigar_os_linux.c` and related memory layout assumptions.
* What’s the expected path for packaging this? Will it be built as part of the 
Cloudberry core build or treated as an optional/isolated extension?

If build support hasn’t been tested or documented yet, I’d suggest:

* Trying to integrate `perfmon` into the current CI build matrix (even if 
experimental)
* Adding a tracking issue for adapting or replacing `libsigar`
* Clarifying whether this is considered a required or optional component for 
Cloudberry installations

Happy to help test builds if needed — but this will need to be addressed before 
broader adoption is feasible.

GitHub link: 
https://github.com/apache/cloudberry/discussions/1087#discussioncomment-13060928

----
This is an automatically sent email for dev@cloudberry.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@cloudberry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: dev-h...@cloudberry.apache.org

Reply via email to