Skip to content

lld error: undefined symbol during v0.9.30 precompile on windows. #621

@N5N3

Description

@N5N3

MWE

(@v1.11) pkg> activate @temp
  Activating new project at `C:\Users\MYJ\.julia\environments\temp`

(@temp) pkg> add JuliaInterpreter
   Resolving package versions...
    Updating `C:\Users\MYJ\.julia\environments\temp\Project.toml`
  [aa1ae85d] + JuliaInterpreter v0.9.30
    Updating `C:\Users\MYJ\.julia\environments\temp\Manifest.toml`
  [da1fd8a2] + CodeTracking v1.3.5
  [aa1ae85d] + JuliaInterpreter v0.9.30
  [2a0f44e3] + Base64 v1.11.0
  [b77e0a4c] + InteractiveUtils v1.11.0
  [d6f4376e] + Markdown v1.11.0
  [9a3f8284] + Random v1.11.0
  [ea8e919c] + SHA v0.7.0
  [cf7118a7] + UUIDs v1.11.0
Precompiling project...
lld: error: undefined symbol: jl_f_memorymodifyset   ]  0/1
>>> referenced by C:\Users\MYJ\.julia\packages\JuliaInterpreter\ShNJU\src\builtins.jl:189
>>>               jl_CC16.tmp(text#0.o):(julia_maybe_evaluate_builtin_3517)

lld: error: undefined symbol: jl_f_memoryreplaceset
>>> referenced by C:\Users\MYJ\.julia\packages\JuliaInterpreter\ShNJU\src\builtins.jl:201
>>>               jl_CC16.tmp(text#0.o):(julia_maybe_evaluate_builtin_3517)

lld: error: undefined symbol: jl_f_memoryswapset
>>> referenced by C:\Users\MYJ\.julia\packages\JuliaInterpreter\ShNJU\src\builtins.jl:219
>>>               jl_CC16.tmp(text#0.o):(julia_maybe_evaluate_builtin_3517)
  ◑ JuliaInterpreter

with versioninfo

julia> versioninfo()
Julia Version 1.11.0-alpha2
Commit 9dfd28ab75 (2024-03-18 20:35 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × 12th Gen Intel(R) Core(TM) i7-12650H
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, alderlake)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)

looks like a typo:
https://github.com/JuliaLang/julia/blob/63e365feb8692b9d7cb5298954c26ab7af268171/src/codegen.cpp#L1620-L1622

not sure why CI passed though.

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