From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1534) id 02C353858D32; Mon, 23 Jan 2023 08:33:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02C353858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674462783; bh=JW1Ezb15UOB85zdw6Wcvob//hXKufBvCM5RZClKi+qY=; h=From:To:Subject:Date:From; b=Ls++JmKbADgdbedWGbUImw1EuDcpUp4cNnY4ias1VwExTLI4cLux6WxDNGK+BCcLj XaX7rd6pmZRpjUPoT9HaDBUs+M7YR6LkC9dkgDG4fvI+0AU5XyJ6n8rODX9orkMrI2 ojeb8yaRqpxbB+TyqgGB3NfPDupP8sDwRdull6+0= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Tobias Burnus To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5286] install.texi: Bump newlib version for nvptx + gcn X-Act-Checkin: gcc X-Git-Author: Tobias Burnus X-Git-Refname: refs/heads/master X-Git-Oldrev: 106f99406312d7ed47434de53c180718225ffa5e X-Git-Newrev: e94e9944f59b00de455bb719fd0c5281c5509be6 Message-Id: <20230123083303.02C353858D32@sourceware.org> Date: Mon, 23 Jan 2023 08:33:03 +0000 (GMT) List-Id: https://gcc.gnu.org/g:e94e9944f59b00de455bb719fd0c5281c5509be6 commit r13-5286-ge94e9944f59b00de455bb719fd0c5281c5509be6 Author: Tobias Burnus Date: Mon Jan 23 09:31:11 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. Diff: --- gcc/doc/install.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index ccc8d15fd08..b1861a6a437 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -3855,7 +3855,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 @@ -4672,7 +4672,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.