https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116104
--- Comment #3 from Andrew Stubbs <ams at gcc dot gnu.org> --- (In reply to Jeffrey A. Law from comment #1) > So, how am I supposed to reproduce this? I don't have an assembler/binutils > for amdgcn and thus libgcc won't configure. Thus I can't extract a testcase. > > Alternately, if you could just attach a .i file, it'd be helpful. In fact, you probably do have an assembler and linker already installed! Just copy "llvm-mc" to amdgcn-amdhsa/bin/as and llvm's "lld" to amdgcn-amdhsa/bin/ld. You might want ar, ranlib, and nm too. Full details here: https://gcc.gnu.org/wiki/Offloading#For_AMD_GCN