]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
time64/pipewire: Use consistent TIME defines
authorVyacheslav Yurkov <uvv.mail@gmail.com>
Wed, 21 Jan 2026 15:26:35 +0000 (15:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Jan 2026 11:35:05 +0000 (11:35 +0000)
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 <uvv.mail@gmail.com>
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/time64.inc

index 24a81c83f17423e21c61092563cec9f2d393e1e5..3ed0a4253d6f1a595f6e67eaf0e68f3cee75d1c4 100644 (file)
@@ -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 = ""