From: Tobias Burnus Date: Mon, 29 Jan 2024 10:20:49 +0000 (+0100) Subject: install.texi: For gcn, recommend LLVM 15, unless gfx1100 is disabled X-Git-Tag: basepoints/gcc-15~1649 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1a38cd67e1632d67fe9dfae0d09fd599fce6d76;p=thirdparty%2Fgcc.git 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 --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