public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100141] New: Unable to build amdgcn-amdhsa offload accelerator for MinGW-w64 for both Windows 32-bit and 64-bit
@ 2021-04-19  6:55 brechtsanders at users dot sourceforge.net
  2021-04-19  7:21 ` [Bug target/100141] " jakub at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: brechtsanders at users dot sourceforge.net @ 2021-04-19  6:55 UTC (permalink / raw)
  To: gcc-bugs

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"

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-19  8:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19  6:55 [Bug c/100141] New: Unable to build amdgcn-amdhsa offload accelerator for MinGW-w64 for both Windows 32-bit and 64-bit brechtsanders at users dot sourceforge.net
2021-04-19  7:21 ` [Bug target/100141] " jakub at gcc dot gnu.org
2021-04-19  8:45 ` brechtsanders at users dot sourceforge.net
2021-04-19  8:49 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).