[Buildroot] [PATCH 1/1] package/libuev: bump version to v2.4.0

Peter Korsgaard peter at korsgaard.com
Sun Oct 10 10:11:37 UTC 2021


>>>>> "Joachim" == Joachim Wiberg <troglobit at gmail.com> writes:

Hi,

 >> 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

Ahh ok. We already globally set _FILE_OFFSET_BITS in
package/Makefile.in.

 > 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

Correct.

 >> 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.

Yes, indeed.

Thanks!

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list