Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
N5N3 opened this issue Mar 23, 2024 · 0 comments · Fixed by JuliaLang/julia#53888
Closed

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

N5N3 opened this issue Mar 23, 2024 · 0 comments · Fixed by JuliaLang/julia#53888

Comments

@N5N3
Copy link

N5N3 commented Mar 23, 2024

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.

aviatesk added a commit to JuliaLang/julia that referenced this issue Mar 29, 2024
Not sure why this typo didn't mess up the CI, but it looks like a clear
problem, let's correct it.

- fixes JuliaDebug/JuliaInterpreter.jl#621
N5N3 pushed a commit to JuliaLang/julia that referenced this issue Mar 29, 2024
Not sure why this typo didn't mess up the CI, but it looks like a clear
problem, let's correct it. I'd appreciate any idea on how to exercise
this change.

- fixes JuliaDebug/JuliaInterpreter.jl#621
aviatesk added a commit to JuliaLang/julia that referenced this issue Apr 8, 2024
Not sure why this typo didn't mess up the CI, but it looks like a clear
problem, let's correct it. I'd appreciate any idea on how to exercise
this change.

- fixes JuliaDebug/JuliaInterpreter.jl#621
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant