Commit 306d8f2
committed
build: downgrade multiarch to Ubuntu 20.04 and consolidate images
Downgrades the multiarch build environment from Ubuntu 24.04 to 20.04.
This ensures that native artifacts for aarch64 and ppc64le are linked
against glibc 2.31, providing better compatibility with older but
still-supported distributions (like RHEL 8 and Ubuntu 20.04).
Additionally, this consolidates s390x cross-compilation into the
multiarch image, removing the need for a separate ubuntu2004 base
image.
- Update Dockerfile.multiarch.base to use ubuntu:20.04
- Add g++-s390x-linux-gnu to multiarch image
- Update linux_artifacts.sh to use multiarch for all cross-builds
- Remove references to Dockerfile.ubuntu2004.base in build scripts
Summary of what this commit achieves:
1. Improves Compatibility: Lowering the glibc requirement from 2.39 (Ubuntu 24.04) to 2.31 (Ubuntu 20.04) prevents "version `GLIBC_2.XX' not found" errors when users try to run the artifacts on older
systems.
2. Simplifies CI: Merges the s390x toolchain into the multiarch image, reducing the number of Docker images the project needs to build and maintain.
3. Addresses Reviewer Feedback: Directly implements the "choice" of Ubuntu 20.04 suggested by the reviewer as a safer stopgap for the build.
Fixes grpc#12797.1 parent cc0d1a8 commit 306d8f2
4 files changed
Lines changed: 4 additions & 28 deletions
File tree
- buildscripts
- grpc-java-artifacts
- kokoro
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
| |||
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| 12 | + | |
15 | 13 | | |
16 | | - | |
| 14 | + | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
Lines changed: 0 additions & 19 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
0 commit comments