Skip to content

Compilation error on Julia 1.13-alpha2 #112

@ancapdev

Description

@ancapdev

This may be a Julia bug, but it's also present on nightly.

Using ThreadPinning@1.0.2.

ERROR: LoadError: TypeError: in ccall library name, expected Symbol, got a value of type Expr
Stacktrace:
  [1] top-level scope
    @ ~/.julia/packages/ThreadPinning/qBVhU/src/mkl.jl:40
  [2] include(mapexpr::Function, mod::Module, _path::String)
    @ Base ./Base.jl:310
  [3] top-level scope
    @ ~/.julia/packages/ThreadPinning/qBVhU/src/ThreadPinning.jl:13
  [4] include(mod::Module, _path::String)
    @ Base ./Base.jl:309
  [5] include_package_for_output(pkg::Base.PkgId, input::String, 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:3142
  [6] top-level scope
    @ stdin:5
  [7] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
  [8] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2988
  [9] include_string
    @ ./loading.jl:2998 [inlined]
 [10] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:342
 [11] _start()
    @ Base ./client.jl:577
in expression starting at /home/christian/.julia/packages/ThreadPinning/qBVhU/src/mkl.jl:1
in expression starting at /home/christian/.julia/packages/ThreadPinning/qBVhU/src/ThreadPinning.jl:1
in expression starting at stdin:5
  ✗ ThreadPinning
julia> versioninfo()
Julia Version 1.13.0-alpha2
Commit 7f76b76527d (2025-11-30 19:52 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × 12th Gen Intel(R) Core(TM) i7-1260P
  WORD_SIZE: 64
  LLVM: libLLVM-20.1.8 (ORCJIT, alderlake)
  GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 16 virtual cores)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions