From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1534) id EA2F33858D20; Mon, 29 Jan 2024 10:21:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA2F33858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706523697; bh=QJfkSfmNXkSW1f2VCZtJTWjY4WdKjRXuH80SIpcwcYE=; h=From:To:Subject:Date:From; b=pQPsysNdkfrjyDQpkMVjfj4TzNRwn4dWSlCbbTS0UakQZpe3peHBQrWCnwD+2sCkR TRC+1HSF3xBfo5W/mQqvt8ZAhoG4hFoZKmqEtgQVasQnOwVt2+viuc7geuQ5y/n2Gc EH1PCddeEUU2CGa3CbDvXIOtjIf1LM7X4yZ81wZc= 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 r14-8490] install.texi: For gcn, recommend LLVM 15, unless gfx1100 is disabled X-Act-Checkin: gcc X-Git-Author: Tobias Burnus X-Git-Refname: refs/heads/master X-Git-Oldrev: ef5ccdbbc60c230a483898afbf0c053a9f8bb176 X-Git-Newrev: c1a38cd67e1632d67fe9dfae0d09fd599fce6d76 Message-Id: <20240129102137.EA2F33858D20@sourceware.org> Date: Mon, 29 Jan 2024 10:21:37 +0000 (GMT) List-Id: https://gcc.gnu.org/g:c1a38cd67e1632d67fe9dfae0d09fd599fce6d76 commit r14-8490-gc1a38cd67e1632d67fe9dfae0d09fd599fce6d76 Author: Tobias Burnus Date: Mon Jan 29 11:20:49 2024 +0100 install.texi: For gcn, recommend LLVM 15, unless gfx1100 is disabled gcc/ChangeLog: * doc/install.texi (amdgcn): Recommend LLVM 15+ and newlib 4.4+, but keep requiring only newlib 4.3+ and, if gfx1100 is disabled, LLVM 13.0.1+. Signed-off-by: Tobias Burnus Diff: --- gcc/doc/install.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 5747b5a12fe8..c77944391077 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -3927,14 +3927,15 @@ This is a synonym for @samp{x86_64-*-solaris2*}. @heading amdgcn-*-amdhsa AMD GCN GPU target. -Instead of GNU Binutils, you will need to install LLVM 13.0.1, or later, and copy +Instead of GNU Binutils, you will need to install LLVM 15, or later, and copy @file{bin/llvm-mc} to @file{amdgcn-amdhsa/bin/as}, @file{bin/lld} to @file{amdgcn-amdhsa/bin/ld}, @file{bin/llvm-nm} to @file{amdgcn-amdhsa/bin/nm}, and @file{bin/llvm-ar} to both @file{bin/amdgcn-amdhsa-ar} and -@file{bin/amdgcn-amdhsa-ranlib}. +@file{bin/amdgcn-amdhsa-ranlib}. Note that LLVM 13.0.1 or LLVM 14 can be used +by specifying a @code{--with-multilib-list=} that does not list @code{gfx1100}. -Use Newlib (4.3.0 or newer). +Use Newlib (4.3.0 or newer; 4.4.0 or later is recommended). To run the binaries, install the HSA Runtime from the @uref{https://rocm.docs.amd.com/,,ROCm Platform}, and use