Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent is not buildable for non-glibc environments due to NVIDIA/go-nvml #32942

Open
at-wat opened this issue Jan 14, 2025 · 0 comments
Open

Agent is not buildable for non-glibc environments due to NVIDIA/go-nvml #32942

at-wat opened this issue Jan 14, 2025 · 0 comments

Comments

@at-wat
Copy link
Contributor

at-wat commented Jan 14, 2025

Recently added system-probe gpu module and corechecks gpu collector use github.com/NVIDIA/go-nvml which requires glibc.
So, agent can't be built for non-glibc environments like Alpine Linux and Arch Linux which use musl libc.

# github.com/NVIDIA/go-nvml/pkg/dl
/go/pkg/mod/github.com/!n!v!i!d!i!a/[email protected]/pkg/dl/dl_linux.go:25:18: could not determine kind of name for C.RTLD_DEEPBIND

RTLD_DEEPBIND is a glibc extension since glibc 2.3.4.

IMO, it's better to add an option to disable system-probe gpu module and corechecks gpu collector to workaround this.
I'm going to open a PR.


Hit this problem at seqsense/datadog-agent-alpine#134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant