[v3,13/13] Documentation for OpenRISC port

Message ID 20211210233456.4146479-14-shorne@gmail.com
State Superseded
Headers
Series Glibc OpenRISC port |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Stafford Horne Dec. 10, 2021, 11:34 p.m. UTC
  OpenRISC architecture specification:

 https://raw.githubusercontent.com/openrisc/doc/master/openrisc-arch-1.3-rev1.pdf

Currently the port as of the 2021-12-07 rebasing has the following test
failures:

 FAIL: timezone/tst-tzset     # Not enough space to create 4GiB file
 FAIL: elf/tst-bz15311        # dynamic ld sort order diff

Writing credits for the port are:

 Stafford Horne  <shorne@gmail.com>
 Christian Svensson  <blue@cmd.nu>
---
 NEWS   | 4 ++++
 README | 1 +
 2 files changed, 5 insertions(+)
  

Comments

Adhemerval Zanella Dec. 23, 2021, 12:57 p.m. UTC | #1
On 10/12/2021 20:34, Stafford Horne via Libc-alpha wrote:
> OpenRISC architecture specification:
> 
>  https://raw.githubusercontent.com/openrisc/doc/master/openrisc-arch-1.3-rev1.pdf
> 
> Currently the port as of the 2021-12-07 rebasing has the following test
> failures:
> 
>  FAIL: timezone/tst-tzset     # Not enough space to create 4GiB file
>  FAIL: elf/tst-bz15311        # dynamic ld sort order diff
> 
> Writing credits for the port are:
> 
>  Stafford Horne  <shorne@gmail.com>
>  Christian Svensson  <blue@cmd.nu>> ---
>  NEWS   | 4 ++++
>  README | 1 +
>  2 files changed, 5 insertions(+)
> 
> diff --git a/NEWS b/NEWS
> index 1398cf2e87..f896746574 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -485,6 +485,10 @@ Major new features:
>    The latest GCC available at this time (10.2) does not support this level of
>    fortification.
>  
> +* Support for OpenRISC on Linux has been added.

I think it would be useful to add only soft-float is currently supported.

> +
> +  The OpenRISC pore requires at least Linux 5.4, GCC 11 and binutils 2.35.
> +>  Deprecated and removed features, and other changes affecting compatibility:
>  
>  * The mallinfo function is marked deprecated.  Callers should call
> diff --git a/README b/README
> index d0f0edb393..3d5a78ccff 100644
> --- a/README
> +++ b/README
> @@ -35,6 +35,7 @@ The GNU C Library supports these configurations for using Linux kernels:
>  	microblaze*-*-linux-gnu
>  	mips-*-linux-gnu
>  	mips64-*-linux-gnu
> +	or1k-*-linux-gnu
>  	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
>  	powerpc64*-*-linux-gnu	Big-endian and little-endian.
>  	s390-*-linux-gnu
  

Patch

diff --git a/NEWS b/NEWS
index 1398cf2e87..f896746574 100644
--- a/NEWS
+++ b/NEWS
@@ -485,6 +485,10 @@  Major new features:
   The latest GCC available at this time (10.2) does not support this level of
   fortification.
 
+* Support for OpenRISC on Linux has been added.
+
+  The OpenRISC pore requires at least Linux 5.4, GCC 11 and binutils 2.35.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * The mallinfo function is marked deprecated.  Callers should call
diff --git a/README b/README
index d0f0edb393..3d5a78ccff 100644
--- a/README
+++ b/README
@@ -35,6 +35,7 @@  The GNU C Library supports these configurations for using Linux kernels:
 	microblaze*-*-linux-gnu
 	mips-*-linux-gnu
 	mips64-*-linux-gnu
+	or1k-*-linux-gnu
 	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
 	powerpc64*-*-linux-gnu	Big-endian and little-endian.
 	s390-*-linux-gnu