diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-04-28 10:43:50 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-27 15:26:31 +0100 |
commit | 231866f75c8e162b123a5d6fd9acaaa396df918f (patch) | |
tree | a18ade02c0cfae7f2496ba43923572e853fe4fad /meta/conf | |
parent | 13b646c0e167ca52f69c91be5538049b172015ac (diff) | |
download | poky-231866f75c8e162b123a5d6fd9acaaa396df918f.tar.gz |
defaultsetup: Enable largefile and 64bit time_t support systemwide for 32 bit platforms
There is a problem with 32 bit time looming for many 32 bit platforms
including arm, mip32, powerpc and x86 (but not riscv32) in 2038 when the
32 bit field time_t can no longer store the time value correctly due
to overflow.
Preparing for this is tricky as the ABI between libraries and binaries
will change and it isn't possible to migrate easily as structures and
return values change size.
As we're a source based system, the project has taken the decision that
we should change the compiler flags to switch to both largefile and 64
bit time_t. With OE-Core we've ironed out the issues we could spot
apart from some testing issues in strace and lttng-tools for which
discussions are ongoing upstream. There is more testing to be done
but we wanted to make this switch now in good time before our next
LTS release so we can work through any issues arrising.
We had already tried to mandate largefile everywhere before this but
this gives an opportunity to ensure that at the same time.
(From OE-Core rev: b9e0c5e750c3097e176fdc18b3b58b622f716e71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/defaultsetup.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf index f6894f3ab5..1abb509629 100644 --- a/meta/conf/distro/defaultsetup.conf +++ b/meta/conf/distro/defaultsetup.conf | |||
@@ -2,7 +2,7 @@ include conf/distro/include/default-providers.inc | |||
2 | include conf/distro/include/default-versions.inc | 2 | include conf/distro/include/default-versions.inc |
3 | include conf/distro/include/default-distrovars.inc | 3 | include conf/distro/include/default-distrovars.inc |
4 | include conf/distro/include/maintainers.inc | 4 | include conf/distro/include/maintainers.inc |
5 | 5 | include conf/distro/include/time64.inc | |
6 | require conf/distro/include/tcmode-${TCMODE}.inc | 6 | require conf/distro/include/tcmode-${TCMODE}.inc |
7 | require conf/distro/include/tclibc-${TCLIBC}.inc | 7 | require conf/distro/include/tclibc-${TCLIBC}.inc |
8 | 8 | ||