I tried to update to the latest v1.11.7, and it fails to build from source (on my Debian GNU/Linux system). I get a lot of error messages, starting with complaints about SIZE_MAX
being undefined when compiling src/debuginfo.o
. I can’t upload the complete log here (no permissions), but the beginning is below.
Version 1.11.6 compiled fine on this same computer.
I’m surprised not to see anyone else encountering this. What changed? Id like to sort out what’s happening a little more and file a github issue.
CC src/debuginfo.o
In file included from /usr/local/src/julia-1.11/usr/include/llvm/DebugInfo/DIContext.h:17,
from /usr/local/src/julia-1.11/src/debuginfo.cpp:6:
/usr/local/src/julia-1.11/usr/include/llvm/ADT/SmallVector.h:1317:5: warning: 'SIZE_MAX' is not defined, evaluates to '0' [-Wundef]
1317 | #if SIZE_MAX > UINT32_MAX
| ^~~~~~~~
/usr/local/src/julia-1.11/usr/include/llvm/ADT/SmallVector.h:1317:16: warning: 'UINT32_MAX' is not defined, evaluates to '0' [-Wundef]
1317 | #if SIZE_MAX > UINT32_MAX
| ^~~~~~~~~~
/usr/local/src/julia-1.11/usr/include/llvm/ADT/SmallVector.h:109:62: error: 'uint64_t' was not declared in this scope
109 | std::conditional_t<sizeof(T) < 4 && sizeof(void *) >= 8, uint64_t,
| ^~~~~~~~
/usr/local/src/julia-1.11/usr/include/llvm/ADT/SmallVector.h:29:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
28 | #include <memory>
+++ |+#include <cstdint>
29 | #include <new>