Summary: | dev-util/intel-graphics-compiler-1.0.4111 cannot be built with sys-devel/clang:10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Marek Szuba (RETIRED) <marecki> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/intel/intel-graphics-compiler/issues/126 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
1-CMakeOutput.log |
Description
Agostino Sarubbo
![]() Created attachment 656590 [details]
build.log
build log and emerge --info
Created attachment 656592 [details]
1-CMakeOutput.log
1-CMakeOutput.log
This appears to be a known issue, although interestingly enough the FreeBSD people who reported it said all 10.0 versions are affected and I have never (including just a moment ago) had any problems with 10.0.0 here. The upstream issue remains open and even if any newer IGC versions were not affected, they all require mem2reg functionality in SPIRV-LLVM-Translator which currently is not included in any official releases of the latter (and I have yet to see a VCS snapshot including this feature pass all tests). Therefore, looks like we'll have to cap supported LLVM versions for now. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3b28ac432fc57cb3b82678279359f8d5d2ae5ca commit f3b28ac432fc57cb3b82678279359f8d5d2ae5ca Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-08-25 13:51:40 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-08-25 14:10:04 +0000 dev-util/intel-graphics-compiler: block llvm-10.0.1 Causes compilation errors. Closes: https://bugs.gentoo.org/738934 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../intel-graphics-compiler/intel-graphics-compiler-1.0.4111.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) I don't think the resolution to this is correct. Both the OP, and the linked github issue specifically mention _building_ with clang-10 rather than just linking to it. igc-1.0.4111 works OK with llvm/clang-10.0.1 when gcc is used as system compiler. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cbc8a7b3d4ef1ff93eaedfb2ea1b77acf002ec5 commit 6cbc8a7b3d4ef1ff93eaedfb2ea1b77acf002ec5 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-09-20 14:25:32 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-09-20 14:33:59 +0000 dev-util/intel-graphics-compiler-1.0.4111: only block llvm-10 in TC Turns out this version is not going anywhere any time soon, in fact there is a stablereq for it now - so let's handle this properly. Specifically, pkg_pretend() now dies if the current compiler is clang-10+ (I think it is safe to assume that if 10 does not work nor will the newer versions). Bug: https://bugs.gentoo.org/738934 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../intel-graphics-compiler-1.0.4111.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) |