Linux SNPS ARC Archive on
 help / color / Atom feed
From: Vineet Gupta <>
Cc: Vineet Gupta <>,,
	Adhemerval Zanella <>
Subject: [COMMITTED 13/13] Documentation for ARC port
Date: Fri, 10 Jul 2020 16:38:10 -0700
Message-ID: <> (raw)
In-Reply-To: <>

(a) ABI doc:

(b) Programmer's Reference Manual (PRM) : needs a download request to be filled

As of port merge (and Florian's patch to fix static TLS), glibc testsuite
(cross-test setup) has following failures:

FAIL: elf/tst-audit14
FAIL: elf/tst-audit15
FAIL: elf/tst-audit16
FAIL: elf/tst-ldconfig-ld_so_conf-update
FAIL: elf/tst-libc_dlvsym
FAIL: elf/tst-libc_dlvsym-static
FAIL: iconv/test-iconvconfig		# Needs gconv installed
FAIL: io/ftwtest			# Requires execution by non-root
FAIL: io/tst-lockf
FAIL: libio/tst-wfile-sync
FAIL: locale/tst-localedef-path-norm
FAIL: nptl/test-cond-printers		# needs Python3 and target GDB on target
FAIL: nptl/test-condattr-printers	#    ditto
FAIL: nptl/test-mutex-printers		#    ditto
FAIL: nptl/test-mutexattr-printers	#    ditto
FAIL: nptl/test-rwlock-printers		#    ditto
FAIL: nptl/test-rwlockattr-printers	#    ditto
FAIL: nptl/tst-umask1			# passes if run natively on target (NFS ACLv3 support needed)
FAIL: nss/bug-erange
FAIL: nss/tst-nss-files-hosts-getent
FAIL: nss/tst-nss-files-hosts-multi
FAIL: posix/bug-ga2
FAIL: posix/globtest			# require same user on target and host
FAIL: posix/tst-getaddrinfo5
FAIL: stdio-common/tst-vfprintf-width-prec
FAIL: stdio-common/tst-vfprintf-width-prec-alloc
FAIL: stdio-common/tst-vfprintf-width-prec-mem
FAIL: string/tst-strerror
FAIL: string/tst-strsignal
FAIL: sunrpc/bug20790			# missing cpp on target
FAIL: timezone/tst-tzset

Reviewed-by: Adhemerval Zanella  <>
 NEWS                | 11 +++++++++++
 README              |  1 +
 manual/install.texi |  4 ++++
 3 files changed, 16 insertions(+)

diff --git a/NEWS b/NEWS
index 0b25b4fde99a..92dcb77fef07 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,17 @@ Major new features:
 * New locale added: ckb_IQ (Kurdish/Sorani spoken in Iraq)
+* Support for Synopsys ARC HS cores (ARCv2 ISA) running Linux has been
+  added. This port requires at least binutils-2.32, gcc-8.3 and Linux-5.1.
+  Three ABIs are supported:
+     - arc-linux-gnu
+     - arc-linux-gnuhf
+     - arceb-linux-gnu
+  The arc* ABI is little-endian while arceb is big-endian. All ABIs use
+  64-bit time (y2038 safe) and 64-bit file offsets (LFS default).
 * The GNU C Library now loads audit modules listed in the DT_AUDIT and
   DT_DEPAUDIT dynamic section entries of the main executable.
diff --git a/README b/README
index 31c5da0405bd..903f07e4840a 100644
--- a/README
+++ b/README
@@ -24,6 +24,7 @@ The GNU C Library supports these configurations for using Linux kernels:
+	arc*-*-linux-gnu
diff --git a/manual/install.texi b/manual/install.texi
index ea0059a4ec98..735e99bb0356 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -512,6 +512,8 @@ Library with support for IEEE long double.
 @c powerpc64le performs an autoconf test to verify the compiler compiles with
 @c commands like "$CC -c foo.c -mabi=ibmlongdouble -mlong-double-128".
+For ARC architecture builds, GCC 8.3 or higher is needed.
 For multi-arch support it is recommended to use a GCC which has been built with
 support for GNU indirect functions.  This ensures that correct debugging
 information is generated for functions selected by IFUNC resolvers.  This
@@ -537,6 +539,8 @@ For PowerPC 64-bits little-endian (powerpc64le), @command{objcopy} is required
 to support @option{--update-section}.  This option requires binutils 2.26 or
+ARC architecture needs @code{binutils} 2.32 or higher for TLS related fixes.
 GNU @code{texinfo} 4.7 or later

linux-snps-arc mailing list

      parent reply index

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 23:37 [COMMITTED 01/13] ARC: ABI Implementation Vineet Gupta
2020-07-10 23:37 ` [COMMITTED 02/13] ARC: startup and dynamic linking code Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 03/13] ARC: Thread Local Storage support Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 04/13] ARC: Atomics and Locking primitives Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 05/13] ARC: math soft float support Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 06/13] ARC: hardware floating point support Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 07/13] ARC: Linux Syscall Interface Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 08/13] ARC: Linux ABI Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 09/13] ARC: Linux Startup and Dynamic Loading Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 10/13] ARC: ABI lists Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 11/13] ARC: Build Infrastructure Vineet Gupta
2020-07-10 23:38 ` [COMMITTED 12/13] Enable ARC builds Vineet Gupta
2020-07-10 23:38 ` Vineet Gupta [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux SNPS ARC Archive on

Archives are clonable:
	git clone --mirror linux-snps-arc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-snps-arc linux-snps-arc/ \
	public-inbox-index linux-snps-arc

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone