From e0ffea74cf3f4a492f440acc9e31cdbe7c805192 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 30 Dec 2022 18:07:04 -0800 Subject: [PATCH] pulseaudio: Do not use 64bit time_t flags It needs to be fixed to honor _FILE_OFFSET_BITS before we can enable 64bit time_t (From OE-Core rev: 206ab9522963aee471004d987181ed2f8363f1ad) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/conf/distro/include/time64.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/conf/distro/include/time64.inc b/meta/conf/distro/include/time64.inc index 99eb06dc0f..c6a3b682c2 100644 --- a/meta/conf/distro/include/time64.inc +++ b/meta/conf/distro/include/time64.inc @@ -11,6 +11,9 @@ GLIBC_64BIT_TIME_FLAGS:pn-glibc-tests = "" # both 32 and 64 bit file APIs. But it does not handle the time side? # Needs further investigation GLIBC_64BIT_TIME_FLAGS:pn-pipewire = "" +# Pulseaudio override certain LFS64 functions e.g. open64 and intentionally +# undefines _FILE_OFFSET_BITS, which wont work when _TIME_BITS=64 is set +GLIBC_64BIT_TIME_FLAGS:pn-pulseaudio = "" GLIBC_64BIT_TIME_FLAGS:pn-gcc-sanitizers = "" INSANE_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"