oneapi-src / oneapi-src/level-zero
Conflict with DLLs already in system32
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 335
- Forks
- 140
- Avg merge
- 12h 32m
- Merged PRs (30d)
- 5
Description
The Level Zero API uses LOAD_LIBRARY_SEARCH_SYSTEM32 and thus loads dependent DLLs from c:\windows\system32. This yields errors on systems shipped with Level Zero DLLs in system32. Building an app with ze_loader.dll from the repo (e.g. zello_world.exe) will load dependent DLLs (e.g. ze_validation_layer.dll) from system32 and not from the repo. If this behavior is due to security considerations it’s probably worth a note in the repo. Otherwise one of the less restrictive search options for DLLs might be appropriate.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the Level Zero loader's Windows DLL search behavior around LOAD_LIBRARY_SEARCH_SYSTEM32 and the dependent DLLs used by zello_world.exe. Determine whether the current behavior should be documented for security reasons or changed, then verify the chosen outcome with zello_world.exe and the affected validation-layer DLL loading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100