Skip to content

Conversation

@alyssais
Copy link

musl 1.2.4 has removed the transitional LFS off64_t type. sync_file_range is declared with off_t in musl, which is always 64 bits.

This assumes that the same is true of any other libc which doesn't provide off64_t. If it's not, gcc will produce an error due to the conflicting types of sync_file_range(), so it will be caught and can be fixed.

musl 1.2.4 has removed the transitional LFS off64_t type.
sync_file_range is declared with off_t in musl, which is always 64
bits.

This assumes that the same is true of any other libc which doesn't
provide off64_t.  If it's not, gcc will produce an error due to the
conflicting types of sync_file_range(), so it will be caught and can
be fixed.
alyssais added a commit to alyssais/nixpkgs that referenced this pull request May 13, 2024
This reverts commit c7f51f0.

This broke 32-bit Glibc builds.  I've submitted a revised patch
upstream, but in the meantime, there's no point keeping this around,
since we didn't do the musl upgrade yet.

Link: NixOS#292654 (comment)
Link: stewartsmith/libeatmydata#36
alyssais added a commit to NixOS/nixpkgs that referenced this pull request May 13, 2024
This reverts commit c7f51f0.

This broke 32-bit Glibc builds.  I've submitted a revised patch
upstream, but in the meantime, there's no point keeping this around,
since we didn't do the musl upgrade yet.

Link: #292654 (comment)
Link: stewartsmith/libeatmydata#36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants