Skip to content

Building Julia and LLVM from source is broken on master #55337

Closed
@giordano

Description

@giordano

Building Julia on 0ef8a91 with the following Make.user

USE_BINARYBUILDER_LLVM = 0
DEPS_GIT = llvm

crashes for me on aarch64-linux-gnu with

[...]
    LINK usr/lib/libjulia-codegen.so.1.12.0
    LINK usr/lib/libjulia-codegen.so
    LINK usr/lib/libjulia-codegen.so.1.12
    JULIA usr/lib/julia/corecompiler.ji

[1217093] signal 6 (-6): Aborted
in expression starting at boot.jl:264
__pthread_kill_implementation at /lib64/libc.so.6 (unknown line)
raise at /lib64/libc.so.6 (unknown line)
abort at /lib64/libc.so.6 (unknown line)
_ZNK4llvm25AMDGPUInstructionSelector15runCustomActionEjRKNS_20GIMatchTableExecutor12MatcherStateE at /data/cceamgi/repo/julia/usr/bin/../lib/libLLVM-17jl.so (unknown line)
registerJITObject at /data/cceamgi/repo/julia/src/debuginfo.cpp:340
unknown function (ip: 0xffffabf83cbf)
unknown function (ip: 0xffffabf83cbf)
Allocations: 0 (Pool: 0; Big: 0); GC: 0
make[1]: *** [sysimage.mk:64: /data/cceamgi/repo/julia/usr/lib/julia/corecompiler.ji] Error 134
make: *** [Makefile:107: julia-sysimg-ji] Error 2

Instead, compilation with the same configuration is successful on d68befd, which is the parent of the merge commit of #55180, which @gbaraldi identified as possible culprit. I don't have the time to do a full git bisect right now, perhaps I'll be able to do it at a later point. Side note, JuliaCI/julia-buildkite#373 also identified #55180 as possible culprit (or at least related).

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildingBuild system, or building Julia or its dependencies

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions