File tree Expand file tree Collapse file tree 5 files changed +11
-17
lines changed
docker/sparc64-unknown-linux-gnu
src/unix/linux_like/linux/gnu/b64 Expand file tree Collapse file tree 5 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 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
103RUN apt-get update && apt-get install -y --no-install-recommends \
114 curl ca-certificates \
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ mkdir -m 777 /qemu
66cd /qemu
77
88curl --retry 5 -LO https://github.com/qemu/qemu/raw/HEAD/pc-bios/s390-ccw.img
9- curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20230607 /images/generic/kernel.debian
10- curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20230607 /images/generic/initrd.debian
9+ curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20241227 /images/generic/kernel.debian
10+ curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20241227 /images/generic/initrd.debian
1111
1212mv kernel.debian kernel
1313mv initrd.debian initrd.gz
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ set -eux
55mkdir -m 777 /qemu
66cd /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
1111mv vmlinux kernel
12- rm debian-11 .0.0-sparc64-NETINST-1.iso
12+ rm debian-12 .0.0-sparc64-NETINST-1.iso
1313
1414mkdir init
1515cd init
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ test_flags="--skip check_style"
8787case " $target " in
8888 # Only run `libc-test`
8989 # FIXME(android): unit tests fail to start on Android
90- # FIXME(s390x): unit tests fail to locate glibc
9190 * android* ) cmd=" $cmd --manifest-path libc-test/Cargo.toml" ;;
9291 * s390x* ) cmd=" $cmd --manifest-path libc-test/Cargo.toml" ;;
9392 # For all other platforms, test everything in the workspace
Original file line number Diff line number Diff line change 7777 target_arch = "mips64r6" ,
7878 target_arch = "powerpc64" ,
7979 target_arch = "riscv64" ,
80- target_arch = "sparc64"
80+ target_arch = "sparc64" ,
81+ target_arch = "s390x" ,
8182 ) ) ) ]
8283 __reserved: crate :: __syscall_ulong_t,
8384 pub sem_ctime: crate :: time_t,
8889 target_arch = "mips64r6" ,
8990 target_arch = "powerpc64" ,
9091 target_arch = "riscv64" ,
91- target_arch = "sparc64"
92+ target_arch = "sparc64" ,
93+ target_arch = "s390x" ,
9294 ) ) ) ]
9395 __reserved2: crate :: __syscall_ulong_t,
9496 pub sem_nsems: crate :: __syscall_ulong_t,
You can’t perform that action at this time.
0 commit comments