[libcxx-commits] [libcxx] [libcxx] Fix build for glibc < 2.27 (PR #121893)

Yi Kong via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 7 07:18:53 PST 2025


kongy wrote:

> I'm a bit confused. @kongy Mentioned Glibc 2.27 in their original comment, but then 2.17 in a subsequent comment. The patch itself checks for 2.27. @kongy Can you confirm that you meant 2.27 in https://github.com/llvm/llvm-project/pull/121893#issuecomment-2574965134?

To clarify, `copy_file_range` was introduced in Glibc 2.27 (https://abi-laboratory.pro/?view=changelog&l=glibc&v=2.27). Android's host build environment uses Glibc 2.17.

https://github.com/llvm/llvm-project/pull/121893


More information about the libcxx-commits mailing list