Skip to content

Pulseaudio Y2038 fix

Primoz Fiser openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pulseaudio: Add PACKAGECONFIG for optional OSS supportmeta/recipes-multimedia/pulseaudio/pulseaudio.inc+1 -00 replies
2/2pulseaudio: Remove from time64.inc exception listmeta/conf/distro/include/time64.inc+0 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Pulseaudio Y2038 fix

Hi,

these 2 patches fix pulseaudio issues with Y2038 compatibility. And in turn solve run-time issue with "Stack smashing" as described here [1].

Explanation:

Patch #1: Adds PACKAGECONFIG[oss-output] and hence adds configure flag "-Doss-output=disabled" by default to pulseaudio. This in turn disables OSS (Open Sound System) support that has been enabled by default since. However, please note that OSS has long been deprecated in favor or ALSA and I think we don't even have support for it in the kernel. Moreover, even Debian disabled OSS wrapper support for 32-bit ARM machines [2].

Patch #2: Re-adds GLIBC_64BIT_TIME_FLAGS for pulseaudio removed by the poky time64.inc. This has been disabled since pulseaudio didn't build with those flags enabled [3]. Now, pulseaudio will be Y2038 compatible.

BR,
Primoz

[1] https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/3783
[2] https://salsa.debian.org/pulseaudio-team/pulseaudio/-/commit/5209c2fc46630722f1aaa3c0bbf88a9f843cd27c
[3] https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/3770

Primoz Fiser (2):
pulseaudio: Add PACKAGECONFIG for optional OSS support
pulseaudio: Remove from time64.inc exception list

 meta/conf/distro/include/time64.inc               | 5 -----
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 1 +
 2 files changed, 1 insertion(+), 5 deletions(-)
Signature · 1 line
2.25.1