public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/102260] New: amdgcn offload compiler fails to configure, not matching target directive's target id
@ 2021-09-09 15:33 doko at debian dot org
2021-09-09 15:51 ` [Bug target/102260] " ams at gcc dot gnu.org
2023-12-01 9:48 ` doko at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: doko at debian dot org @ 2021-09-09 15:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102260
Bug ID: 102260
Summary: amdgcn offload compiler fails to configure, not
matching target directive's target id
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at debian dot org
Target Milestone: ---
building the amdgcn offload compiler using the current trunk fails with newer
LLVM versions (used as the "binutils). LLVM 9 is known to work, LLVM 10 to 13
don't work, with LLVM 13 bailing outin the libgcc gfx900 configure:
configure:3566: /packages/gcc/snap/gcc-snapshot-20210909/build-gcn/./gcc/xgcc
-B/packages/gcc/snap/gcc-snapshot-20210909/build-gc
n/./gcc/ -nostdinc
-B/packages/gcc/snap/gcc-snapshot-20210909/build-gcn/amdgcn-amdhsa/gfx900/newlib/
-isystem /packages/gcc/snap/
gcc-snapshot-20210909/build-gcn/amdgcn-amdhsa/gfx900/newlib/targ-include
-isystem /packages/gcc/snap/gcc-snapshot-20210909/src-gc
n/newlib/libc/include -B/usr/lib/gcc-snapshot/amdgcn-amdhsa/bin/
-B/usr/lib/gcc-snapshot/amdgcn-amdhsa/lib/ -isystem /usr/lib/gcc
-snapshot/amdgcn-amdhsa/include -isystem
/usr/lib/gcc-snapshot/amdgcn-amdhsa/sys-include -march=gfx900 -o conftest -g
-O2 conf
test.c >&5
/tmp/ccuvyB8E.s:1:17: error: .amdgcn_target directive's target id
amdgcn-unknown-amdhsa--gfx900 does not match the specified targ
et id amdgcn-unknown-amdhsa--gfx900:xnack-
.amdgcn_target "amdgcn-unknown-amdhsa--gfx900"
^
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/102260] amdgcn offload compiler fails to configure, not matching target directive's target id
2021-09-09 15:33 [Bug target/102260] New: amdgcn offload compiler fails to configure, not matching target directive's target id doko at debian dot org
@ 2021-09-09 15:51 ` ams at gcc dot gnu.org
2023-12-01 9:48 ` doko at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ams at gcc dot gnu.org @ 2021-09-09 15:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102260
Andrew Stubbs <ams at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-09-09
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |ams at gcc dot gnu.org
--- Comment #1 from Andrew Stubbs <ams at gcc dot gnu.org> ---
In addition to changing the amdgcn_target syntax in LLVM 13, the LLVM GCN guys
have also renamed the "sram-ecc" attribute to "sramecc" on the CLI, and have
not provided any backwards compatibility for either change.
These are not helpful decisions and will require configure tests in GCC to
support all the variations. :-(
I'm working on it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/102260] amdgcn offload compiler fails to configure, not matching target directive's target id
2021-09-09 15:33 [Bug target/102260] New: amdgcn offload compiler fails to configure, not matching target directive's target id doko at debian dot org
2021-09-09 15:51 ` [Bug target/102260] " ams at gcc dot gnu.org
@ 2023-12-01 9:48 ` doko at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: doko at gcc dot gnu.org @ 2023-12-01 9:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102260
Matthias Klose <doko at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
CC| |doko at gcc dot gnu.org
--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
closing this one, LLVM 15, 16, 17 are known to work
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-01 9:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 15:33 [Bug target/102260] New: amdgcn offload compiler fails to configure, not matching target directive's target id doko at debian dot org
2021-09-09 15:51 ` [Bug target/102260] " ams at gcc dot gnu.org
2023-12-01 9:48 ` doko 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).