Source: gcc-13 Version: 13.2.0-2 Severity: normal Tags: patch User: debian-de...@lists.debian.org Usertags: loong64 X-Debbugs-Cc: debian-de...@lists.debian.org
Hello! In order to ease the bootstrap of the new loong64 port, please reduce the build dependencies and number of enabled languages. - Please disable Ada, D, Go and M2 for loong64 in debian/rules.def. - Please add "!loong64" for gdb in debian/control.m4 The attached patch implements these changes. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
diff -Nru old/gcc-13-13.2.0/debian/control.m4 new/gcc-13-13.2.0/debian/control.m4 --- old/gcc-13-13.2.0/debian/control.m4 2023-07-11 17:40:07.000000000 +0200 +++ new/gcc-13-13.2.0/debian/control.m4 2023-08-30 20:17:54.515043971 +0200 @@ -81,7 +81,7 @@ libzstd-dev, zlib1g-dev, SDT_BUILD_DEP USAGE_BUILD_DEP BINUTILS_BUILD_DEP, gperf (>= 3.0.1), bison (>= 1:2.3), flex, gettext, - gdb`'NT [!riscv64 !mipsel !mips64el], OFFLOAD_BUILD_DEP + gdb`'NT [!loong64 !riscv64 !mipsel !mips64el], OFFLOAD_BUILD_DEP texinfo (>= 4.3), LOCALES, sharutils, procps, FORTRAN_BUILD_DEP GNAT_BUILD_DEP GO_BUILD_DEP GDC_BUILD_DEP GM2_BUILD_DEP ISL_BUILD_DEP MPC_BUILD_DEP MPFR_BUILD_DEP GMP_BUILD_DEP PHOBOS_BUILD_DEP diff -Nru old/gcc-13-13.2.0/debian/rules.defs new/gcc-13-13.2.0/debian/rules.defs --- old/gcc-13-13.2.0/debian/rules.defs 2023-08-04 04:48:33.000000000 +0200 +++ new/gcc-13-13.2.0/debian/rules.defs 2023-08-30 20:11:21.780573351 +0200 @@ -850,6 +850,7 @@ ada_no_cpus := m32r sh3 sh3eb sh4eb ada_no_cpus += arc ada_no_cpus += ia64 +ada_no_cpus += loong64 ada_no_systems := ada_no_cross := no ada_no_snap := no @@ -1006,7 +1007,7 @@ with_libcc1 := endif -go_no_cpus := arc avr hppa +go_no_cpus := arc avr hppa loong64 go_no_cpus += m68k # See PR 79281 / PR 83314 go_no_systems := kfreebsd ifneq (,$(filter $(distrelease),precise)) @@ -1064,7 +1065,7 @@ # D --------------------------- d_no_cross := yes d_no_snap := -d_no_cpus := alpha arc ia64 m68k sh4 s390 sparc64 +d_no_cpus := alpha arc loong64 ia64 m68k sh4 s390 sparc64 d_no_systems := gnu kfreebsd-gnu ifneq ($(single_package),yes) @@ -1261,7 +1262,7 @@ with_m2 := yes endif endif -m2_no_archs = powerpc ppc64 sh4 kfreebsd-amd64 kfreebsd-i386 hurd-amd64 hurd-i386 +m2_no_archs = loong64 powerpc ppc64 sh4 kfreebsd-amd64 kfreebsd-i386 hurd-amd64 hurd-i386 ifneq (,$(filter $(DEB_TARGET_ARCH),$(m2_no_archs))) with_m2 := disabled for cpu $(DEB_TARGET_ARCH) endif