https://github.com/mikhailramalho approved this pull request. I can confirm it fixes compilation on rv32. Please wait for other libc maintainers' approval before merging this PR> https://github.com/llvm/llvm-project/pull/177915