From patchwork Wed May 21 16:26:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 63477 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 1CBF0C2D0CD for ; Wed, 21 May 2025 16:26:43 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web10.3499.1747844793701419533 for ; Wed, 21 May 2025 09:26:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RcIPRqa1; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: reatmon@ti.com) Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTP id 54LGQWEh385741 for ; Wed, 21 May 2025 11:26:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1747844793; bh=vh+zG0JbNfFuDE+HoIgn2vAAsPPSoJ6nWEY5eafUIf8=; h=From:To:Subject:Date; b=RcIPRqa18qzqd74oRKcu89s3s28piMUXmol3HR8A68/qdUfpKGk16QBnOUBN4bgI+ oaQHgO2ZjM2kIJLuRwLqinv5ksootD3Of6uzmhG4TGgSkQxzQz+CefojC2Db77UZDG RRkQCzPl3w+Govn2eRO/8LsydXtVNiwfkBhfGvHM= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 54LGQWP0838944 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL) for ; Wed, 21 May 2025 11:26:32 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 21 May 2025 11:26:32 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 21 May 2025 11:26:32 -0500 Received: from uda0214219 (uda0214219.dhcp.ti.com [128.247.81.222]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 54LGQWV1059414 for ; Wed, 21 May 2025 11:26:32 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1uHmH2-00074x-G4 for openembedded-core@lists.openembedded.org; Wed, 21 May 2025 11:26:32 -0500 From: Ryan Eatmon To: Subject: [OE-core][PATCH] sbc: Fix for gcc 15 compile error Date: Wed, 21 May 2025 11:26:32 -0500 Message-ID: <20250521162632.27169-1-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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 ; Wed, 21 May 2025 16:26:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/217048 With the move to gcc 15, the code is not generating a compile error. ../sbc-2.1/sbc/sbc_primitives_armv6.c:284:9: error: too many arguments to function 'sbc_analyze_eight_armv6'; expected 0, have 3 Simple fix is to drop the C standard down to gnu17 to avoid this new error. Signed-off-by: Ryan Eatmon --- meta/recipes-multimedia/sbc/sbc_2.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-multimedia/sbc/sbc_2.1.bb b/meta/recipes-multimedia/sbc/sbc_2.1.bb index 5aaa52313f..8b91e7e65b 100644 --- a/meta/recipes-multimedia/sbc/sbc_2.1.bb +++ b/meta/recipes-multimedia/sbc/sbc_2.1.bb @@ -19,5 +19,7 @@ SRC_URI[sha256sum] = "426633cabd7c798236443516dfa8335b47e004b0ef37ff107e0c7ead32 inherit autotools pkgconfig +CFLAGS += "-std=gnu17" + PACKAGES =+ "${PN}-examples" FILES:${PN}-examples += "${bindir}/*"