diff mbox series

[v3,16/17] NEWS: mention ARC port

Message ID 20200306182419.13945-17-vgupta@synopsys.com
State New
Headers show
Series glibc port to ARC processors | expand

Commit Message

Vineet Gupta March 6, 2020, 6:24 p.m. UTC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 NEWS | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Joseph Myers March 7, 2020, 12:14 a.m. UTC | #1
On Fri, 6 Mar 2020, Vineet Gupta wrote:

> +* Support for ARC HS cores running Linux has been contributed by Synopsys.
> +  Port requires atleast
> +    - binutils-2.31 (binutils-2_31-branch: commit 6ce881c15fc4, 2018-10-04)
> +    - gcc 8.2 (gcc-8-stable: commit 0d5ba57508c5, 2019-01-29)
> +    - Linux kernel 5.1+

You need to update the list of supported configurations in README.

Any architecture with a higher minimum compiler / binutils version than 
normal needs it documented in install.texi, with the INSTALL file 
regenerated.
Vineet Gupta March 7, 2020, 12:55 a.m. UTC | #2
On 3/6/20 4:14 PM, Joseph Myers wrote:
> On Fri, 6 Mar 2020, Vineet Gupta wrote:
> 
>> +* Support for ARC HS cores running Linux has been contributed by Synopsys.
>> +  Port requires atleast
>> +    - binutils-2.31 (binutils-2_31-branch: commit 6ce881c15fc4, 2018-10-04)
>> +    - gcc 8.2 (gcc-8-stable: commit 0d5ba57508c5, 2019-01-29)
>> +    - Linux kernel 5.1+
> 
> You need to update the list of supported configurations in README.

Ok did that now. Is it not supposed to also cover the hf (hard-float) configs for
architectures in general ?

> 
> Any architecture with a higher minimum compiler / binutils version than 
> normal needs it documented in install.texi, with the INSTALL file 
> regenerated.

"normal" would the ones mentioned in build-many-glibcs ? The min versions for ARC
are over year old already so I don't think it needs mentioning.
Joseph Myers March 7, 2020, 1:08 a.m. UTC | #3
On Sat, 7 Mar 2020, Vineet Gupta wrote:

> On 3/6/20 4:14 PM, Joseph Myers wrote:
> > On Fri, 6 Mar 2020, Vineet Gupta wrote:
> > 
> >> +* Support for ARC HS cores running Linux has been contributed by Synopsys.
> >> +  Port requires atleast
> >> +    - binutils-2.31 (binutils-2_31-branch: commit 6ce881c15fc4, 2018-10-04)
> >> +    - gcc 8.2 (gcc-8-stable: commit 0d5ba57508c5, 2019-01-29)
> >> +    - Linux kernel 5.1+
> > 
> > You need to update the list of supported configurations in README.
> 
> Ok did that now. Is it not supposed to also cover the hf (hard-float) 
> configs for architectures in general ?

README has a high-level summary, not full details of every supported ABI 
variant.

> > Any architecture with a higher minimum compiler / binutils version than 
> > normal needs it documented in install.texi, with the INSTALL file 
> > regenerated.
> 
> "normal" would the ones mentioned in build-many-glibcs ? The min versions for ARC
> are over year old already so I don't think it needs mentioning.

"normal" means "the versions documented in install.texi, node Tools for 
Compilation, as the minimum for building glibc on most architectures".

That node should give comprehensive information on what tool versions are 
needed to build glibc.  If an architecture requires GCC more recent than 
6.2, or binutils more recent than 2.25, that needs to be documented there 
(unless the minimum versions for that architecture are the minimum 
binutils / GCC versions that supported that architecture at all).

An alternative in some cases is increasing the global minimum.  Typically 
the global minimum is a version from a few years ago; if it's been a year 
since the minimum major GCC version for building glibc was last updated, 
it may well be reasonable to propose an architecture-independent increase 
of that version to the next major GCC release, for example.
Vineet Gupta March 7, 2020, 1:26 a.m. UTC | #4
On 3/6/20 5:08 PM, Joseph Myers wrote:

> "normal" means "the versions documented in install.texi, node Tools for 
> Compilation, as the minimum for building glibc on most architectures".
> 
> That node should give comprehensive information on what tool versions are 
> needed to build glibc.  If an architecture requires GCC more recent than 
> 6.2, or binutils more recent than 2.25, that needs to be documented there 
> (unless the minimum versions for that architecture are the minimum 
> binutils / GCC versions that supported that architecture at all).

Something along the lines...

-   * GCC 6.2 or newer
+   * GCC 6.2 or newer  (For some architectures specific later versions needed)

-     GCC 6.2 or higher is required.  In general it is recommended to use
-     the newest version of the compiler that is known to work for
+     GCC 6.2 or higher is required. ARC architecture needs gcc 8.2 or later.
+     In general it is recommended to use the newest version of the compiler

....

> 
> An alternative in some cases is increasing the global minimum.  Typically 
> the global minimum is a version from a few years ago; if it's been a year 
> since the minimum major GCC version for building glibc was last updated, 
> it may well be reasonable to propose an architecture-independent increase 
> of that version to the next major GCC release, for example.
>
Joseph Myers March 7, 2020, 1:29 a.m. UTC | #5
On Sat, 7 Mar 2020, Vineet Gupta wrote:

> On 3/6/20 5:08 PM, Joseph Myers wrote:
> 
> > "normal" means "the versions documented in install.texi, node Tools for 
> > Compilation, as the minimum for building glibc on most architectures".
> > 
> > That node should give comprehensive information on what tool versions are 
> > needed to build glibc.  If an architecture requires GCC more recent than 
> > 6.2, or binutils more recent than 2.25, that needs to be documented there 
> > (unless the minimum versions for that architecture are the minimum 
> > binutils / GCC versions that supported that architecture at all).
> 
> Something along the lines...

Yes, that sort of thing.  For a while there was a higher version required 
for powerpc64le, and there will be again soon, so that's an example.
diff mbox series

Patch

diff --git a/NEWS b/NEWS
index 58ab5a89e894..923dd18d1478 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,12 @@  Major new features:
     - rv32imafdc ilp32
     - rv32imafdc ilp32d
 
+* Support for ARC HS cores running Linux has been contributed by Synopsys.
+  Port requires atleast
+    - binutils-2.31 (binutils-2_31-branch: commit 6ce881c15fc4, 2018-10-04)
+    - gcc 8.2 (gcc-8-stable: commit 0d5ba57508c5, 2019-01-29)
+    - Linux kernel 5.1+
+
 Deprecated and removed features, and other changes affecting compatibility:
 
   [Add deprecations, removals and changes affecting compatibility here]