From: Vyacheslav Yurkov Date: Wed, 21 Jan 2026 15:26:35 +0000 (+0000) Subject: time64/pipewire: Use consistent TIME defines X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a13e299cd4ee525cdaa1f64140ee38fcb93c0337;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git time64/pipewire: Use consistent TIME defines Pipewire crashes when other dependent libraries are built with the different TIME and FILE_OFFSET defines. Related bug report: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/5055 Signed-off-by: Vyacheslav Yurkov Signed-off-by: Barnabás Pőcze Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- diff --git a/meta/conf/distro/include/time64.inc b/meta/conf/distro/include/time64.inc index 24a81c83f1..3ed0a4253d 100644 --- a/meta/conf/distro/include/time64.inc +++ b/meta/conf/distro/include/time64.inc @@ -21,10 +21,6 @@ TARGET_CC_ARCH:append:x86 = "${@bb.utils.contains('TUNE_FEATURES', 'm32', '${GLI GLIBC_64BIT_TIME_FLAGS:pn-glibc = "" GLIBC_64BIT_TIME_FLAGS:pn-glibc-testsuite = "" -# pipewire-v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to -# both 32 and 64 bit file APIs. But it does not handle the time side? -# Needs further investigation -GLIBC_64BIT_TIME_FLAGS:pn-pipewire = "" # Undefines _FILE_OFFSET_BITS on purpose in # libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp GLIBC_64BIT_TIME_FLAGS:pn-gcc-sanitizers = ""