Created attachment 554444 [details] emerge-info.txt I tried to install =dev-lang/ispc-1.9.2, which failed with error reported in bug #652442 and bug #656632. Therefore, I was trying to use the live ebuild to install it, but first got a compile error on an invalid conversion from int to enum, which I could patch, but then it failed with a linker error with undefined references to llvm::{Value,Module}::dump. Searching for this issue, I found a question on https://stackoverflow.com/questions/46367910/llvm-5-0-linking-error-with-llvmmoduledump# which states, this is due to llvm compiled in release mode. I then tried to compile llvm:6[debug], which didn't succeed. After reporting the issue upstream at https://github.com/ispc/ispc/issues/1355 I tried using clang to compile the package, which didn't work out for clang:6, getting the very same linker error. Following their advice, I then installed clang:5[debug] and llvm:5[debug] which finished building, after adapting the ebuild to use them. $ emerge -pqv =dev-lang/ispc-9999::gentoo [ebuild R ] dev-lang/ispc-9999 [9999] USE="examples"
Created attachment 554446 [details] ispc-9999.ebuild.diff Diff of my changes to ispc-9999.ebuild to use clang:5/llvm:5
Created attachment 554448 [details] ispc-9999:20181104-201947.log Build log showing gcc compiler error: invalid conversion from int to enum
Created attachment 554450 [details] ispc-9999:20181105-203004.log Build log showing the llvm-6 linker error.
Created attachment 554452 [details] ispc-9999-enum-type.patch Patch to resolve gcc compile error.
Upstream has included https://bugs.gentoo.org/attachment.cgi?id=554452 into the sources. The package compiles fine against gcc now. After having successfully installed llvm:6[debug] and clang:6[debug] it also compiles against them. So this bug can be closed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d443c5e4f5e8a370b30b81107dc806b13eeec7 commit 36d443c5e4f5e8a370b30b81107dc806b13eeec7 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-07-29 16:50:02 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-07-29 16:52:40 +0000 dev-lang/ispc: Remove 1.9.2, [QA] drop utterly duplicate patches Closes: https://bugs.gentoo.org/670628 Closes: https://bugs.gentoo.org/667624 Closes: https://bugs.gentoo.org/652442 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-lang/ispc/Manifest | 1 - .../files/ispc-9999-cmake-gentoo-release.patch | 13 --- dev-lang/ispc/files/ispc-9999-llvm-10.patch | 106 --------------------- dev-lang/ispc/files/ispc-9999-werror.patch | 13 --- dev-lang/ispc/ispc-1.9.2.ebuild | 52 ---------- dev-lang/ispc/ispc-9999.ebuild | 6 +- 6 files changed, 3 insertions(+), 188 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3017ae7da37129bb873ad5b952c46f178acb65ad commit 3017ae7da37129bb873ad5b952c46f178acb65ad Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-07-29 16:51:43 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-07-29 16:52:41 +0000 dev-lang/ispc: [QA] Fix unquoted variable Bug: https://bugs.gentoo.org/670628 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-lang/ispc/ispc-1.13.0.ebuild | 4 ++-- dev-lang/ispc/ispc-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)