Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939504 - sys-devel/llvm-15.0.7-r6 fails to compile: SmallVector.h:88:69: error: uint64_t was not declared in this scope
Summary: sys-devel/llvm-15.0.7-r6 fails to compile: SmallVector.h:88:69: error: uint64...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-09-12 07:16 UTC by Agostino Sarubbo
Modified: 2024-09-12 22:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,167.33 KB, text/plain)
2024-09-12 07:16 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-09-12 07:16:00 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-12 07:16:02 UTC
Created attachment 902690 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-09-12 07:16:03 UTC
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
Comment 3 tdr 2024-09-12 21:32:53 UTC
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