GNU bug report logs - #39929
coreutils-8.32 fails to build on aarch64

Previous Next

Package: coreutils;

Reported by: Kamil Dudka <kdudka <at> redhat.com>

Date: Thu, 5 Mar 2020 16:23:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Kamil Dudka <kdudka <at> redhat.com>, 39929 <at> debbugs.gnu.org
Subject: bug#39929: coreutils-8.32 fails to build on aarch64
Date: Thu, 5 Mar 2020 17:39:23 +0000
[Message part 1 (text/plain, inline)]
On 05/03/2020 16:21, Kamil Dudka wrote:
> While trying to build coreutils-8.32 for Fedora on aarch64, I got the following
> compilation failure:
> 
> ../src/ls.c: In function 'print_dir':
> ../src/ls.c:3026:24: error: 'SYS_getdents' undeclared (first use in this function); did you mean 'SYS_getdents64'?
>   3026 |           if (syscall (SYS_getdents, dirfd (dirp), NULL, 0) == -1
>        |                        ^~~~~~~~~~~~
>        |                        SYS_getdents64
> ../src/ls.c:3026:24: note: each undeclared identifier is reported only once for each function it appears in
> 
> 
> Sorry for reporting it late.  I tried to build 8.31.90-cc4c and 8.31.99-f2034
> in Fedora copr but forgot to enable aarch64, so these builds succeeded  :-/

Ah well.
Does the attached address this for you.
[coreutils-getdents64.patch (text/x-patch, attachment)]

This bug report was last modified 5 years and 71 days ago.

Previous Next


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