GNU bug report logs - #79433
9.7: cp(1): lchownat(2/3) fallback bogus?

Previous Next

Package: coreutils;

Reported by: Steffen Nurpmeso <steffen <at> sdaoden.eu>

Date: Thu, 11 Sep 2025 11:51:02 UTC

Severity: normal

Found in version 9.7

Full log


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

From: Steffen Nurpmeso <steffen <at> sdaoden.eu>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 79433 <at> debbugs.gnu.org
Subject: Re: bug#79433: 9.7: cp(1): lchownat(2/3) fallback bogus?
Date: Tue, 16 Sep 2025 14:20:11 +0200
[Message part 1 (text/plain, inline)]
Paul Eggert wrote in
 <fec712d1-3936-45af-979e-0bc76ad59358 <at> cs.ucla.edu>:
 |On 2025-09-15 17:40, Steffen Nurpmeso wrote:
 |> How likely is a miscompilation of gcc 4.2.0?
 |
 |I would think not likely, but possible.
 |
 |If things are working for you know, I wouldn't spend much time worrying 
 |about it.

i'll attach it plzip(1)ped; i now install gdb, from objdump(1)
alone i cannot figure it out, the codepaths are too mangled for me
having no history with neither coreutils nor glibc.

  $ ldd /bin/cp
  linux-vdso.so.1 (0x00007fffe1e13000)
  libacl.so.1 => /lib/libacl.so.1 (0x00007fcf92d3a000)
  libattr.so.1 => /lib/libattr.so.1 (0x00007fcf92d32000)
  libc.so.6 => /lib/libc.so.6 (0x00007fcf92b42000)
  /lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007fcf92d66000)

I could also place the actual libs on the server, just in case
anyone wants the complete picture; seems unnecessary.  It is
absolutely reproducible, so the problem is in the binary for sure.

 --End of <fec712d1-3936-45af-979e-0bc76ad59358 <at> cs.ucla.edu>

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
[cp-9.7-April.lz (application/x-lzip, attachment)]

This bug report was last modified 1 day ago.

Previous Next


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