@samitouri / QOSamiQemu / commits / 366bb88e78

buildsys: Remove MIPS cross containers

As mentioned in commit 269ffaabc84 ("buildsys: Remove support for 32-bit MIPS hosts"), Debian 13 "Trixie" removed support for MIPS. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260511135312.38705-2-philmd@linaro.org>

Philippe Mathieu-Daudé committed May 11, 2026 at 11:23 UTC 366bb88e78587ccb5b6fbf0510abee8f1493a345
8 files changed -415
.gitlab-ci.d/container-cross.yml
-6
@@ -28,12 +28,6 @@ loongarch-debian-cross-container:
28 variables:
29 NAME: debian-loongarch-cross
30
31 -mips64el-debian-cross-container:
32 - extends: .container_job_template
33 - stage: containers
34 - variables:
35 - NAME: debian-mips64el-cross
36 -
31 ppc64el-debian-cross-container:
32 extends: .container_job_template
33 stage: containers
.gitlab-ci.d/containers.yml
-1
@@ -48,7 +48,6 @@ weekly-container-builds:
48 - arm64-debian-cross-container
49 - hexagon-cross-container
50 - loongarch-debian-cross-container
51 - - mips64el-debian-cross-container
51 - ppc64el-debian-cross-container
52 - riscv64-debian-cross-container
53 - s390x-debian-cross-container
.gitlab-ci.d/crossbuilds.yml
-22
@@ -23,20 +23,6 @@ cross-arm64-kvm-only:
23 IMAGE: debian-arm64-cross
24 EXTRA_CONFIGURE_OPTS: --disable-tcg --without-default-features
25
26 -cross-mips64el-system:
27 - extends: .cross_system_build_job
28 - needs:
29 - - job: mips64el-debian-cross-container
30 - variables:
31 - IMAGE: debian-mips64el-cross
32 -
33 -cross-mips64el-user:
34 - extends: .cross_user_build_job
35 - needs:
36 - - job: mips64el-debian-cross-container
37 - variables:
38 - IMAGE: debian-mips64el-cross
39 -
26 cross-ppc64el-system:
27 extends: .cross_system_build_job
28 needs:
@@ -95,14 +81,6 @@ cross-s390x-kvm-only:
81 IMAGE: debian-s390x-cross
82 EXTRA_CONFIGURE_OPTS: --disable-tcg --enable-trace-backends=ftrace
83
98 -cross-mips64el-kvm-only:
99 - extends: .cross_accel_build_job
100 - needs:
101 - - job: mips64el-debian-cross-container
102 - variables:
103 - IMAGE: debian-mips64el-cross
104 - EXTRA_CONFIGURE_OPTS: --disable-tcg --target-list=mips64el-softmmu
105 -
84 cross-win64-system:
85 extends: .cross_system_build_job
86 needs:
configure
-1
@@ -1525,7 +1525,6 @@ probe_target_compiler() {
1525 aarch64_be:aarch64 | \
1526 armeb:arm | \
1527 i386:x86_64 | \
1528 - mips*:mips64 | \
1528 ppc*:ppc64 | \
1529 sparc:sparc64 | \
1530 "$cpu:$cpu")
tests/docker/Makefile.include
-1
@@ -94,7 +94,6 @@ endif
94
95 # For non-x86 hosts not all cross-compilers have been packaged
96 ifneq ($(HOST_ARCH),x86_64)
97 -DOCKER_PARTIAL_IMAGES += debian-mipsel-cross debian-mips64el-cross
97 DOCKER_PARTIAL_IMAGES += debian-ppc64el-cross
98 DOCKER_PARTIAL_IMAGES += debian-s390x-cross
99 DOCKER_PARTIAL_IMAGES += fedora
tests/docker/dockerfiles/debian-mips64el-cross.docker deleted
-186
@@ -1,186 +0,0 @@
1 -# THIS FILE WAS AUTO-GENERATED
2 -#
3 -# $ lcitool dockerfile --layers all --cross-arch mips64el debian-12 qemu
4 -#
5 -# https://gitlab.com/libvirt/libvirt-ci
6 -
7 -FROM docker.io/library/debian:12-slim
8 -
9 -RUN export DEBIAN_FRONTEND=noninteractive && \
10 - apt-get update && \
11 - apt-get install -y eatmydata && \
12 - eatmydata apt-get dist-upgrade -y && \
13 - eatmydata apt-get install --no-install-recommends -y \
14 - bash \
15 - bc \
16 - bindgen \
17 - bison \
18 - bsdextrautils \
19 - bzip2 \
20 - ca-certificates \
21 - ccache \
22 - coreutils \
23 - dbus \
24 - debianutils \
25 - diffutils \
26 - exuberant-ctags \
27 - findutils \
28 - flex \
29 - gcc \
30 - gcovr \
31 - gettext \
32 - git \
33 - hostname \
34 - libclang-rt-dev \
35 - libglib2.0-dev \
36 - llvm \
37 - locales \
38 - make \
39 - mtools \
40 - ninja-build \
41 - openssh-client \
42 - pkgconf \
43 - python3 \
44 - python3-numpy \
45 - python3-opencv \
46 - python3-pillow \
47 - python3-pip \
48 - python3-setuptools \
49 - python3-sphinx \
50 - python3-sphinx-rtd-theme \
51 - python3-venv \
52 - python3-wheel \
53 - python3-yaml \
54 - rpm2cpio \
55 - rustc-web \
56 - sed \
57 - socat \
58 - sparse \
59 - swtpm \
60 - tar \
61 - tesseract-ocr \
62 - tesseract-ocr-eng \
63 - vulkan-tools \
64 - xorriso \
65 - zstd && \
66 - eatmydata apt-get autoremove -y && \
67 - eatmydata apt-get autoclean -y && \
68 - sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
69 - dpkg-reconfigure locales && \
70 - rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
71 -
72 -RUN /usr/bin/pip3 install meson==1.8.1
73 -
74 -ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
75 -ENV LANG="en_US.UTF-8"
76 -ENV MAKE="/usr/bin/make"
77 -ENV NINJA="/usr/bin/ninja"
78 -ENV PYTHON="/usr/bin/python3"
79 -
80 -RUN export DEBIAN_FRONTEND=noninteractive && \
81 - dpkg --add-architecture mips64el && \
82 - eatmydata apt-get update && \
83 - eatmydata apt-get dist-upgrade -y && \
84 - eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
85 - eatmydata apt-get install --no-install-recommends -y \
86 - gcc-mips64el-linux-gnuabi64 \
87 - libaio-dev:mips64el \
88 - libasound2-dev:mips64el \
89 - libattr1-dev:mips64el \
90 - libbpf-dev:mips64el \
91 - libbrlapi-dev:mips64el \
92 - libbz2-dev:mips64el \
93 - libc6-dev:mips64el \
94 - libcacard-dev:mips64el \
95 - libcap-ng-dev:mips64el \
96 - libcapstone-dev:mips64el \
97 - libcbor-dev:mips64el \
98 - libcmocka-dev:mips64el \
99 - libcurl4-gnutls-dev:mips64el \
100 - libdaxctl-dev:mips64el \
101 - libdrm-dev:mips64el \
102 - libepoxy-dev:mips64el \
103 - libfdt-dev:mips64el \
104 - libffi-dev:mips64el \
105 - libfuse3-dev:mips64el \
106 - libgbm-dev:mips64el \
107 - libgcrypt20-dev:mips64el \
108 - libglib2.0-dev:mips64el \
109 - libgnutls28-dev:mips64el \
110 - libgtk-3-dev:mips64el \
111 - libgtk-vnc-2.0-dev:mips64el \
112 - libibverbs-dev:mips64el \
113 - libiscsi-dev:mips64el \
114 - libjemalloc-dev:mips64el \
115 - libjpeg62-turbo-dev:mips64el \
116 - libjson-c-dev:mips64el \
117 - liblttng-ust-dev:mips64el \
118 - liblzo2-dev:mips64el \
119 - libncursesw5-dev:mips64el \
120 - libnfs-dev:mips64el \
121 - libnuma-dev:mips64el \
122 - libpam0g-dev:mips64el \
123 - libpcre2-dev:mips64el \
124 - libpipewire-0.3-dev:mips64el \
125 - libpixman-1-dev:mips64el \
126 - libpng-dev:mips64el \
127 - libpulse-dev:mips64el \
128 - librbd-dev:mips64el \
129 - librdmacm-dev:mips64el \
130 - libsasl2-dev:mips64el \
131 - libsdl2-dev:mips64el \
132 - libsdl2-image-dev:mips64el \
133 - libseccomp-dev:mips64el \
134 - libselinux1-dev:mips64el \
135 - libslirp-dev:mips64el \
136 - libsnappy-dev:mips64el \
137 - libsndio-dev:mips64el \
138 - libspice-protocol-dev:mips64el \
139 - libspice-server-dev:mips64el \
140 - libssh-dev:mips64el \
141 - libstd-rust-dev:mips64el \
142 - libsystemd-dev:mips64el \
143 - libtasn1-6-dev:mips64el \
144 - libudev-dev:mips64el \
145 - liburing-dev:mips64el \
146 - libusb-1.0-0-dev:mips64el \
147 - libusbredirhost-dev:mips64el \
148 - libvdeplug-dev:mips64el \
149 - libvirglrenderer-dev:mips64el \
150 - libvte-2.91-dev:mips64el \
151 - libxdp-dev:mips64el \
152 - libzstd-dev:mips64el \
153 - nettle-dev:mips64el \
154 - systemtap-sdt-dev:mips64el \
155 - zlib1g-dev:mips64el && \
156 - eatmydata apt-get autoremove -y && \
157 - eatmydata apt-get autoclean -y && \
158 - mkdir -p /usr/local/share/meson/cross && \
159 - printf "[binaries]\n\
160 -c = '/usr/bin/mips64el-linux-gnuabi64-gcc'\n\
161 -ar = '/usr/bin/mips64el-linux-gnuabi64-gcc-ar'\n\
162 -strip = '/usr/bin/mips64el-linux-gnuabi64-strip'\n\
163 -pkgconfig = '/usr/bin/mips64el-linux-gnuabi64-pkg-config'\n\
164 -\n\
165 -[host_machine]\n\
166 -system = 'linux'\n\
167 -cpu_family = 'mips64'\n\
168 -cpu = 'mips64el'\n\
169 -endian = 'little'\n" > /usr/local/share/meson/cross/mips64el-linux-gnuabi64 && \
170 - dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
171 - mkdir -p /usr/libexec/ccache-wrappers && \
172 - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-cc && \
173 - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-gcc
174 -
175 -ENV ABI="mips64el-linux-gnuabi64"
176 -ENV MESON_OPTS="--cross-file=mips64el-linux-gnuabi64"
177 -ENV RUST_TARGET="mips64el-unknown-linux-gnuabi64"
178 -ENV QEMU_CONFIGURE_OPTS=--cross-prefix=mips64el-linux-gnuabi64-
179 -ENV DEF_TARGET_LIST=mips64el-softmmu,mips64el-linux-user
180 -# As a final step configure the user (if env is defined)
181 -ARG USER
182 -ARG UID
183 -RUN if [ "${USER}" ]; then \
184 - id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
185 -
186 -ENV ENABLE_RUST=1
tests/docker/dockerfiles/debian-mipsel-cross.docker deleted
-186
@@ -1,186 +0,0 @@
1 -# THIS FILE WAS AUTO-GENERATED
2 -#
3 -# $ lcitool dockerfile --layers all --cross-arch mipsel debian-12 qemu
4 -#
5 -# https://gitlab.com/libvirt/libvirt-ci
6 -
7 -FROM docker.io/library/debian:12-slim
8 -
9 -RUN export DEBIAN_FRONTEND=noninteractive && \
10 - apt-get update && \
11 - apt-get install -y eatmydata && \
12 - eatmydata apt-get dist-upgrade -y && \
13 - eatmydata apt-get install --no-install-recommends -y \
14 - bash \
15 - bc \
16 - bindgen \
17 - bison \
18 - bsdextrautils \
19 - bzip2 \
20 - ca-certificates \
21 - ccache \
22 - coreutils \
23 - dbus \
24 - debianutils \
25 - diffutils \
26 - exuberant-ctags \
27 - findutils \
28 - flex \
29 - gcc \
30 - gcovr \
31 - gettext \
32 - git \
33 - hostname \
34 - libclang-rt-dev \
35 - libglib2.0-dev \
36 - llvm \
37 - locales \
38 - make \
39 - mtools \
40 - ninja-build \
41 - openssh-client \
42 - pkgconf \
43 - python3 \
44 - python3-numpy \
45 - python3-opencv \
46 - python3-pillow \
47 - python3-pip \
48 - python3-setuptools \
49 - python3-sphinx \
50 - python3-sphinx-rtd-theme \
51 - python3-venv \
52 - python3-wheel \
53 - python3-yaml \
54 - rpm2cpio \
55 - rustc-web \
56 - sed \
57 - socat \
58 - sparse \
59 - swtpm \
60 - tar \
61 - tesseract-ocr \
62 - tesseract-ocr-eng \
63 - vulkan-tools \
64 - xorriso \
65 - zstd && \
66 - eatmydata apt-get autoremove -y && \
67 - eatmydata apt-get autoclean -y && \
68 - sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
69 - dpkg-reconfigure locales && \
70 - rm -f /usr/lib*/python3*/EXTERNALLY-MANAGED
71 -
72 -RUN /usr/bin/pip3 install meson==1.8.1
73 -
74 -ENV CCACHE_WRAPPERSDIR="/usr/libexec/ccache-wrappers"
75 -ENV LANG="en_US.UTF-8"
76 -ENV MAKE="/usr/bin/make"
77 -ENV NINJA="/usr/bin/ninja"
78 -ENV PYTHON="/usr/bin/python3"
79 -
80 -RUN export DEBIAN_FRONTEND=noninteractive && \
81 - dpkg --add-architecture mipsel && \
82 - eatmydata apt-get update && \
83 - eatmydata apt-get dist-upgrade -y && \
84 - eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
85 - eatmydata apt-get install --no-install-recommends -y \
86 - gcc-mipsel-linux-gnu \
87 - libaio-dev:mipsel \
88 - libasound2-dev:mipsel \
89 - libattr1-dev:mipsel \
90 - libbpf-dev:mipsel \
91 - libbrlapi-dev:mipsel \
92 - libbz2-dev:mipsel \
93 - libc6-dev:mipsel \
94 - libcacard-dev:mipsel \
95 - libcap-ng-dev:mipsel \
96 - libcapstone-dev:mipsel \
97 - libcbor-dev:mipsel \
98 - libcmocka-dev:mipsel \
99 - libcurl4-gnutls-dev:mipsel \
100 - libdaxctl-dev:mipsel \
101 - libdrm-dev:mipsel \
102 - libepoxy-dev:mipsel \
103 - libfdt-dev:mipsel \
104 - libffi-dev:mipsel \
105 - libfuse3-dev:mipsel \
106 - libgbm-dev:mipsel \
107 - libgcrypt20-dev:mipsel \
108 - libglib2.0-dev:mipsel \
109 - libgnutls28-dev:mipsel \
110 - libgtk-3-dev:mipsel \
111 - libgtk-vnc-2.0-dev:mipsel \
112 - libibverbs-dev:mipsel \
113 - libiscsi-dev:mipsel \
114 - libjemalloc-dev:mipsel \
115 - libjpeg62-turbo-dev:mipsel \
116 - libjson-c-dev:mipsel \
117 - liblttng-ust-dev:mipsel \
118 - liblzo2-dev:mipsel \
119 - libncursesw5-dev:mipsel \
120 - libnfs-dev:mipsel \
121 - libnuma-dev:mipsel \
122 - libpam0g-dev:mipsel \
123 - libpcre2-dev:mipsel \
124 - libpipewire-0.3-dev:mipsel \
125 - libpixman-1-dev:mipsel \
126 - libpng-dev:mipsel \
127 - libpulse-dev:mipsel \
128 - librbd-dev:mipsel \
129 - librdmacm-dev:mipsel \
130 - libsasl2-dev:mipsel \
131 - libsdl2-dev:mipsel \
132 - libsdl2-image-dev:mipsel \
133 - libseccomp-dev:mipsel \
134 - libselinux1-dev:mipsel \
135 - libslirp-dev:mipsel \
136 - libsnappy-dev:mipsel \
137 - libsndio-dev:mipsel \
138 - libspice-protocol-dev:mipsel \
139 - libspice-server-dev:mipsel \
140 - libssh-dev:mipsel \
141 - libstd-rust-dev:mipsel \
142 - libsystemd-dev:mipsel \
143 - libtasn1-6-dev:mipsel \
144 - libudev-dev:mipsel \
145 - liburing-dev:mipsel \
146 - libusb-1.0-0-dev:mipsel \
147 - libusbredirhost-dev:mipsel \
148 - libvdeplug-dev:mipsel \
149 - libvirglrenderer-dev:mipsel \
150 - libvte-2.91-dev:mipsel \
151 - libxdp-dev:mipsel \
152 - libzstd-dev:mipsel \
153 - nettle-dev:mipsel \
154 - systemtap-sdt-dev:mipsel \
155 - zlib1g-dev:mipsel && \
156 - eatmydata apt-get autoremove -y && \
157 - eatmydata apt-get autoclean -y && \
158 - mkdir -p /usr/local/share/meson/cross && \
159 - printf "[binaries]\n\
160 -c = '/usr/bin/mipsel-linux-gnu-gcc'\n\
161 -ar = '/usr/bin/mipsel-linux-gnu-gcc-ar'\n\
162 -strip = '/usr/bin/mipsel-linux-gnu-strip'\n\
163 -pkgconfig = '/usr/bin/mipsel-linux-gnu-pkg-config'\n\
164 -\n\
165 -[host_machine]\n\
166 -system = 'linux'\n\
167 -cpu_family = 'mips'\n\
168 -cpu = 'mipsel'\n\
169 -endian = 'little'\n" > /usr/local/share/meson/cross/mipsel-linux-gnu && \
170 - dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
171 - mkdir -p /usr/libexec/ccache-wrappers && \
172 - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-cc && \
173 - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-gcc
174 -
175 -ENV ABI="mipsel-linux-gnu"
176 -ENV MESON_OPTS="--cross-file=mipsel-linux-gnu"
177 -ENV RUST_TARGET="mipsel-unknown-linux-gnu"
178 -ENV QEMU_CONFIGURE_OPTS=--cross-prefix=mipsel-linux-gnu-
179 -ENV DEF_TARGET_LIST=mipsel-softmmu,mipsel-linux-user
180 -# As a final step configure the user (if env is defined)
181 -ARG USER
182 -ARG UID
183 -RUN if [ "${USER}" ]; then \
184 - id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
185 -
186 -ENV ENABLE_RUST=1
tests/lcitool/refresh
-12
@@ -265,18 +265,6 @@ try:
265 trailer=cross_build("i686-linux-gnu-",
266 "i386-softmmu,i386-linux-user"))
267
268 - # mips no longer supported in debian-13
269 - # https://www.debian.org/releases/trixie/release-notes/issues.html#mips-architectures-removed
270 - generate_dockerfile("debian-mips64el-cross", "debian-12",
271 - cross="mips64el",
272 - trailer=cross_build("mips64el-linux-gnuabi64-",
273 - "mips64el-softmmu,mips64el-linux-user"))
274 -
275 - generate_dockerfile("debian-mipsel-cross", "debian-12",
276 - cross="mipsel",
277 - trailer=cross_build("mipsel-linux-gnu-",
278 - "mipsel-softmmu,mipsel-linux-user"))
279 -
268 generate_dockerfile("debian-ppc64el-cross", "debian-13",
269 cross="ppc64le",
270 trailer=cross_build("powerpc64le-linux-gnu-",