Skip to content

IntelITT.jl fails with UndefVarError: libittnotify not defined on Julia 1.12.0 + Windows #9

@Yueyi-Liu

Description

@Yueyi-Liu

Environment Information:
OS: Microsoft Windows 11
Julia Version: v1.12.0
Package Version: v0.2.1
Dependency Version: ittapi_jll v3.25.5+0

Bug Description:
Calling IntelITT.resume() fails immediately with an UndefVarError. The error indicates that the required symbol libittnotify cannot be found within the ittapi_jll dependency, even though the ittapi_jll package itself is confirmed to be installed. This strongly suggests an ABI or loading compatibility issue between the precompiled ittapi_jll binaries and Julia 1.12.0.

Steps to Reproduce:
1. In a fresh environment, install IntelITT.jl: Pkg.add("IntelITT")
2. Run the following minimal test script:
# test_error.jl using IntelITT IntelITT.resume() IntelITT.pause()
3. Observe the immediate UndefVarError.

Complete Error:

ERROR: LoadError: UndefVarError: libittnotify not defined in ittapi_jll
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base .\Base_compiler.jl:47
[2] macro expansion
@ C:\Users\test.julia\packages\IntelITT\X4ecE\src\wrappers.jl:19 [inlined]
[3] _lookup_function
@ C:\Users\test.julia\packages\IntelITT\X4ecE\src\wrappers.jl:16 [inlined]
[4] lookup_function
@ C:\Users\test.julia\packages\IntelITT\X4ecE\src\wrappers.jl:15 [inlined]
[5] resume
@ C:\Users\test.julia\packages\IntelITT\X4ecE\src\wrappers.jl:33 [inlined]
[6] WARNING: Detected access to binding Main.test 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.
To make this warning an error, and hence obtain a stack trace, use julia --depwarn=error.
test()
@ Main d:\code\julia\ER_vtune\test.jl:194

Any guidance or fix would be appreciated.

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