Skip to content

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

Merged
aherrmann merged 1 commit intomainfrom
libc-version
May 11, 2024
Merged

chore!: pin the default glibc version to 2.17#299
aherrmann merged 1 commit intomainfrom
libc-version

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