[PATCH] kernel: Disable CONFIG_COMPAT_32BIT_TIME by default
Hauke Mehrtens
hauke at hauke-m.de
Sun Feb 20 07:37:11 PST 2022
On 2/19/22 20:16, Petr Štetiar wrote:
> Linus Walleij <linus.walleij at linaro.org> [2021-04-14 15:23:11]:
>
> Hi,
>
>> Several targets enable this selectively, probably some of
>> them should consider disabling it and see what happens.
>
> we're now using musl 1.2.2 so we should be good to go. So if you want to
> proceed, can you please update this patch and make it default on all targets,
> as we want to be consistent here, otherwise it might be a support nightmare,
> thanks.
OpenWrt also supports the option to be build with glibc and by default
glibc still uses 32 bit time on most 32 bit targets, ARC being the only
64 bit time glibc target.
There is an option in glibc to switch to 64 bit time on 32 bit targets,
but we haven't activated it yet.
Hauke
>> Cc: Arnd Bergmann <arnd at arndb.de>
>> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
>> ---
>> target/linux/generic/config-5.10 | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10
>> index 120d1d8c3f4a..024d65ba7c8d 100644
>> --- a/target/linux/generic/config-5.10
>> +++ b/target/linux/generic/config-5.10
>> @@ -939,6 +939,7 @@ CONFIG_CMDLINE=""
>> CONFIG_COMPACTION=y
>> # CONFIG_COMPAL_LAPTOP is not set
>> # CONFIG_COMPAT is not set
>> +# CONFIG_COMPAT_32BIT_TIME is not set
>> # CONFIG_COMPAT_BRK is not set
>> # CONFIG_COMPILE_TEST is not set
>> # CONFIG_CONFIGFS_FS is not set
>
More information about the openwrt-devel
mailing list