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

Age-incorrect access to Base.DL_LOAD_PATH when building on Windows #57505

Open
topolarity opened this issue Feb 22, 2025 · 4 comments
Open

Age-incorrect access to Base.DL_LOAD_PATH when building on Windows #57505

topolarity opened this issue Feb 22, 2025 · 4 comments
Labels
building Build system, or building Julia or its dependencies system:windows Affects only Windows

Comments

@topolarity
Copy link
Member

From a (Cygwin) Windows build:

Sysimage built. Summary:
Base ──────── 104.756326 seconds 68.4229%
Stdlibs ─────  48.338018 seconds 31.5726%
Total ─────── 153.101366 seconds
    JULIA usr/lib/julia/sys-o.a
WARNING: Detected access to binding `Base.DL_LOAD_PATH` in a world prior to its definition world.
  Julia 1.12 has introduced more strict world age semantics for global bindings.
  !!! This code may malfunction under Revise.
  !!! This code will error in future versions of Julia.
Hint: Add an appropriate `invokelatest` around the access to this binding.
Collecting and executing precompile statements
└ Collect (Basic:1165) => Execute ✓ 1234
Precompilation complete. Summary:
Total ───────  91.738754 seconds
Outputting sysimage file...
@giordano
Copy link
Contributor

Duplicate of #57288? (but can't say that report was particularly clear)

@topolarity
Copy link
Member Author

Duplicate of #57288? (but can't say that report was particularly clear)

Yeah, arguably - it depends on how we choose to split that issue up since it reports like 4 bugs in 1

@giordano giordano added building Build system, or building Julia or its dependencies system:windows Affects only Windows labels Feb 23, 2025
@gitboy16
Copy link
Contributor

Yes it is the same warning I see in #57288 , please feel free to close my issue and open separate ones for clarity. Please note that one is more a question than a bug.

@gitboy16
Copy link
Contributor

The warning in this issue seems to have moved up the building chain following PR #57500 but I might be wrong.

strings/search.jl
strings/unicode.jl
WARNING: Detected access to binding `Base.DL_LOAD_PATH` in a world prior to its definition world.
  Julia 1.12 has introduced more strict world age semantics for global bindings.
  !!! This code may malfunction under Revise.
  !!! This code will error in future versions of Julia.
Hint: Add an appropriate `invokelatest` around the access to this binding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies system:windows Affects only Windows
Projects
None yet
Development

No branches or pull requests

3 participants