https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-devel/llvm-15.0.7-r6 fails to compile. Discovered on: amd64 (internal ref: gcc15_tinderbox) System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Created attachment 902690 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- Could NOT find Python module pygments -- Could NOT find Python module pygments.lexers.c_cpp -- Could NOT find Python module yaml FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Caching.cpp.o FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o /var/tmp/portage/sys-devel/llvm-15.0.7-r6/work/llvm/include/llvm/ADT/SmallVector.h:88:69: error: ‘uint64_t’ was not declared in this scope
https://bugs.gentoo.org/939498 contains patches for including <cstdint>, it will happen on multiple files: Subject: [PATCH] include cstdint llvm/include/llvm/ADT/SmallVector.h llvm/lib/Target/X86/MCTargetDesc/X86MnemonicTables.cpp llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h