-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Check duplicate issues.
- Checked for duplicates
Description
Starting from gcc-15, <cstdint>
needs to be included when fixed-size integer types are used.
See also:
https://bugs.gentoo.org/942438
In ROOT, there is currently four places that create problems:
- Two throughout ROOT (Fix two includes to compile with gcc-15 #17443)
- Two in the interpreter.
LLVM fixed those here 7e44305 and as a side effect here 2222fdd. The former applies cleanly, but the latter doesn't.
Update: We can backport Add missing include to X86MCTargetDesc.h llvm/llvm-project#123320 instead of 2222fdd if the PR gets merged. llvm/llvm-project@7abf440
Update 2: This is now [llvm-project] Backport fix for compilation issue with gcc-15 #17510 - One more location found by mellert: Fixes for compiling with GCC 15 (Fedora 42) #17455
What could be the solutions to make ROOT compile cleanly?
- Wait until the llvm upgrade?
- Patch llvm ourselves until the upgrade?
- Pull in already now the commits from llvm-main? (the latter doesn't apply, though)
Reproducer
Compile ROOT with gcc-15
ROOT version
Master, but also 6.34, 6.32 as can be seen in the gentoo bug report
Installation method
Source
Operating system
Gentoo
Additional context
No response