public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100208] New: amdgcn fails to build with llvm-mc from llvm12
@ 2021-04-22 12:37 rguenth at gcc dot gnu.org
  2021-04-22 14:01 ` [Bug target/100208] " ams at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-22 12:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100208
           Summary: amdgcn fails to build with llvm-mc from llvm12
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

It fails configuring the target libgcc for the gfx908 multilib like

configure:3566:
/home/abuild/rpmbuild/BUILD/gcc-11.0.1+git10/obj-x86_64-suse-linux/./gcc/xgcc
-B/home/abuild/rpmbuild/BUILD/gcc-11.0.1+git10/obj-x86_64-suse-linux/./gcc/
-nostdinc
-B/home/abuild/rpmbuild/BUILD/gcc-11.0.1+git10/obj-x86_64-suse-linux/amdgcn-amdhsa/gfx908/newlib/
-isystem
/home/abuild/rpmbuild/BUILD/gcc-11.0.1+git10/obj-x86_64-suse-linux/amdgcn-amdhsa/gfx908/newlib/targ-include
-isystem /home/abuild/rpmbuild/BUILD/gcc-11.0.1+git10/newlib/libc/include
-B/usr/amdgcn-amdhsa/bin/ -B/usr/amdgcn-amdhsa/lib/ -isystem
/usr/amdgcn-amdhsa/include -isystem /usr/amdgcn-amdhsa/sys-include 
-march=gfx908 -o conftest -g -O2   conftest.c  >&5
/tmp/ccAA4X08.s:1:17: error: target must match options
        .amdgcn_target "amdgcn-unknown-amdhsa--gfx908+sram-ecc"
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
configure:3569: $? = 1
...
configure:3824: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details

The other multilibs seem to configure fine.  It works when using llvm-mc from
llvm11.  The gcc-10 branch also seems fine since it doesn't have this
particular multilib.

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

end of thread, other threads:[~2021-10-18  8:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22 12:37 [Bug target/100208] New: amdgcn fails to build with llvm-mc from llvm12 rguenth at gcc dot gnu.org
2021-04-22 14:01 ` [Bug target/100208] " ams at gcc dot gnu.org
2021-07-19 16:37 ` cvs-commit at gcc dot gnu.org
2021-07-21  9:30 ` ams at gcc dot gnu.org
2021-07-28 13:04 ` cvs-commit at gcc dot gnu.org
2021-10-18  8:57 ` cvs-commit at gcc dot gnu.org
2021-10-18  8:57 ` cvs-commit 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).