Summary: | dev-util/intel-graphics-compiler-1.0.10840 - /.../Driver.h: error: invalid initialization of reference of type llvm::raw_ostream& f | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Jan Henke <gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | conikost, igor, ionen, proxy-maint, sokann |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-util:intel-graphics-compiler-1.0.8744:20220324-200614.log.bz2 emerge-history.txt.bz2 environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 767743 [details]
emerge-info.txt
Created attachment 767744 [details]
dev-util:intel-graphics-compiler-1.0.8744:20220324-200614.log.bz2
Created attachment 767745 [details]
emerge-history.txt.bz2
Created attachment 767746 [details]
environment
Created attachment 767747 [details]
etc.portage.tar.bz2
Created attachment 767748 [details]
logs.tar.bz2
Created attachment 767749 [details]
temp.tar.bz2
ci has reproduced this issue with version 1.0.10713 - Updating summary. Hm, I have no cloud how to reproduce this :/ It compiles just fine for me. ci has reproduced this issue with version 1.0.10778 - Updating summary. (In reply to Conrad Kostecki from comment #9) > Hm, I have no cloud how to reproduce this :/ It compiles just fine for me. Do you have lld-14 installed? I suspect it's what I've mentioned before at the end of [1] and in [2], it ends up trying to use incompatible liblldElf.so.14 + headers because that package is not slotted (and it'd be non-trivial to). It also doesn't RDEPEND on it despite using its library (some older versions didn't use it afaik, and so wasn't an issue). 2022-03-24T20:18:54 >>> sys-devel/lld-14.0.0 and error happens on: | return lld::elf::<snip> [1] https://github.com/gentoo/gentoo/pull/24731#pullrequestreview-919651124 [2] https://github.com/gentoo/gentoo/pull/24731#issuecomment-1077206098 ci has reproduced this issue with version 1.0.10840 - Updating summary. (In reply to Ionen Wolkens from comment #11) > (In reply to Conrad Kostecki from comment #9) > > Hm, I have no cloud how to reproduce this :/ It compiles just fine for me. > Do you have lld-14 installed? I suspect it's what I've mentioned before at > the end of [1] and in [2], it ends up trying to use incompatible > liblldElf.so.14 + headers because that package is not slotted (and it'd be > non-trivial to). Indeed. Today, I hit for first time this bug. This happend after lld got upgraded to sys-devel/lld-14.0.0. It was stuck at 13.x due libreoffice, which now upgraded. Well, the question is, what to do. The only possibility I see, is to force -13.x, as it's non slotted. (In reply to Conrad Kostecki from comment #13) > Well, the question is, what to do. The only possibility I see, is to force > -13.x, as it's non slotted. Yes, unless want to help the llvm project improve the situation. As mentioned on github, this is what dev-lang/zig does already so it wouldn't be a first (albeit can use a single line "=sys-devel/lld-${LLVM_MAX_SLOT}*" RDEPEND rather than what it does). The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79ea8b72e7012bbb75b742a4f2767f7159c52375 commit 79ea8b72e7012bbb75b742a4f2767f7159c52375 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2022-04-10 20:01:11 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2022-04-10 21:32:52 +0000 dev-util/intel-graphics-compiler: force lld version This change forces the coresponding lld version for llvm as otherwise compilation will fail. Closes: https://bugs.gentoo.org/835959 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> ...er-1.0.10713.ebuild => intel-graphics-compiler-1.0.10713-r1.ebuild} | 3 ++- ...er-1.0.10778.ebuild => intel-graphics-compiler-1.0.10778-r1.ebuild} | 3 ++- ...er-1.0.10840.ebuild => intel-graphics-compiler-1.0.10840-r1.ebuild} | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) |