control: tag -1 + patch

Hi,

On 2026-01-11 13:33, Aurelien Jarno wrote:
> Source: mold
> Version: 2.40.4+dfsg-2.1
> Severity: important
> X-Debbugs-Cc: [email protected]
> User: [email protected]
> Usertags: s390x 31-bit-removal
> 
> Dear maintainer(s),
> 
> Linux 6.19 will drop support for 31-bit compatibility on s390x, and will
> also stop providing 31-bit support in UAPI header files [1]. Once this
> lands in unstable, it will become impossible to build the libc6-s390 and
> libc6-dev-s390 packages on s390x, and in turns the gcc-multilib and
> g++-multilib packages.
> 
> mold build-depends on gcc-multilib [s390x]. Please drop this
> build-dependency, likely by stopping the build of s390 binaries.

After a few tests, it happens that this build-dependency is not used. 
Said otherwise, building mold with or without that build-dependency 
leads to identical binary packages.

Therefore the patch to fix this is as simple as:

--- mold-2.40.4+dfsg/debian/control
+++ mold-2.40.4+dfsg/debian/control
@@ -11,7 +11,7 @@
  libzstd-dev,
  zlib1g-dev,
  clang,
- gcc-multilib [amd64 i386 powerpc ppc64 s390x sparc64 x32],
+ gcc-multilib [amd64 i386 powerpc ppc64 sparc64 x32],
  gdb,
  zstd,
 Standards-Version: 4.6.0

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                     http://aurel32.net

Reply via email to