/var/tmp/portage/dev-lang/ispc-1.16.0/work/ispc-1.16.0/src/module.cpp: In static member function ‘static bool ispc::Module::writeObjectFileOrAssembly(llvm::TargetMachine*, llvm::Module*, ispc::Module::OutputType, const char*)’: /var/tmp/portage/dev-lang/ispc-1.16.0/work/ispc-1.16.0/src/module.cpp:1317:62: error: ‘F_None’ is not a member of ‘llvm::sys::fs’; did you mean ‘OF_None’? 1317 | llvm::sys::fs::OpenFlags flags = binary ? llvm::sys::fs::F_None : llvm::sys::fs::F_Text; | ^~~~~~ | OF_None /var/tmp/portage/dev-lang/ispc-1.16.0/work/ispc-1.16.0/src/module.cpp:1317:86: error: ‘F_Text’ is not a member of ‘llvm::sys::fs’; did you mean ‘OF_Text’? ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20210926-150447 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 9e2fcc74e73870cc8e6769fe38371bc376a26f5f Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Oct 3 14:06:26 2021 +0000 2021-10-03 14:06:25 UTC emerge -qpvO dev-lang/ispc [ebuild N ] dev-lang/ispc-1.16.0 USE="-examples"
Created attachment 742716 [details] emerge-info.txt
Created attachment 742719 [details] dev-lang:ispc-1.16.0:20211003-144354.log
Created attachment 742722 [details] emerge-history.txt
Created attachment 742725 [details] environment
Created attachment 742728 [details] etc.portage.tar.bz2
Created attachment 742731 [details] logs.tar.bz2
Created attachment 742734 [details] temp.tar.bz2
Works fine with llvm:12, not with llvm:13. The ebuild already has LLVM_MAX_SLOT=12 but still llvm:13 is used when detected.
1.16.1 is avaible upstream but exhibits the same problem. 9999 in the tree compiles fine though.
Created attachment 744276 [details, diff] patch that fixes 1.16.0 for me this fixes module.cpp and opt.cpp with the changes from https://github.com/ispc/ispc/commit/8b5d0f26916e776bc3664e6a4dc68eff3a198d7a#diff-91eede7716565a700586788e3f9d285985bf5c449a366cdd3b28fc37c073a616
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c70c859516a9b67cc46c2f075eff296592d00ef commit 1c70c859516a9b67cc46c2f075eff296592d00ef Author: Christophe Lermytte <gentoo@lermytte.be> AuthorDate: 2021-10-08 11:12:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-20 04:11:09 +0000 dev-lang/ispc: bump to 1.16.1 and fix llvm dependency Closes: https://bugs.gentoo.org/816069 Signed-off-by: Christophe Lermytte <gentoo@lermytte.be> Closes: https://github.com/gentoo/gentoo/pull/22516 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/ispc/Manifest | 1 + dev-lang/ispc/ispc-1.16.1.ebuild | 78 ++++++++++++++++++++++++++++++++++++++++ dev-lang/ispc/ispc-9999.ebuild | 23 ++++++------ 3 files changed, 90 insertions(+), 12 deletions(-)