summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOla x Nilsson <olani@axis.com>2022-12-08 08:11:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-17 11:10:04 +0000
commitf43393b37a5a90561134fc3490843dffdb0a8697 (patch)
tree845f24d46cb032776b1b06475bd6351f880904e7
parentc7b64446cbb69218e116947ffd1dedbce57a0b5f (diff)
downloadpoky-f43393b37a5a90561134fc3490843dffdb0a8697.tar.gz
time64.conf: Include to enable 64 bit time flags
(From OE-Core rev: 3aae5d1fd81b53d496da0287b29379b74bd5e8e1) Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/time64.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/conf/distro/include/time64.conf b/meta/conf/distro/include/time64.conf
new file mode 100644
index 0000000000..99eb06dc0f
--- /dev/null
+++ b/meta/conf/distro/include/time64.conf
@@ -0,0 +1,23 @@
1GLIBC_64BIT_TIME_FLAGS = "-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64"
2
3# TODO: Only for 32-bit architectures?
4TARGET_CC_ARCH:append:arm = " ${GLIBC_64BIT_TIME_FLAGS}"
5TARGET_CC_ARCH:append:armeb = " ${GLIBC_64BIT_TIME_FLAGS}"
6TARGET_CC_ARCH:append:mips32el = " ${GLIBC_64BIT_TIME_FLAGS}"
7
8GLIBC_64BIT_TIME_FLAGS:pn-glibc = ""
9GLIBC_64BIT_TIME_FLAGS:pn-glibc-tests = ""
10# pipewire-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to
11# both 32 and 64 bit file APIs. But it does not handle the time side?
12# Needs further investigation
13GLIBC_64BIT_TIME_FLAGS:pn-pipewire = ""
14GLIBC_64BIT_TIME_FLAGS:pn-gcc-sanitizers = ""
15
16INSANE_SKIP:libstd-rs[_usr_lib_rustlib_armv7-poky-linux-gnueabihf_lib_libstd.so] = "clock_gettime gettime fcntl fstat64 fstatat64 getsockopt ioctl lstat64 nanosleep prctl recvmsg sendmsg setsockopt stat64"
17INSANE_SKIP:librsvg[_usr_bin_rsvg-convert] = "fcntl fstat64 prctl stat64 clock_gettime"
18INSANE_SKIP:librsvg[_usr_lib_librsvg-2.so.2.48.0] = "fcntl lstat64 setsockopt sendmsg fstat64 getsockopt ioctl nanosleep timegm fstatat64 prctl mktime gmtime_r recvmsg stat64 clock_gettime localtime_r"
19
20# libpulsedsp.so is a preload-library that hooks libc functions
21INSANE_SKIP:pulseaudio[_usr_lib_pulseaudio_libpulsedsp.so] = "setsockopt fcntl"
22
23