Skip to contentSkip to conversation

pulseaudio: Do not use 64bit time_t flags

PATCH New Khem Raj 1 participant 1 message Dec 31, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 meta/conf/distro/include/time64.inc | 3 +++
 1 file changed, 3 insertions(+)
meta/conf/distro/include/time64.inc +3 -0
index 99eb06dc0f..c6a3b682c2 100644
@@ -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"
Signature · 1 line
2.39.0