Skip to content

Precompilation broken on 1.13/nightly #748

@kshyatt

Description

@kshyatt

cc https://buildkite.com/julialang/cuda-dot-jl/builds/6764#019aee16-1159-43d4-887c-a4dd0d4162bb

ERROR: LoadError: UndefVarError: `WorldView` not defined in `GPUCompiler`
Suggestion: this global was defined as `Compiler.WorldView` but not assigned a value.
Stacktrace:
  [1] ci_cache_lookup(cache::Compiler.OverlayCodeCache{Compiler.InternalCodeCache}, mi::Core.MethodInstance, min_world::UInt64, max_world::UInt64)
    @ GPUCompiler ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/jlgen.jl:648
  [2] compile_method_instance(job::GPUCompiler.CompilerJob)
    @ GPUCompiler ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/jlgen.jl:839
  [3] irgen(job::GPUCompiler.CompilerJob)
    @ GPUCompiler ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/irgen.jl:4
  [4] emit_llvm(job::GPUCompiler.CompilerJob; kwargs::@Kwargs{})
    @ GPUCompiler ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/driver.jl:200
  [5] emit_llvm(job::GPUCompiler.CompilerJob)
    @ GPUCompiler ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/driver.jl:182
  [6] compile_unhooked(output::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{})
    @ GPUCompiler ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/driver.jl:95
  [7] compile_unhooked
    @ ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/driver.jl:80 [inlined]
  [8] compile(target::Symbol, job::GPUCompiler.CompilerJob; kwargs::@Kwargs{})
    @ GPUCompiler ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/driver.jl:67
  [9] compile
    @ ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/driver.jl:55 [inlined]
 [10] #145
    @ ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/precompile.jl:35 [inlined]
 [11] JuliaContext(f::GPUCompiler.var"#145#146"{GPUCompiler.CompilerJob{GPUCompiler.NativeCompilerTarget, GPUCompiler.var"##149".DummyCompilerParams}}; kwargs::@Kwargs{})
    @ GPUCompiler ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/driver.jl:34
 [12] JuliaContext(f::Function)
    @ GPUCompiler ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/driver.jl:25
 [13] macro expansion
    @ ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/precompile.jl:34 [inlined]
 [14] macro expansion
    @ ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/PrecompileTools/gn08A/src/workloads.jl:73 [inlined]
 [15] macro expansion
    @ ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/precompile.jl:25 [inlined]
 [16] macro expansion
    @ ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/PrecompileTools/gn08A/src/workloads.jl:121 [inlined]
 [17] top-level scope
    @ ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/precompile.jl:118
 [18] include(mapexpr::Function, mod::Module, _path::String)
    @ Base ./Base.jl:310
 [19] top-level scope
    @ ~/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/GPUCompiler.jl:70
 [20] include(mod::Module, _path::String)
    @ Base ./Base.jl:309
 [21] include_package_for_output(pkg::Base.PkgId, input::String, syntax_version::VersionNumber, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base ./loading.jl:3250
 [22] top-level scope
    @ stdin:5
 [23] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
 [24] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:3092
 [25] include_string
    @ ./loading.jl:3102 [inlined]
 [26] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:342
 [27] _start()
    @ Base ./client.jl:577
in expression starting at /root/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/precompile.jl:3
in expression starting at /root/.cache/julia-buildkite-plugin/depots/3cc01fab-3357-4a7a-9294-cde2d3115a97/packages/GPUCompiler/j4HFa/src/GPUCompiler.jl:1

This is on 1.7.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions