https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124248
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like this is still broken upstream (https://github.com/llvm/llvm-project/blob/30969cc6441261a4281bdb9811c36a2348137d61/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp#L546 ). Can you submit a pull request to LLVM?
