Skip to content

Commit 67352ee

Browse files
tammelatgross35
authored andcommitted
ci: sparc64: fix 'cannot find libc' error
Signed-off-by: Pedro Tammela <[email protected]> (backport <#4317>) (cherry picked from commit 1ae6552)
1 parent 10af5a6 commit 67352ee

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

ci/docker/sparc64-unknown-linux-gnu/Dockerfile

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
# FIXME(sparc): newer versions of Ubuntu get the following errors
2-
# ```
3-
# /prog: /lib/sparc64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by /prog)
4-
# /prog: /lib/sparc64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /prog)
5-
# ```
6-
# Not sure if this is a problem from rustc, our libc, or Ubuntu so we just
7-
# stick with an old LTS for now.
8-
FROM ubuntu:22.04
1+
FROM ubuntu:24.10
92

103
RUN apt-get update && apt-get install -y --no-install-recommends \
114
curl ca-certificates \

ci/linux-sparc64.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ set -eux
55
mkdir -m 777 /qemu
66
cd /qemu
77

8-
curl --retry 5 -LO https://cdimage.debian.org/cdimage/ports/snapshots/2022-12-09/debian-11.0.0-sparc64-NETINST-1.iso
9-
7z e debian-11.0.0-sparc64-NETINST-1.iso install/initrd.gz
10-
7z e debian-11.0.0-sparc64-NETINST-1.iso install/vmlinux
8+
curl --retry 5 -LO https://cdimage.debian.org/cdimage/ports/snapshots/2024-12-24/debian-12.0.0-sparc64-NETINST-1.iso
9+
7z e debian-12.0.0-sparc64-NETINST-1.iso install/initrd.gz
10+
7z e debian-12.0.0-sparc64-NETINST-1.iso install/vmlinux
1111
mv vmlinux kernel
12-
rm debian-11.0.0-sparc64-NETINST-1.iso
12+
rm debian-12.0.0-sparc64-NETINST-1.iso
1313

1414
mkdir init
1515
cd init

0 commit comments

Comments
 (0)