Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Joachim Wiberg <troglobit@gmail.com>
To: Peter Korsgaard <peter@korsgaard.com>
Cc: Peter Seiderer <ps.report@gmx.net>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/libuev: bump version to v2.4.0
Date: Sun, 10 Oct 2021 10:52:49 +0200	[thread overview]
Message-ID: <43da32e2-6d83-ab1b-4b8e-1aa287e0e699@gmail.com> (raw)
In-Reply-To: <877dels2p4.fsf@dell.be.48ers.dk>


[-- Attachment #1.1.1: Type: text/plain, Size: 1459 bytes --]

Hi Peter!

On 10/10/21 10:29 AM, Peter Korsgaard wrote:
>>>>>> "Joachim" == Joachim Wiberg <troglobit@gmail.com> writes:
>  > This update is critical for linking against GLIBC v2.34, due to the
>  > changes related to 64-bit time_t on 32-bit systems.  See ChangeLog
>  > for details:
>  >   https://github.com/troglobit/libuev/releases/tag/v2.4.0
>  > Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
> This presumably also affect musl, which moved to 64 bit time_t back in
> 1.2.0. I don't see any autobuilder issues related to older libuev
> versions (or uredir, as it probably only triggers when a dependency
> tries to link with it)?

The change is only related to GLIBC, which from v2.34 requires an
additional build flag to enable 64-bit time_t.  The latest libuev
release adds the following to the .pc file (and it's test suite):

    -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64

I don't think musl needs anything other than recompiling from source,
which we do already.  At least from what I can see from this page:

    https://musl.libc.org/time64.html

> What about uclibc-ng, which still uses 32bit time_t?

Absolute time in a future after 2038 on systems with 32-bit time_t is
pretty much undefined.  Fortunately, most common use-cases with libuev
involves periodic or oneshot (monotonic) timers that are relative to
their individual start, which as far as I know are not affected.

Best regards
 /Joachim





[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2021-10-10  8:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-09  9:41 [Buildroot] [PATCH 1/1] package/libuev: bump version to v2.4.0 Joachim Wiberg
2021-10-09 10:30 ` Peter Seiderer
2021-10-09 11:27   ` Joachim Wiberg
2021-10-09 20:45 ` Thomas Petazzoni
2021-10-10  8:29 ` Peter Korsgaard
2021-10-10  8:52   ` Joachim Wiberg [this message]
2021-10-10 10:11     ` Peter Korsgaard

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=43da32e2-6d83-ab1b-4b8e-1aa287e0e699@gmail.com \
    --to=troglobit@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=peter@korsgaard.com \
    --cc=ps.report@gmx.net \
    /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