Skip to content

fix(cgo): exclude crypto/internal/sysrand/internal/seccomp from SDK srcs #4311

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

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

adam-azarchs
Copy link
Contributor

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

The crypto/internal/sysrand/internal/seccomp package fails to compile with linux kernel sources prior to 3.17. It's an internal package that is only used by unit tests, so compiling it as part of the monolithic SDK target is a waste of time anyway, so just exclude it.

Which issues(s) does this PR fix?

Fixes #4310

The package fails to compile with linux kernel sources prior to 3.17.
It's an internal package that is only used by unit tests,
so compiling it as part of the monolithic SDK target is a waste of time
anyway, so just exclude it.

Closes bazel-contrib#4310
@fmeum fmeum merged commit a7bae09 into bazel-contrib:master Apr 7, 2025
1 check passed
@adam-azarchs adam-azarchs deleted the azarchs/exclude-seccomp branch April 8, 2025 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cgo compilation fails with older kernel sources and go 1.24
2 participants