public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-12] install.texi: Bump newlib version for nvptx + gcn
Date: Thu, 26 Jan 2023 10:22:45 +0000 (GMT)	[thread overview]
Message-ID: <20230126102245.5CB793858410@sourceware.org> (raw)

https://gcc.gnu.org/g:c58f1e1c32f4549078e6913026781f64d34412cf

commit c58f1e1c32f4549078e6913026781f64d34412cf
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Thu Jan 26 11:13:52 2023 +0100

    install.texi: Bump newlib version for nvptx + gcn
    
    Before, newlib 3.2 was required for amdgcn and 3.1 for nvptx.
    Now recommended is 4.3.0 which was just released on 2023-01-20.
    
    While currently the old versions would work fine, upcoming GCC
    changes depend on a newer newlib. Thus, the minimal version is
    bumped instead of just recommending the new version.
    
    For GCN, the bump is in preparation for permitting non-threadlocal
    stack variables and vectorized math functions - both scheduled for
    GCC 13 and added to newlib in 4.3.0.
    
    For nvptx, this includes an emulated clock (commit 6bb96d13a),
    a calloc fix (5fca4e0f1) and changes to permit libgfortran to be
    compiled with I/O support instead of only in minimal mode.
    (Patch approved for GCC 13 but pending on a nvtpx patch,
    which for which review is pending.)
    
    gcc/ChangeLog:
    
            * doc/install.texi (amdgcn, nvptx): Require newlib 4.3.0.
    
    (cherry picked from commit e94e9944f59b00de455bb719fd0c5281c5509be6)

Diff:
---
 gcc/ChangeLog.omp    | 7 +++++++
 gcc/doc/install.texi | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp
index ca00bfb48f9..74a2cec4d38 100644
--- a/gcc/ChangeLog.omp
+++ b/gcc/ChangeLog.omp
@@ -1,3 +1,10 @@
+2023-01-26  Tobias Burnus  <tobias@codesourcery.com>
+
+	Backported from master:
+	2023-01-23  Tobias Burnus  <tobias@codesourcery.com>
+
+	* doc/install.texi (amdgcn, nvptx): Require newlib 4.3.0.
+
 2023-01-20  Thomas Schwinge  <thomas@codesourcery.com>
 
 	* collect2.cc (write_c_file_glob): Allow for
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 25b81f7590d..46ccdab120d 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -3806,7 +3806,7 @@ Instead of GNU Binutils, you will need to install LLVM 13.0.1, or later, and cop
 @file{bin/llvm-ar} to both @file{bin/amdgcn-amdhsa-ar} and
 @file{bin/amdgcn-amdhsa-ranlib}.
 
-Use Newlib (3.2.0, or newer).
+Use Newlib (4.3.0 or newer).
 
 To run the binaries, install the HSA Runtime from the
 @uref{https://rocm.github.io,,ROCm Platform}, and use
@@ -4647,7 +4647,7 @@ Instead of GNU binutils, you will need to install
 Tell GCC where to find it:
 @option{--with-build-time-tools=[install-nvptx-tools]/nvptx-none/bin}.
 
-You will need newlib 3.1.0 or later.  It can be
+You will need newlib 4.3.0 or later.  It can be
 automatically built together with GCC@.  For this, add a symbolic link
 to nvptx-newlib's @file{newlib} directory to the directory containing
 the GCC sources.

                 reply	other threads:[~2023-01-26 10:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20230126102245.5CB793858410@sourceware.org \
    --to=burnus@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).