Source: python3.9
Severity: normal
Tags: patch upstream

Dear Maintainer,

There's a new triplet for ARCv2 processors "arc-linux-gnu"
defined here https://wiki.debian.org/Multiarch/Tuples.

With addition of this triplet to Python3 it becomes buildable for ARC.
Attaching a simple diff that implements proposed change.

-- 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
diff --git a/configure b/configure
index 1252335472..7f735e99c7 100755
--- a/configure
+++ b/configure
@@ -5231,6 +5231,8 @@ cat >> conftest.c <<EOF
 #  else
         aarch64_be-linux-gnu
 #  endif
+# elif defined(__arc__)
+        arc-linux-gnu
 # elif defined(__alpha__)
         alpha-linux-gnu
 # elif defined(__ARM_EABI__) && defined(__ARM_PCS_VFP)

Reply via email to