GNU bug report logs - #63850
cp fails for files > 2 GB if copy offload is unsupported

Previous Next

Package: coreutils;

Reported by: Sam James <sam <at> gentoo.org>

Date: Fri, 2 Jun 2023 15:50:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #67 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Sam James <sam <at> gentoo.org>
Cc: bug-coreutils <at> gnu.org, floppym <at> gentoo.org, P <at> draigbrady.com,
 63850-done <at> debbugs.gnu.org
Subject: Re: bug#63850: cp fails for files > 2 GB if copy offload is
 unsupported
Date: Wed, 7 Jun 2023 12:44:28 -0700
On 2023-06-07 12:21, Sam James wrote:

> I don't see how this is compatible with what I explained, given you
> can't have parallel linux-headers installs.
> 
> Nobody uses glibc in a vacuum, either, so it's not particularly
> meaningful to say you can use glibc but nothing else in that way.
> 
> If you object to this, please bring it up on the glibc mailing list
> to discuss revising the guidance.

There must be some miscommunication here. I'm not objecting to how glibc 
is built, and I don't see why the glibc mailing list would be interested 
in this problem as it's not their problem.


> We can't enforce
> what kernels users are running, and we can't simultaneously make the
> users install the headers for the kernel they just built manually while
> also having things owned and controlled by the package manager.
> 
> We're also very much not the only distribution doing this - Arch
> usually ships the latest linux-headers, and Alpine does as well.
> And we've done it for years with very, very few issues.

That's not surprising, as this sort of problem arises only when building 
for a newer platform yields a package that will run incorrectly on an 
older platform. Problems like these are relatively rare if the only such 
mismatch is the Linux kernel version, because current glibc explicitly 
supports building for Linux kernel>=3.2, even when glibc is built on 
newer kernels, these days nobody doing this sort of thing cares about 
kernels older than 3.2, and most packages rely entirely on glibc to 
access the kernel. There are exceptional packages, though, and you may 
run into problems with those exceptions.

If users build for newer platforms and it usually works on older 
platforms, that's great! But you might want to document that it might 
not work. Because it might not.




This bug report was last modified 1 year and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.