On 10/29/2026 9:44 AM, Philippe Mathieu-Daudé wrote:
> Similarly to commit eaba84a5e1c9 ("tests/docker/debian-all-test:
> add mips32r5 toolchain"), add the Bootlin mips32r6el glibc
> toolchain, renaming its mipsel-* binaries as mips32r6el-*.
>
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> ---
> .../docker/dockerfiles/debian-all-test-cross.docker | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/tests/docker/dockerfiles/debian-all-test-cross.docker
> b/tests/docker/dockerfiles/debian-all-test-cross.docker
> index eefc03c49a4f..d0e59df84ebc 100644
> --- a/tests/docker/dockerfiles/debian-all-test-cross.docker
> +++ b/tests/docker/dockerfiles/debian-all-test-cross.docker
> @@ -129,6 +129,19 @@ RUN apt update && \
> rename 's/mipsel/mips32r5el/' mipsel*
> ENV PATH="$PATH:/opt/mips32r5el/bin"
>
> +# download mips32r6el toolchain from bootlin, and rename binaries who are
> simply
> +# named mipsel-linux-gnu-*
> +RUN apt update && \
> + mkdir -p /opt/mips32r6el/ && \
> + cd /opt/mips32r6el/ && \
> + wget -q
> https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--glibc--stable-2026.08-1.tar.xz
> && \
> + tar xvf *.tar.xz && \
> + rm *.tar.xz && \
> + mv mips32r6el--glibc--stable-2026.08-1/* . && \
> + cd bin && \
> + rename 's/mipsel/mips32r6el/' mipsel*
> +ENV PATH="$PATH:/opt/mips32r6el/bin"
> +
> ENV QEMU_CONFIGURE_OPTS=--disable-docs
> ENV
> DEF_TARGET_LIST=aarch64-linux-user,alpha-linux-user,arm-linux-user,hppa-linux-user,i386-linux-user,m68k-linux-user,mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,ppc-linux-user,ppc64-linux-user,ppc64le-linux-user,riscv64-linux-user,s390x-linux-user,sh4-linux-user,sparc64-linux-user
> # As a final step configure the user (if env is defined)
Would package mipsisa32r6el-linux-gnu (and companion libc) from debian
work instead of this one?
I added mips32r5 toolchain from bootlin because there were no matching
packages in debian, but I think it's better supported for mips32r6.
Regards,
Pierrick