Skip to content

Julia 1.10 and 1.11 do not compile cleanly with GCC 15 #58478

Open
@vchuravy

Description

@vchuravy

Just tried to compile Julia on my local dev machine (yay rolling release).

Fails with errors like: llvm/ADT/SmallVector.h:109:62: error: 'uint64_t' was not declared in this scope
Similar to root-project/root#17444

We likely need the patches from root-project/root#17510

Caused by https://gcc.gnu.org/pipermail/gcc-patches/2024-August/659176.html

For anyone else who runs into this an is looking for a quick solution:

~/s/julia-1.11 (release-1.11)> cat Make.user
override CC=gcc-14
override CXX=g++-14

With the gcc-14 package installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildingBuild system, or building Julia or its dependenciescompiler:llvmFor issues that relate to LLVMexternal dependenciesInvolves LLVM, OpenBLAS, or other linked librariesupstreamThe issue is with an upstream dependency, e.g. LLVM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions