From patchwork Mon Jul 1 05:55:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Primoz Fiser X-Patchwork-Id: 45780 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34CFBC2BD09 for ; Mon, 1 Jul 2024 05:56:02 +0000 (UTC) Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) by mx.groups.io with SMTP id smtpd.web10.13094.1719813356103643337 for ; Sun, 30 Jun 2024 22:55:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@norik.com header.s=default header.b=Ir5fAy16; spf=pass (domain: norik.com, ip: 46.19.9.99, mailfrom: primoz.fiser@norik.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fY14qS2mz47qoLVd/j875N9lGqo4K/11mmC1TUaLyBc=; b=Ir5fAy16CJuNV6Tpfnj7/+uW9I yP3SGM8z8cKQ4LdU9Hp9ItX6orjYTrUO6Iq/NFygwmt7pQWiALfI1uMH7Rhqx1rFSdF68EgUO0tIn iDyJ4PPiNu6MTEKrnVB3YVMeZTN4JKsvHidsm0DMqP7QKcjihUqnLvwoi6lnvx/7EFglrA3CnDzav qycYYSdR/VmYE/4n4sXHyQMtYEGSg7tNuJQMko0PmEDsUd0Q/mQ75R+qtYC3VTffeq2XL+Cuo8n2h IAT3A002QO2ZtA1AtN2YdWQRejWl9GvI4EVl7QA2IFRLcxRIFAhW+0ahiw9OX06+Fz1n2uZhjgj0E thV8aknQ==; Received: from [89.212.21.243] (port=37874 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1sOA14-00Ddjc-2a; Mon, 01 Jul 2024 07:55:54 +0200 From: Primoz Fiser To: openembedded-core@lists.openembedded.org Cc: upstream@lists.phytec.de Subject: [PATCH 1/2] pulseaudio: Add PACKAGECONFIG for optional OSS support Date: Mon, 1 Jul 2024 07:55:52 +0200 Message-Id: <20240701055553.2851418-2-primoz.fiser@norik.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240701055553.2851418-1-primoz.fiser@norik.com> References: <20240701055553.2851418-1-primoz.fiser@norik.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: primoz.fiser@norik.com X-Authenticated-Sender: cpanel.siel.si: primoz.fiser@norik.com X-Source: X-Source-Args: X-Source-Dir: List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 01 Jul 2024 05:56:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201276 Add pulseaudio PACKAGECONFIG for optional OSS (Open Sound System) output support. OSS was a sound system available before ALSA and has since been deprecated. Lately, this part has started causing build issues when used with GLIBC_64BIT_TIME_FLAGS. Thus, by default drop OSS output support in favor of Y2038 compliance. Signed-off-by: Primoz Fiser --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc index 9fb5c81757da..bfd57c8e21f0 100644 --- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc @@ -124,6 +124,7 @@ PACKAGECONFIG[lirc] = "-Dlirc=enabled,-Dlirc=disabled,lirc" PACKAGECONFIG[webrtc] = "-Dwebrtc-aec=enabled,-Dwebrtc-aec=disabled,webrtc-audio-processing" PACKAGECONFIG[ipv6] = "-Dipv6=true,-Dipv6=false," PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false," +PACKAGECONFIG[oss-output] = "-Doss-output=enabled,-Doss-output=disabled," export TARGET_PFPU = "${TARGET_FPU}" From patchwork Mon Jul 1 05:55:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Primoz Fiser X-Patchwork-Id: 45781 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35A11C41513 for ; Mon, 1 Jul 2024 05:56:02 +0000 (UTC) Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) by mx.groups.io with SMTP id smtpd.web11.13300.1719813356104795598 for ; Sun, 30 Jun 2024 22:55:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@norik.com header.s=default header.b=F9hOK0pU; spf=pass (domain: norik.com, ip: 46.19.9.99, mailfrom: primoz.fiser@norik.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=23cl79DiRCMXHxxjhdLRtXxT+kWdB5GQz1yI7byQw9A=; b=F9hOK0pUsi+RkQtl0K0yAYNM6j 5teZPYwhTIFbvXkDzzcFacZUKOAQtDvEr+mEGP3pj4Cr0FbASBvq+aK0ILdy0XNdZk/Y1wr5si6DI ZyEAL65CTX7gJTFqvoSaDBOhROs5ikQfNU4shDFYOgSTaPTog1eTenUZGWjdSwym5Or+M1qFsJyDs QFC8/28CXpcR3Wf/uikylrZ0u8W5l9iC2dPliAafgWZWfdW/V8KvryZ/GJEC1QvvQMxwmoHPMq8Br N0OJeaN/AMOTnXeEo+BXXvYo0zkzIveGFrDyrbqKvhJD3dx8mn13F4Dz98hSE8l/jQ2VLf6jmz3sZ 1bT7juYA==; Received: from [89.212.21.243] (port=37874 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1sOA14-00Ddjc-2g; Mon, 01 Jul 2024 07:55:54 +0200 From: Primoz Fiser To: openembedded-core@lists.openembedded.org Cc: upstream@lists.phytec.de Subject: [PATCH 2/2] pulseaudio: Remove from time64.inc exception list Date: Mon, 1 Jul 2024 07:55:53 +0200 Message-Id: <20240701055553.2851418-3-primoz.fiser@norik.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240701055553.2851418-1-primoz.fiser@norik.com> References: <20240701055553.2851418-1-primoz.fiser@norik.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: primoz.fiser@norik.com X-Authenticated-Sender: cpanel.siel.si: primoz.fiser@norik.com X-Source: X-Source-Args: X-Source-Dir: List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 01 Jul 2024 05:56:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/201274 Pulseaudio OSS (Open Sound System) support was causing build issues when used with GLIBC_64BIT_TIME_FLAGS. However, optional OSS support was disabled by default with addition of PACKAGECONFIG[oss-output]. Thus remove pulseaudio from the exception list in time64.inc and allow it to be Y2038 compatible. Signed-off-by: Primoz Fiser --- meta/conf/distro/include/time64.inc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/meta/conf/distro/include/time64.inc b/meta/conf/distro/include/time64.inc index 2e85753e55a4..6ee7b4915267 100644 --- a/meta/conf/distro/include/time64.inc +++ b/meta/conf/distro/include/time64.inc @@ -25,10 +25,6 @@ GLIBC_64BIT_TIME_FLAGS:pn-glibc-testsuite = "" # 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 -# See https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/3770 -GLIBC_64BIT_TIME_FLAGS:pn-pulseaudio = "" # Undefines _FILE_OFFSET_BITS on purpose in # libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp GLIBC_64BIT_TIME_FLAGS:pn-gcc-sanitizers = "" @@ -37,7 +33,6 @@ GLIBC_64BIT_TIME_FLAGS:pn-gcc-sanitizers = "" INSANE_SKIP:append:pn-gcc-sanitizers = " 32bit-time" INSANE_SKIP:append:pn-glibc = " 32bit-time" INSANE_SKIP:append:pn-glibc-y2038-tests = " 32bit-time" -INSANE_SKIP:append:pn-pulseaudio = " 32bit-time" # Strace has tests that call 32 bit API directly, which is fair enough, e.g. # /usr/lib/strace/ptest/tests/ioctl_termios uses 32-bit api 'ioctl'