Skip to content

chore!: pin the default glibc version to 2.17 #299

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
May 11, 2024
Merged

Conversation

aherrmann
Copy link
Owner

This is reportedly the lowest glibc version number that Zig's own standard library supports, see https://github.com/ziglang/zig/blob/0.12.0/lib/libc/glibc/README.md?plain=1#L33-L34.

Note, users can configure their own glibc version, see #169.

Without this change the test at //zig/runfiles:test failed on the BuildBuddy default remote execution Docker image with an error of the form

/buildbuddy/remotebuilds/ace1eb7e-d203-470d-978b-3e7634972e45/bazel-out/k8-fastbuild/bin/zig/runfiles/test.runfiles/_main/zig/runfiles/test: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /buildbuddy/remotebuilds/ace1eb7e-d203-470d-978b-3e7634972e45/bazel-out/k8-fastbuild/bin/zig/runfiles/test.runfiles/_main/zig/runfiles/test)

See #296

BREAKING CHANGE: The default glibc version is now pinned at 2.17.

This is reportedly the lowest glibc version number that Zig's own
standard library supports, see
https://github.com/ziglang/zig/blob/0.12.0/lib/libc/glibc/README.md?plain=1#L33-L34.

Note, users can configure their own glibc version, see
#169.

Without this change the test at `//zig/runfiles:test` failed on the
BuildBuddy default remote execution Docker image with an error of the
form
```
/buildbuddy/remotebuilds/ace1eb7e-d203-470d-978b-3e7634972e45/bazel-out/k8-fastbuild/bin/zig/runfiles/test.runfiles/_main/zig/runfiles/test: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /buildbuddy/remotebuilds/ace1eb7e-d203-470d-978b-3e7634972e45/bazel-out/k8-fastbuild/bin/zig/runfiles/test.runfiles/_main/zig/runfiles/test)
```

BREAKING CHANGE: The default glibc version is now pinned at 2.17.
@aherrmann aherrmann enabled auto-merge May 10, 2024 07:00
@aherrmann aherrmann merged commit 4fe33db into main May 11, 2024
@aherrmann aherrmann deleted the libc-version branch May 11, 2024 07:48
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.

1 participant