--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gcc-defaults-ports: Please add cross-compilers for ARC
- From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
- Date: Mon, 06 Sep 2021 16:47:07 +0300
- Message-id: <163093602706.3219.18322280484648940408.reportbug@abrodkin-5550.internal.synopsys.com>
Source: gcc-defaults-ports
Version: 1.190
Severity: normal
Tags: patch
Dear Maintainer,
Now when we work on Debian port for ARC processors it's very handy to have
a cross-compiler and ideally crossbuild-essential for ARC.
Please refer to the following patch which adds ARC to the list of
generated cross-compilers.
-Alexey
diff --git a/debian/rules b/debian/rules
index 57c332e..a4102c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -208,12 +208,12 @@ ifneq (,$(filter $(DEB_HOST_ARCH), i386 kfreebsd-i386 hurd-i386))
endif
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-all_archs = alpha amd64 armel armhf arm64 hppa i386 ia64 m68k mipsel mips64 mips64el or1k powerpc powerpcspe ppc64 ppc64el riscv64 s390 s390x sh4 sparc sparc64 x32 hurd-i386 kfreebsd-amd64 kfreebsd-i386
+all_archs = alpha amd64 arc armel armhf arm64 hppa i386 ia64 m68k mipsel mips64 mips64el or1k powerpc powerpcspe ppc64 ppc64el riscv64 s390 s390x sh4 sparc sparc64 x32 hurd-i386 kfreebsd-amd64 kfreebsd-i386
gcc9_archs = powerpcspe
-gcc10_archs = alpha amd64 armel armhf arm64 hppa i386 ia64 m68k mipsel mips64 mips64el or1k powerpc ppc64 ppc64el riscv64 s390 s390x sh4 sparc sparc64 x32 hurd-i386 kfreebsd-amd64 kfreebsd-i386
+gcc10_archs = alpha amd64 arc armel armhf arm64 hppa i386 ia64 m68k mipsel mips64 mips64el or1k powerpc ppc64 ppc64el riscv64 s390 s390x sh4 sparc sparc64 x32 hurd-i386 kfreebsd-amd64 kfreebsd-i386
-gnat_archs = alpha amd64 armel armhf arm64 hppa i386 ia64 m68k mipsel mips64 mips64el or1k powerpc powerpcspe ppc64 ppc64el s390 s390x sh4 sparc sparc64 x32 hurd-i386 kfreebsd-amd64 kfreebsd-i386
+gnat_archs = alpha amd64 arc armel armhf arm64 hppa i386 ia64 m68k mipsel mips64 mips64el or1k powerpc powerpcspe ppc64 ppc64el s390 s390x sh4 sparc sparc64 x32 hurd-i386 kfreebsd-amd64 kfreebsd-i386
gnat9_archs =
# CV_XXX is the complete version number, including the release, without epoch
@@ -321,7 +321,7 @@ go_multilib_archs = $(filter $(go_archs), $(filter-out armel armhf, $(multilib_a
d_multilib_archs = $(filter-out armel, $(multilib_archs))
-ada_archs = alpha amd64 arm64 armel armhf hppa i386 ia64 m68k \
+ada_archs = alpha amd64 arc arm64 armel armhf hppa i386 ia64 m68k \
mips64 mipsel mips64el mipsn32 mipsn32el \
mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el \
powerpc ppc64 ppc64el riscv64 s390 s390x sh4 sparc sparc64 \
@@ -344,6 +344,7 @@ m2_archs = alpha amd64 arm64 armel armhf i386 ia64 \
HOST_ARCHS_alpha = amd64 i386 x32
HOST_ARCHS_amd64 = arm64 i386 ppc64el x32
+HOST_ARCHS_arc = amd64 i386 x32
HOST_ARCHS_armhf = amd64 i386 x32 arm64 ppc64el
HOST_ARCHS_armel = amd64 i386 x32 arm64 ppc64el
HOST_ARCHS_arm64 = amd64 i386 x32 ppc64el
@@ -393,7 +394,7 @@ ifeq (,$(CROSS_ARCHS))
endif
else # -ports package
ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 x32))
- CROSS_ARCHS ?= alpha hppa m68k ppc64 riscv64 sh4 sparc64 \
+ CROSS_ARCHS ?= alpha arc hppa m68k ppc64 riscv64 sh4 sparc64 \
$(if $(filter $(vendor), Ubuntu),, powerpc) \
$(if $(filter $(DEB_HOST_ARCH), amd64 i386), x32)
else ifeq ($(DEB_HOST_ARCH),arm64)
-- System Information:
Debian Release: bullseye/sid
APT prefers focal-updates
APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal-proposed'), (500, 'focal'), (100, 'focal-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.72-microsoft-standard-WSL2 (SMP w/12 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
--- End Message ---