public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: "Dr. Todor Dimitrov" <dimitrov@technology.de>
To: Florian Weimer <fweimer@redhat.com>
Cc: libc-help@sourceware.org
Subject: Re: Glibc 2.31 - time64 with 64-bit kernel and 32-bit userland
Date: Mon, 18 Jan 2021 18:57:12 +0100	[thread overview]
Message-ID: <738CA206-5BA0-42C3-9F24-47CDFBEA08D6@technology.de> (raw)
In-Reply-To: <87mtx6m8vu.fsf@oldenburg.str.redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]

Yes:

uname -a
Linux  4.1.52 #1 SMP PREEMPT Mon Jan 4 13:54:08 CST 2021 aarch64 GNU/Linux

Unfortunately updating the kernel is not an option as it would require a new (not existing) BSP package. The only other option would be downgrading Glibc?

Thanks, Todor

> On 18. Jan 2021, at 18:51, Florian Weimer <fweimer@redhat.com> wrote:
> 
> * Todor Dimitrov:
> 
>> we’ve recently updated an `aarch64` system to Glibc 2.31 and we’ve
>> started seeing a lot of failing 403 and 407 syscalls. The kernel
>> version is 4.1.52 and the userland is 32-bit. Looking at the
>> implementation of `__clock_gettime64`, it seems that we are hitting
>> the following problem:
> 
> Are you sure this is an aarch64 system?
> 
>> `__NR_clock_gettime64` is defined for the 32-bit `arm` architecture
>> but not for `aarch64`. Is this a known issue? What would be the best
>> way to overcome it?
> 
> Upgrade your kernel to something that has 64-bit time_t support.
> 
> Thanks,
> Florian
> -- 
> Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
> Commercial register: Amtsgericht Muenchen, HRB 153243,
> Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
> 


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 3895 bytes --]

  reply	other threads:[~2021-01-18 17:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18 17:43 Dr. Todor Dimitrov
2021-01-18 17:51 ` Florian Weimer
2021-01-18 17:57   ` Dr. Todor Dimitrov [this message]
2021-01-18 19:31 ` Adhemerval Zanella
2021-01-18 20:10   ` Dr. Todor Dimitrov
2021-01-18 20:14   ` Florian Weimer
2021-01-18 20:31     ` Adhemerval Zanella
2021-01-18 20:35       ` Florian Weimer
2021-01-18 21:22         ` Adhemerval Zanella
2021-01-19 11:23           ` Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=738CA206-5BA0-42C3-9F24-47CDFBEA08D6@technology.de \
    --to=dimitrov@technology.de \
    --cc=fweimer@redhat.com \
    --cc=libc-help@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).