Skip to contentSkip to conversation

configure, meson: deprecate 32-bit MIPS

PATCH Superseded Paolo Bonzini 3 participants 3 messages Oct 27, 2024 – Oct 28, 2024 Arm/Amlogic Meson SoC support

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure, meson: deprecate 32-bit MIPS

The mipsel architecture is not available in Debian Bookworm, and it will likely be a hard failure as soon as we drop support for the old Rust toolchain in Debian Bullseye. Prepare by deprecating 32-bit little endian MIPS in QEMU 9.2.

---
 docs/about/build-platforms.rst |  2 +-
 docs/about/deprecated.rst      | 12 ++++++++----
 meson.build                    |  8 ++++++++
 3 files changed, 17 insertions(+), 5 deletions(-)
docs/about/build-platforms.rst +1 -1
index ff56091078e..6102f00aec0 100644
@@ -41,7 +41,7 @@ Those hosts are officially supported, with various accelerators:
      - Accelerators
    * - Arm
      - kvm (64 bit only), tcg, xen
-   * - MIPS (little endian only)
+   * - MIPS (64 bit little endian only)
      - kvm, tcg
    * - PPC
      - kvm, tcg
docs/about/deprecated.rst +8 -4
index 74c75666c31..32b4cd16ec3 100644
@@ -170,15 +170,19 @@ property types.
 Host Architectures
 ------------------
 
-BE MIPS (since 7.2)
-'''''''''''''''''''
+32-bit MIPS (big endian since 7.2; little endian since 9.2)
+'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
 
 As Debian 10 ("Buster") moved into LTS the big endian 32 bit version of
 MIPS moved out of support making it hard to maintain our
 cross-compilation CI tests of the architecture. As we no longer have
 CI coverage support may bitrot away before the deprecation process
-completes. The little endian variants of MIPS (both 32 and 64 bit) are
-still a supported host architecture.
+completes.
+
+Likewise, the little endian variant of 32 bit MIPS is not supported by
+Debian 13 ("Trixie") and newer.
+
+64 bit little endian MIPS is still a supported host architecture.
 
 System emulation on 32-bit x86 hosts (since 8.0)
 ''''''''''''''''''''''''''''''''''''''''''''''''
meson.build +8 -0
index f5df5cdc49f..e69287acfc5 100644
@@ -4807,6 +4807,14 @@ if host_arch == 'unknown'
     message('configure has succeeded and you can continue to build, but')
     message('QEMU will use a slow interpreter to emulate the target CPU.')
   endif
+elif host_arch == 'mips'
+  message()
+  warning('DEPRECATED HOST CPU')
+  message()
+  message('Support for CPU host architecture ' + cpu + ' is going to be')
+  message('dropped as soon as the QEMU project stops supporting Debian 12')
+  message('("Bookworm"). Going forward, the QEMU project will not guarantee')
+  message('that QEMU will compile or work on this host CPU.')
 endif
 
 if not supported_oses.contains(host_os)
Signature · 1 line
2.47.0
#1 lore raw
Quoted 4 lines · Paolo Bonzini

The mipsel architecture is not available in Debian Bookworm, and it will likely be a hard failure as soon as we drop support for the old Rust toolchain in Debian Bullseye. Prepare by deprecating 32-bit little endian MIPS in QEMU 9.2.

Correction. mipsel *is* available in debian bookworm, it is the last release of debian which has mipsel. It's been removed from trixie, the *next* debian release. Basically, s/Bookworm/Trixie/ s/Bullseye/Bookworm/.

(it's the rust-web which is not available FOR BOOKWORM, because of no upstream support from rust people)

Thanks,

/mjt

#2 lore raw
In reply to Paolo Bonzini
Quoted 30 lines · Paolo Bonzini

The mipsel architecture is not available in Debian Bookworm, and it will likely be a hard failure as soon as we drop support for the old Rust toolchain in Debian Bullseye. Prepare by deprecating 32-bit little endian MIPS in QEMU 9.2.

---
  docs/about/build-platforms.rst |  2 +-
  docs/about/deprecated.rst      | 12 ++++++++----
  meson.build                    |  8 ++++++++
  3 files changed, 17 insertions(+), 5 deletions(-)
docs/about/build-platforms.rst +1 -1
index ff56091078e..6102f00aec0 100644
@@ -41,7 +41,7 @@ Those hosts are officially supported, with various accelerators:
       - Accelerators
     * - Arm
       - kvm (64 bit only), tcg, xen
-   * - MIPS (little endian only)
+   * - MIPS (64 bit little endian only)
       - kvm, tcg
     * - PPC
       - kvm, tcg
docs/about/deprecated.rst +0 -0
index 74c75666c31..32b4cd16ec3 100644

docs/about/deprecated.rst property types. · line 174

Quoted 7 lines
docs/about/deprecated.rst +2 -2
@@ -170,15 +170,19 @@ property types.
  Host Architectures
  ------------------
 
-BE MIPS (since 7.2)
-'''''''''''''''''''
+32-bit MIPS (big endian since 7.2; little endian since 9.2)
+'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Big endian MIPS since 7.2; 32-bit little endian MIPS since 9.2 ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''