Hi! Great progress that you've made! :-)
On 2024-01-26T13:32:02+0100, Tobias Burnus <tbur...@baylibre.com> wrote: > Tobias Burnus wrote: >> Am 24.01.24 um 17:01 schrieb Tobias Burnus: >>> Okay to enable gfx1100 multilib building and to document gfx1100 in >>> the manual? >> >> and, with this patch, additionally gfx1030? > amdgcn: config.gcc - enable gfx1030 and gfx1100 multilib; add them to the docs > --- a/gcc/doc/install.texi > +++ b/gcc/doc/install.texi > @@ -1258,12 +1258,12 @@ default set of libraries is selected based on the > value of > > @item amdgcn*-*-* > @var{list} is a comma separated list of ISA names (allowed values: > @code{fiji}, > -@code{gfx900}, @code{gfx906}, @code{gfx908}, @code{gfx90a}). It ought not > -include the name of the default ISA, specified via @option{--with-arch}. If > -@var{list} is empty, then there will be no multilibs and only the default > -run-time library will be built. If @var{list} is @code{default} or > -@option{--with-multilib-list=} is not specified, then the default set of > -libraries is selected. > +@code{gfx900}, @code{gfx906}, @code{gfx908}, @code{gfx90a}, @code{gfx1030}, > +@code{gfx1100}). It ought not include the name of the default ISA, specified > +via @option{--with-arch}. If @var{list} is empty, then there will be no > +multilibs and only the default run-time library will be built. If @var{list} > +is @code{default} or @option{--with-multilib-list=} is not specified, then > +the default set of libraries is selected. Further down in that file, we state: @anchor{amdgcn-x-amdhsa} @heading amdgcn-*-amdhsa AMD GCN GPU target. Instead of GNU Binutils, you will need to install LLVM 13.0.1, or later, [...] LLVM 13.0.1 may still be fine for gfx1030 ('[...]/amdgcn-amdhsa/gfx1030/libgcc' does get built; I've not further tested), but it's not sufficient for gfx1100 anymore: [...] checking for suffix of object files... configure: error: in `[...]/amdgcn-amdhsa/gfx1100/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details make[1]: *** [Makefile:14105: configure-target-libgcc] Error 1 [...] '[...]/amdgcn-amdhsa/gfx1100/libgcc/config.log': [...] 'gfx1100' is not a recognized processor for this target (ignoring processor) 'gfx1100' is not a recognized processor for this target (ignoring processor) /tmp/ccZdohcj.s:1:17: error: .amdgcn_target directive's target id amdgcn-unknown-amdhsa--gfx1100 does not match the specified target id amdgcn-unknown-amdhsa--gfx000 .amdgcn_target "amdgcn-unknown-amdhsa--gfx1100" ^ [...] Which version of LLVM should we be recommending? Grüße Thomas