[Buildroot] [PATCH] package/uclibc: bump to version 1.0.47, add Y2038 config option

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Apr 7 21:11:46 UTC 2024


On Sun, 7 Apr 2024 21:30:09 +0200
Arnout Vandecappelle <arnout at mind.be> wrote:

>   IMHO the question is if uClibc acts like musl (i.e. unconditionally enable 
> 64-bit time, which breaks binaries that were compiled with 32-bit time) or like 
> glibc (i.e. the compiled library supports both 32-bit and 64-bit time, and 
> applications use the one or other version depending on _TIME_BITS).
> 
>   I _think_ that uClibc acts like musl. In that case, passing -D_TIME_BITS=64 
> doesn't make any sense. And therefore, having the option at uClibc level makes 
> more sense. However, I don't think it's very useful to have this configuration 
> knob in Buildroot's config. What I would do instead is to unconditionally change 
> our bundled uClibc config to enable 64-bit time, and let people provide their 
> own config if for some reason they don't want 64-bit time.

If we go this way, then we should also do it for glibc, and drop
BR2_TIME_BITS_64.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list