Bug#1069708: gcc-14: enable d, ada and m2 for loong64
Package: gcc-14
Version: 14-20240330-1
Severity: normal
User: debian-loongarch@lists.debian.org
Usertags: loong64
Dear Maintainer,
We want to enable d, ada and m2 for Loong64, to make it
more complete.
-- System Information:
Debian Release: trixie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)
Kernel: Linux 5.10.0-60.121.0.148.oe2203.loongarch64 (SMP w/32 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to POSIX), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages gcc-14 depends on:
ii binutils 2.42-4
ii gcc-14-base 14-20240330-1
ii gcc-14-loongarch64-linux-gnu 14-20240330-1
Versions of packages gcc-14 recommends:
ii libc6-dev 2.37-18
Versions of packages gcc-14 suggests:
pn gcc-14-doc <none>
ii gcc-14-locales 14-20240330-1
-- no debconf information
diff --git a/debian/rules.defs b/debian/rules.defs
index 5a3a56f..a39ba58 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -872,7 +872,7 @@ endif
ifeq (,$(filter $(DEB_STAGE),stage1 stage2))
# Ada --------------------
-ada_no_cpus := arc ia64 loong64 sh3 sh3eb sh4eb
+ada_no_cpus := arc ia64 sh3 sh3eb sh4eb
#ada_no_cpus += armel # See Debian #1061370
ada_no_systems :=
ada_no_cross := no
@@ -1024,7 +1024,7 @@ endif
# D ---------------------------
d_no_cross := yes
d_no_snap :=
-d_no_cpus := alpha arc ia64 loong64 m68k sh4 s390 sparc64
+d_no_cpus := alpha arc ia64 m68k sh4 s390 sparc64
d_no_systems := gnu
ifneq ($(separate_lang),yes)
@@ -1060,7 +1060,7 @@ ifeq ($(with_d),yes)
phobos_archs += mips mips64 mipsel mips64el
phobos_archs += mipsn32 mipsn32el
phobos_archs += mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el
- phobos_archs += riscv64 s390x
+ phobos_archs += riscv64 s390x loong64
phobos_archs += $(druntime_only_archs)
ifneq (,$(filter $(DEB_TARGET_ARCH), $(phobos_archs)))
with_phobos := yes
@@ -1194,7 +1194,7 @@ ifneq ($(with_base_only),yes)
with_m2 := yes
endif
endif
-m2_no_cpus = loong64 powerpc ppc64 sh4
+m2_no_cpus = powerpc ppc64 sh4
m2_no_systems =
ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),$(m2_no_cpus)))
with_m2 := disabled for cpu $(DEB_TARGET_ARCH_CPU)
Reply to: