Source: gcc-12
Source-Version: 12.3.0-11
Severity: important
Tags: patch

Hi!

Support for these arches got removed in dpkg 1.22.0, which means that
once the host running dak gets its dpkg upgraded to that version it
might start being unhappy about the unknown architectures.

Attached an untested patch that removes references to these obsolete
arches.

Thanks,
Guillem
From c3ce5e819640376b2728077257383bce9de6d55a Mon Sep 17 00:00:00 2001
From: Guillem Jover <guil...@debian.org>
Date: Sun, 26 Nov 2023 00:16:51 +0100
Subject: [PATCH] Remove references to obsolete m32r and tilegx arches

Support for these arches got removed in dpkg 1.22.0, which means
that once the host running dak gets its dpkg upgraded to that version
it might start being unhappy about the unknown architectures.
---
 debian/control    | 2 +-
 debian/rules.defs | 2 +-
 debian/rules2     | 4 ----
 3 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index a9fb081..ba9fc88 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 9.20141010), dpkg-dev (>= 1.17.14), g++-multilib [a
   gperf (>= 3.0.1), bison (>= 1:2.3), flex, gettext, 
   gdb:native [!riscv64 !mipsel !mips64el], nvptx-tools [amd64 ppc64el], amdgcn-tools [amd64], 
   texinfo (>= 4.3), locales-all, sharutils, 
-  procps, gnat-12:native [!arc !ia64 !loong64 !m32r !sh3 !sh3eb !sh4eb], g++-12:native, netbase, gdc-12:native [!arc !ia64 !loong64 !m68k !sh4 !s390 !sparc64 !alpha !hurd-alpha !hurd-amd64 !hurd-i386 !hurd-alpha !kfreebsd-amd64 !kfreebsd-i386 !kfreebsd-alpha], python3:any, 
+  procps, gnat-12:native [!arc !ia64 !loong64 !sh3 !sh3eb !sh4eb], g++-12:native, netbase, gdc-12:native [!arc !ia64 !loong64 !m68k !sh4 !s390 !sparc64 !alpha !hurd-alpha !hurd-amd64 !hurd-i386 !hurd-alpha !kfreebsd-amd64 !kfreebsd-i386 !kfreebsd-alpha], python3:any, 
   libisl-dev (>= 0.20), libmpc-dev (>= 1.0), libmpfr-dev (>= 3.0.0-9~), libgmp-dev (>= 2:5.0.1~), lib32z1-dev [amd64 kfreebsd-amd64], lib64z1-dev [i386], unzip <!nocheck>, 
   dejagnu <!nocheck>, coreutils (>= 2.26) | realpath (>= 1.9.12), chrpath, lsb-release, quilt, time, 
   pkg-config, libgc-dev, 
diff --git a/debian/rules.defs b/debian/rules.defs
index 6559414..9532bc5 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -847,7 +847,7 @@ endif
 
 ifeq (,$(filter $(DEB_STAGE),stage1 stage2))
 # Ada --------------------
-ada_no_cpus	:= arc ia64 loong64 m32r sh3 sh3eb sh4eb
+ada_no_cpus	:= arc ia64 loong64 sh3 sh3eb sh4eb
 ada_no_systems	:= 
 ada_no_cross	:= no
 ada_no_snap	:= no
diff --git a/debian/rules2 b/debian/rules2
index c37e266..3aa408d 100644
--- a/debian/rules2
+++ b/debian/rules2
@@ -559,10 +559,6 @@ ifneq (,$(findstring m68k-linux,$(DEB_TARGET_GNU_TYPE)))
   CONFARGS += --disable-multilib
 endif
 
-ifneq (,$(filter tilegx,$(DEB_TARGET_GNU_CPU)))
-  CONFARGS += --disable-multilib
-endif
-
 ifneq (,$(findstring riscv64-linux,$(DEB_TARGET_GNU_TYPE)))
   CONFARGS += --disable-multilib
   CONFARGS += --with-arch=rv64gc --with-abi=lp64d
-- 
2.42.0

Reply via email to