Skip to content

LLVM ERROR: Can't get available size #170571

@ahorek

Description

@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

report_fatal_error("Can't get available size");

and it has to fail here

if (!::GetDiskFreeSpaceExA(Path.str().c_str(), &Avail, &Total, &Free))

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 (git@github.amd.com:Compute-Mirrors/llvm-project 9dfb54abb25a32d9adf38f58b9a78d922f17b167) Linker: LLD 20.0.0 (git@github.amd.com:Compute-Mirrors/llvm-project 9dfb54abb25a32d9adf38f58b9a78d922f17b167)
with 25.11.1
clang version 21.0.0git (git@github.com:Compute-Mirrors/llvm-project 114bdff45d30e55d1b9e62ab060225327a4484b6) Linker: LLD 21.0.0 (git@github.com: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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions