https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110462

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This would "fix" it, but only by disabling copy_file_range use with musl:

--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -5160,7 +5160,7 @@ dnl
       linux*)
        GCC_TRY_COMPILE_OR_LINK(
          [#include <unistd.h>],
-         [copy_file_range(1, nullptr, 2, nullptr, 1, 0);],
+         [copy_file_range(1, (off64_t*)nullptr, 2, (off64_t*)nullptr, 1, 0);],
          [glibcxx_cv_copy_file_range=yes],
          [glibcxx_cv_copy_file_range=no])
        ;;


It would be better to figure out how to use it.

Reply via email to