Issue 170571
Summary LLVM ERROR: Can't get available size
Labels
Assignees
Reporter ahorek
    After upgrading to Windows Adrenalin 25.10.1 (also 25.11.1), I started getting random
**LLVM ERROR: Can't get available size**
when launching opencl apps.

I found the message comes from
https://github.com/llvm/llvm-project/blob/9f23877ccc4e837470fc264a177c41f4d2b42cdf/llvm/lib/Support/CachePruning.cpp#L283

and it has to fail here
https://github.com/llvm/llvm-project/blob/3b9a0db2615871fe6a2ae0047e97eb99fd53987a/llvm/lib/Support/Windows/Path.inc#L173

Most likely, the issue is happening because my user's path contains the character ‘ý’.
_C:\Users\Pavel Rosický\AppData\Local\comgr_

> chcp
Active code page: 852

There seems to be a change with the LLVM version
previously
clang version 20.0.0git ([email protected]:Compute-Mirrors/llvm-project 9dfb54abb25a32d9adf38f58b9a78d922f17b167) Linker: LLD 20.0.0 ([email protected]:Compute-Mirrors/llvm-project 9dfb54abb25a32d9adf38f58b9a78d922f17b167)
with 25.11.1
clang version 21.0.0git ([email protected]:Compute-Mirrors/llvm-project 114bdff45d30e55d1b9e62ab060225327a4484b6)  Linker: LLD 21.0.0 ([email protected]:Compute-Mirrors/llvm-project 114bdff45d30e55d1b9e62ab060225327a4484b6)

I couldn’t find any recent changes that would cause this, and the CachePruning code is 9 years old. Perhaps someone else has an idea? Could the error message at least be improved? Because "Can't get available size" without any explanation isn't really very descriptive. Thanks

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to