https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100141

            Bug ID: 100141
           Summary: Unable to build amdgcn-amdhsa offload accelerator for
                    MinGW-w64 for both Windows 32-bit and 64-bit
           Product: gcc
           Version: 10.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: brechtsanders at users dot sourceforge.net
  Target Milestone: ---

Created attachment 50625
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50625&action=edit
amdgcn-amdhsa/libgcc/config.log

When I try to build the GCC amdgcn-amdhsa offload accelerator for MinGW-w64 for
both Windows 32-bit (--target=amdgcn-amdhsa
--enable-as-accelerator-for=i686-w64-mingw32) and 64-bit
(--target=amdgcn-amdhsa --enable-as-accelerator-for=x86_64-w64-mingw32).
This has been the case all versions I tried (last attempt was 10.3.0).

The output I get is:
checking for suffix of object files... configure: error: in
`/R/winlibs64-10.3.0/gcc-offload-amdgcn-10.3.0/gcc-10.3.0/build_win_offload-amdgcn/amdgcn-amdhsa/libgcc':
configure: error: cannot compute suffix of object files: cannot compile

See attached amdgcn-amdhsa/libgcc/config.log

The full command line (for Windows 64-bit) looks like this:
../configure
--prefix=/R/winlibs64-10.3.0/inst_gcc-offload-amdgcn-10.3.0/share/gcc
--build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=amdgcn-amdhsa
--enable-as-accelerator-for=x86_64-w64-mingw32 
--with-build-time-tools=/d/Prog/winlibs64-10.3.0/custombuilt/share/amdgcn-tools/amdgcn-amdhsa/bin
--with-gnu-as --with-gnu-ld --disable-serial-configure
--enable-checking=release --without-libbacktrace --without-included-gettext
--without-cuda-driver --enable-multiarch --enable-newlib-io-long-long
--enable-linker-build-id --with-newlib --disable-sjlj-exceptions
--disable-libunwind-exceptions --disable-libgomp
--enable-languages=c,c++,lto,objc,obj-c++,d
CFLAGS="-I/d/Prog/winlibs64-10.3.0/custombuilt/include/mman-win32"
LDFLAGS="-Wl,--as-needed -lmman"
  • [Bug c/100141] New... brechtsanders at users dot sourceforge.net via Gcc-bugs

Reply via email to