From patchwork Mon Mar 24 16:33:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59794 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 9D2F0C3600D for ; Mon, 24 Mar 2025 16:33:43 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web10.44208.1742834021800061992 for ; Mon, 24 Mar 2025 09:33:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FoBYsjea; spf=pass (domain: gmail.com, ip: 209.85.214.176, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2254e0b4b79so77678315ad.2 for ; Mon, 24 Mar 2025 09:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834021; x=1743438821; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=TxC0Y2EoqS6QtSVsvLaxlbk60578KcLJiJN8qtA93Dw=; b=FoBYsjeauSVYzMsFLChPkVBN6gC1GalCqWSWrzbjlh06dCV2kxAP7UBkjfo+zzDe2f HINjQClvIflAOYprIsPXaiR7IydmHRj+9qx5yKuX91ZMbfnTRqJBGp1rPXaqNC9psA1A kEsdz2rxAIbVtHqwYl+8y4SjRSoayTOuTDs15YDaQ/TjrjSHLUYYwcPlJpIyBupipzjI q9cqjGfihYuqgqAgt4UoZFJ/s8Kuuaqd+nzFKpn+fbvRX/kgP0l/uFtX+SgciG0BiU4C vYA99+HMuqk7XENu+vBeX9aIhodUrIVOs6dQhI33IJX2f/+RFw5cOBDQai1r5tSoCbEQ +cUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834021; x=1743438821; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TxC0Y2EoqS6QtSVsvLaxlbk60578KcLJiJN8qtA93Dw=; b=IKt9civ6QiPosDfgW3D9atYqf6qKPdOsxtPSJPhL8B8KY0WXTm9c+v6+/8/m+JMq51 bQYnmqHwx0VLBy+RICya4HxgIiTsyFUj8Cye/8/PfWM7I6xT8OwVcjL85iVfcsmv2ChG eTfxc5D8X0sFLqV5CP+zgazZr1/2jpv+zLBpzJlQHWG0fHujMhfnlHmReCTmVYwF/CWy ff3vMN4yS2hidcmuvSNJmqnt8y8Tt3UxyjGeFJrf1H6sgW869QHcQfWfv5N2DIbXNeDC B7vY8pRVhJBRhbQjniUu3ky/ysKmVqXyuyGTRBnOuTLFrldkNm5WvoTua6ZUHaXfy+/M NL4Q== X-Gm-Message-State: AOJu0YzIo13SP1F2bphkWO0C/Q1fRnxsKEkTI+jDhdngQbw5113+MMyP ajyl4Ox3VHW9/sLSkZdBM/kFSKt3a3GngJ4C9nPfyF5BmfiJiUD0IVryT79j X-Gm-Gg: ASbGncs1Gik7i+JRVV8z+iIkIYSWZGd+WU6ncwcdh42dL0XCBI06S2NH6ZAKAUdjjly uo35ewBCauKLw9sTeYWBTI7AYuzgkTnLpJ3nYGItDFVQa+3bb0815YgEISM34rPlEgYsO6XI0Nl JA5hZOnkT599cbE2Je+rn3aBissJySZpmdXN4jb8ZptHwRU8H68OVSYsNTZ4ciOqODV+o+JcG4F EZHyLuaeUfZxCP5X0QWCM2ub737jSLvbF2+Iqj3j+URTFRwcA3f7yJaN5kaE++U920O79l94EsJ syfCfZQpZ90yTBUhfXOxTKZZr9Ojc/fVT1s4 X-Google-Smtp-Source: AGHT+IE8QX/oWVfcsJMzq4mVz8krVxmrkGVFGyyEHvz70wclbqUOsUOeyWFNVgLpXeS2Q+BJ6WBG/A== X-Received: by 2002:a05:6a00:1885:b0:736:520a:58f9 with SMTP id d2e1a72fcca58-73905a140a5mr16470784b3a.17.1742834020916; Mon, 24 Mar 2025 09:33:40 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:39 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:22 -0700 Subject: [PATCH 01/21] unifdef: Don't use C23 constexpr keyword MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-1-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213533 Fixes build with GCC-15 Signed-off-by: Khem Raj --- .../0001-Don-t-use-C23-constexpr-keyword.patch | 57 ++++++++++++++++++++++ meta/recipes-devtools/unifdef/unifdef_2.12.bb | 3 +- 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/unifdef/unifdef/0001-Don-t-use-C23-constexpr-keyword.patch b/meta/recipes-devtools/unifdef/unifdef/0001-Don-t-use-C23-constexpr-keyword.patch new file mode 100644 index 0000000000000000000000000000000000000000..9d0218393059be8674f67232757fe59c2ebd0082 --- /dev/null +++ b/meta/recipes-devtools/unifdef/unifdef/0001-Don-t-use-C23-constexpr-keyword.patch @@ -0,0 +1,57 @@ +From ca1ac9c8bde84dbdea972299b1a6e30e78c2d785 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sun, 17 Nov 2024 01:26:27 +0000 +Subject: [PATCH] Don't use C23 constexpr keyword + +This fixes building with upcoming GCC 15 which defaults to -std=gnu23. + +Upstream-Status: Submitted [https://github.com/fanf2/unifdef/pull/19] +Signed-off-by: Khem Raj +--- + unifdef.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/unifdef.c b/unifdef.c +index dc145a2..4bd3bda 100644 +--- a/unifdef.c ++++ b/unifdef.c +@@ -202,7 +202,7 @@ static int depth; /* current #if nesting */ + static int delcount; /* count of deleted lines */ + static unsigned blankcount; /* count of blank lines */ + static unsigned blankmax; /* maximum recent blankcount */ +-static bool constexpr; /* constant #if expression */ ++static bool is_constexpr; /* constant #if expression */ + static bool zerosyms; /* to format symdepth output */ + static bool firstsym; /* ditto */ + +@@ -1086,7 +1086,7 @@ eval_unary(const struct ops *ops, long *valp, const char **cpp) + *valp = (value[sym] != NULL); + lt = *valp ? LT_TRUE : LT_FALSE; + } +- constexpr = false; ++ is_constexpr = false; + } else if (!endsym(*cp)) { + debug("eval%d symbol", prec(ops)); + sym = findsym(&cp); +@@ -1103,7 +1103,7 @@ eval_unary(const struct ops *ops, long *valp, const char **cpp) + lt = *valp ? LT_TRUE : LT_FALSE; + cp = skipargs(cp); + } +- constexpr = false; ++ is_constexpr = false; + } else { + debug("eval%d bad expr", prec(ops)); + return (LT_ERROR); +@@ -1170,10 +1170,10 @@ ifeval(const char **cpp) + long val = 0; + + debug("eval %s", *cpp); +- constexpr = killconsts ? false : true; ++ is_constexpr = killconsts ? false : true; + ret = eval_table(eval_ops, &val, cpp); + debug("eval = %d", val); +- return (constexpr ? LT_IF : ret == LT_ERROR ? LT_IF : ret); ++ return (is_constexpr ? LT_IF : ret == LT_ERROR ? LT_IF : ret); + } + + /* diff --git a/meta/recipes-devtools/unifdef/unifdef_2.12.bb b/meta/recipes-devtools/unifdef/unifdef_2.12.bb index 3e08b3a0a45174746c7664ca7b691bf8717100d7..bf0f3e1b17b8b6fe8b265e07c33dcc3faff57709 100644 --- a/meta/recipes-devtools/unifdef/unifdef_2.12.bb +++ b/meta/recipes-devtools/unifdef/unifdef_2.12.bb @@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3498caf346f6b77934882101749ada23 \ file://unifdef.c;endline=32;md5=6f4ee8085d6e6ab0f7cb4390e1a9c497 \ " -SRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz" +SRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz \ + file://0001-Don-t-use-C23-constexpr-keyword.patch" SRC_URI[md5sum] = "ae8c0b3b4c43c1f6bc5f32412a820818" SRC_URI[sha256sum] = "43ce0f02ecdcdc723b2475575563ddb192e988c886d368260bc0a63aee3ac400" From patchwork Mon Mar 24 16:33:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59793 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 9A5ABC36002 for ; Mon, 24 Mar 2025 16:33:43 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web11.43701.1742834022859107491 for ; Mon, 24 Mar 2025 09:33:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V78DiywT; spf=pass (domain: gmail.com, ip: 209.85.214.180, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2239c066347so104719395ad.2 for ; Mon, 24 Mar 2025 09:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834022; x=1743438822; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=F/i/tPJNPgp4B3hNJS7m5wAW2mOVyP6J7XtncrtjAiI=; b=V78DiywTK5NieMce4N9jQAkj9SM/HSDxNDhrn90yxHrXcKE0smMH2fM+IolLd02KN6 VMDjy+Mec0o72mBkY18vs+LI8B3wqEfftb08xYNaRNaa0OX7+dblqUorlgENEKZ9+9ZF gizXC+mG+EtmxOo/KXgEfmd+FV2vM3VUoZhrCBfGmlWM7Iy5B09WdwygBTRgTBzs6w1J i8SkfDYwcmj2SjWCgvz++nM1pDITNDJGFD7vAMn/7YHiqYrwiPal795bAg09snc7dsQM +aEoFAWbAfumPpzeIXY7VfDk4F5vgOAg0jOL2hafysGKWnufAw0adbetf47i1ZfSWag9 4UQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834022; x=1743438822; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F/i/tPJNPgp4B3hNJS7m5wAW2mOVyP6J7XtncrtjAiI=; b=OI81n50CGyhoupK9omSq5CmhRF6Y3DIb5BmkUeq/GYlGHufovvzZQZShLjKAiFtvnS TGniTv10WIfNM2fGal3zGmNCTgKEvPsd5OwrNeNnFzn3SJ+mIlwv9edHNDOOtVlUGJTx vjwCUAjH93qY/xXjigrE1wum95KCJ3s4m/0BYk+ayqZZ/HlqIziB0/EEi6CCaco2jnqU RF6EuJGHNcz8qTqOOfce0As+/ptUZV46PkdLn44nx8e0Dye4AgLQzBjBEs9OWSQCofOc wW2GjwB/wX3aFToCTtOJNBlr2PDEHXhrFbJQpAmMecFR7wi32P++Af6tLV8e5ZJ5qPs7 XMSA== X-Gm-Message-State: AOJu0YxokOgMcfsp72Gnya5tG42haYYt9QrW/RJiuXLLgbUlMUMRL2jg 5YtjKixCymXIMpIBT1GAKEKwadSuC28C2twOZlKUljrFDbrMUmIXBy+A60ca X-Gm-Gg: ASbGncsmrf1MXoRsaXduITxykvs9GsVwuJjgb1LcGL5qZcE0x3Qk9V095E8PvRBtLNZ Vc1SoSZXTVLK9fq15Gh87WTngWW2x9iXR2B4bsgF4IlEcZ8LeCUaKpLW+qz8GzBHRil33cfztsH hiJm63A07+1mW2R1xKjmtq/d9lWKAJKHvY9O/DJ32Yw/flenZ49cTFpV9Oi2MPOLE728gjt3hlu daVKJJ7mHDSIC+M3vudxmMKEin2HnH8Ihma5Y7cTaOnaAzWLfL03a+q9SQu06k8PdJTM7lLRQ5c L4SMvbvCW9EoFvF9algT5o9G5yCgOm72wsPICuNvWNNSBSM= X-Google-Smtp-Source: AGHT+IGD2UGs1QBxV38d08XvrK9tgZNSYkknzIDREwpS3EtXs17CGAPRHuvgQQgNJp9dYTBNj8OPFg== X-Received: by 2002:a05:6a20:c886:b0:1f5:79c4:5da2 with SMTP id adf61e73a8af0-1fe4331ddc4mr26134153637.31.1742834022103; Mon, 24 Mar 2025 09:33:42 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:41 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:23 -0700 Subject: [PATCH 02/21] unifdef: Drop md5sum for SRC_URI MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-2-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213534 Signed-off-by: Khem Raj --- meta/recipes-devtools/unifdef/unifdef_2.12.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/unifdef/unifdef_2.12.bb b/meta/recipes-devtools/unifdef/unifdef_2.12.bb index bf0f3e1b17b8b6fe8b265e07c33dcc3faff57709..e3bd4eb0f9d6fa9276c218dbee18e0c4fe927b2f 100644 --- a/meta/recipes-devtools/unifdef/unifdef_2.12.bb +++ b/meta/recipes-devtools/unifdef/unifdef_2.12.bb @@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3498caf346f6b77934882101749ada23 \ SRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz \ file://0001-Don-t-use-C23-constexpr-keyword.patch" -SRC_URI[md5sum] = "ae8c0b3b4c43c1f6bc5f32412a820818" SRC_URI[sha256sum] = "43ce0f02ecdcdc723b2475575563ddb192e988c886d368260bc0a63aee3ac400" UPSTREAM_CHECK_REGEX = "unifdef-(?P((\d+\.*)+)(?![a-f0-9]{6,})).tar" From patchwork Mon Mar 24 16:33:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59797 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 80CC9C36008 for ; Mon, 24 Mar 2025 16:33:53 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web11.43705.1742834024088752783 for ; Mon, 24 Mar 2025 09:33:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DVxtmCY3; spf=pass (domain: gmail.com, ip: 209.85.214.170, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-227914acd20so42906495ad.1 for ; Mon, 24 Mar 2025 09:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834023; x=1743438823; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=jzXAGxKMvNINZ8Nmsry4POJpnkHjjaPqFkq4KEqx2Yo=; b=DVxtmCY3ZNksjQPy8gKiq+9XfnJTuJJNDCa5xk7kEAIixCvLDUbLXkW7QNy2GNWJ3q SUuO23ufO0tnrMBjfY16DfWY6JvbgJH4YrRlct9PEOy/9rhcV0JT29CUmDotNvGhzT6W wPP6bfTgievnxJZFIJXIaRxJpJ7+GsGIF7/uCEqIp/uHz+RJpty+uJqWzsNfDk7Q1MQd WhJBL7sMYwLw3rYvWHDUP0pIs0/I3cUB18Gzg8ux0wgmPo66/OGzBv98IMp9uFd4YF5q 9wInoCDBU5wr2JwwKVdV0LU1UzgJ6ndf7NSjyPP+3cunFzeQPmcrIdzZxGwzfmgbpp8m Y0fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834023; x=1743438823; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jzXAGxKMvNINZ8Nmsry4POJpnkHjjaPqFkq4KEqx2Yo=; b=CqKDIU7GNV0Hpcz8psdu9ctbCZdH7HRGGboLcoWfRBDnvG+5VCvYUPWmm+7ldy3BGw jtezpvstehaXLGPtucp5Q/1GGfghgsxIUG54nbExkBo8mJJmn776mkv+7ggwuzY4t0V1 4KIDJI6jsc1ttPT5FF1vDsAEyCu70Eofg7zCIcN4T0w5NZ9gX4UgV4VPPSBq/4WKCFpa p2pM4xAngEB90jSICsUOsvxgn2t+KF13cfH7r8t94Q/6la4Cuw4jO8BwK32nrm3wOoeB xxe06AoLUYerw3gUY3vEAn2LZXZYQJpiej6DhTnvdMy8C/PnUHRJFTciwqpe30OoruWe N3pA== X-Gm-Message-State: AOJu0Yz4a96QCm6ePPrHWkKlIXeziCOZ/3VkHhtlKWd97+u98XK6QHyr G9dNmzN7/S7Ze931cHEt9WOP5VISmh7eOncJIDqKNgCdx0KDTYUrrdAkhyv+ X-Gm-Gg: ASbGnct2tfZ1+chwQv+ywM5Yc2XTXkafj7L+Xxe9quco3e2AB+5jNzSJ01Lk9SJu19p AGgHO7p2MdtSGIRMQLNvT4uOExqhDMvdYAWBZIbIusKpMlJvJ/P38sutJgpmcF7dBJXFI++5A6y OjQNef2PugLH/NRgLt8TWpHgLYROzsXPmQYYJsbhCtDl6GyrR16OOihQPs7tb9/K84ieE8uBmGP cuzwLCjeG6Ejov8f3hXp+YTWRb1IQMKNi3jnwTrVM6A00rrFKFgTyR7n42Y2KoWsIdDqmpbRgkw CAAG46Pz1N6P9ZPRtbVyp3nEZIFA/aXol5wPnRivxmVXk44= X-Google-Smtp-Source: AGHT+IFderUP1LVclBU+48jn5U6tux9j6Yiru3H5zDa7UMXbQKml+xiFcaGqB7AX6fCrX/zcJ2FgRA== X-Received: by 2002:a05:6a20:c886:b0:1db:822f:36d8 with SMTP id adf61e73a8af0-1fe42770d03mr23361363637.3.1742834023225; Mon, 24 Mar 2025 09:33:43 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:42 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:24 -0700 Subject: [PATCH 03/21] nettle: Fix build with GCC-15 MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-3-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213535 These signatures are exposed when build with musl particularly Signed-off-by: Khem Raj --- ...-getopt-getenv-signatures-in-declarations.patch | 44 ++++++++++++++++++++++ meta/recipes-support/nettle/nettle_3.10.1.bb | 1 + 2 files changed, 45 insertions(+) diff --git a/meta/recipes-support/nettle/nettle/0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch b/meta/recipes-support/nettle/nettle/0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch new file mode 100644 index 0000000000000000000000000000000000000000..c6f75e9150aa0108bfbc852784073f24c4245779 --- /dev/null +++ b/meta/recipes-support/nettle/nettle/0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch @@ -0,0 +1,44 @@ +From 20eb61eded3bf2ef03e1f37c8c1535b9c246d0f7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 22 Mar 2025 13:48:29 -0700 +Subject: [PATCH] getopt: Fix getopt/getenv signatures in declarations + +GCC-15 complains about this when trying to build on musl + +| ../nettle-3.10.1/getopt.c:139:14: error: conflicting types for 'getenv'; have 'char *(void)' +| 139 | extern char *getenv (); +| | ^~~~~~ + +Upstream-Status: Submitted [https://lists.lysator.liu.se/mailman/hyperkitty/list/nettle-bugs@lists.lysator.liu.se/thread/R6BDHRO44KSRDAOZQAREYICI2RG5PVNC/] +Signed-off-by: Khem Raj +--- + getopt.c | 2 +- + getopt.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/getopt.c b/getopt.c +index 9d29de7..5b89302 100644 +--- a/getopt.c ++++ b/getopt.c +@@ -136,7 +136,7 @@ static struct _getopt_data getopt_data; + whose names are inconsistent. */ + + #ifndef getenv +-extern char *getenv (); ++extern char *getenv (const char *); + #endif + + #endif /* not __GNU_LIBRARY__ */ +diff --git a/getopt.h b/getopt.h +index da1a01f..ab50792 100644 +--- a/getopt.h ++++ b/getopt.h +@@ -166,7 +166,7 @@ extern int __posix_getopt (int ___argc, char *const *___argv, + # endif + # endif + #else /* not __GNU_LIBRARY__ */ +-extern int getopt (); ++extern int getopt(int, char * const [], const char *); + #endif /* __GNU_LIBRARY__ */ + + #ifndef __need_getopt diff --git a/meta/recipes-support/nettle/nettle_3.10.1.bb b/meta/recipes-support/nettle/nettle_3.10.1.bb index 85c470b10da41b3f0e1e0a6a241c415c273e9932..267a6ed44955c8bd648f0ff5d12f71406e279e1a 100644 --- a/meta/recipes-support/nettle/nettle_3.10.1.bb +++ b/meta/recipes-support/nettle/nettle_3.10.1.bb @@ -18,6 +18,7 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ file://Add-target-to-only-build-tests-not-run-them.patch \ file://run-ptest \ file://check-header-files-of-openssl-only-if-enable_.patch \ + file://0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch \ " SRC_URI[sha256sum] = "b0fcdd7fc0cdea6e80dcf1dd85ba794af0d5b4a57e26397eee3bc193272d9132" From patchwork Mon Mar 24 16:33:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59803 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 B666BC36010 for ; Mon, 24 Mar 2025 16:33:53 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.web10.44213.1742834025421368881 for ; Mon, 24 Mar 2025 09:33:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SSZ0roHF; spf=pass (domain: gmail.com, ip: 209.85.214.182, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-227914acd20so42906995ad.1 for ; Mon, 24 Mar 2025 09:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834025; x=1743438825; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=VDxg1Vted7upm9MHaALWX3XE0s8qqEIP/QEHG7I/BxI=; b=SSZ0roHFwOTIoNMPWjw6yl5DvjWHM7dD25F3rwG5b9DRSVC3fRTv7oCmh6IzRR3bRK EcuF0LS1R4M6k0CTbMm8K/Lf/XjMUtX401J+4C/E0vDizfUSuCbP4DgyvE0ttnWp/Jk4 B1UlKGiqeEo4+xR59okvE+RiW3u/7GuUPnnUfqmKpR4/qxjeuR25ESRxkx9v2l3oRAB9 crD4sjg/y+wpcxzrWxtQJSnWTpke+hNaT3BplOqCWR6Puwgf7VIuJLjnsR1dSRspkJXf OnpzfjQ4V018M8YraU9V7NH38ZVmRHRjA3cd4tAqvwSXIK3rz+Mm0ny6dP8gaotWosUj q3xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834025; x=1743438825; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VDxg1Vted7upm9MHaALWX3XE0s8qqEIP/QEHG7I/BxI=; b=DYSE1ZmvwZfSn9dz8nRHB26TxLKNa61VgbjW78tXhKReqg2OGDBLPXzFGmbmxjGuM2 BfmL0/qLhxdw4lUCW1sWPu1llQbp/wtKxvYxnm8XMMEucchGD4Si4xoFc4FfL1WCGHIr bz7OC8LdaaaU1bg5FOlL9a6G+GtPksuDubI3P4eCbMUgAo8FvgooMzHJFxsbme1L9Jsy 63MEH4vXVizM81VdabMV2M5XpTsrgh020gz4HQ3KoiTe/g/7vhkhcwiKgxtp8wJWTJ3E NbH53y7AddJV/tpWYLfeNRqr1sjqupK5XqHRUYLwVZIipmYB5RdRwrQJWzIiU4uoi9/c c7/w== X-Gm-Message-State: AOJu0YwB+/22RTlkq0Nl3b9LEtUTOonqof52terWhhrrs3piOdW2jsTB Xw7sQ+koGQSR6sNDgUnSU+qY8fAPxR+Uv5H5mY52h7SjCPBfNSA8wuWBJq9z X-Gm-Gg: ASbGnctLbzq4G6lxp/I8xcLOVqY3T2ije/awW/cRTJxZCaUa/f17QMj2ubjseHGH9Jn JEscQWb/Fdx30ROkqLdQI07ZitIea1Z+mfrfdj9p8OSRpazZguFxQWvA5xwxYJ/pYHTYTqbrtw4 fAd17mU6iIwyWQhMdVPWS+cVd4gyT2qfGPmb14K3Ho1GOvGK60v2HV8e3IZha3X98Mh0DFjyFmT ps6jLQJ/t+rD4rOiVt3AD635WGS0YDIZK2OnZE86qllaFJ/059yHK64My1EJ6BRrUGlRe5okqjr p/vF7pMGhHZNB674p96ljrcou2mOHiHOtK8A X-Google-Smtp-Source: AGHT+IHwrJ7BqqqcfarxcUFX42Njd1XQG2CB82GUnFWX7ssNAsR3x+4tBVGZyS+Ml/FKCewKg4cDSg== X-Received: by 2002:a05:6a20:918d:b0:1ee:d664:17a4 with SMTP id adf61e73a8af0-1fd0904d946mr27096936637.10.1742834024571; Mon, 24 Mar 2025 09:33:44 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:43 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:25 -0700 Subject: [PATCH 04/21] make: Fix signatures for getenv() and getopt() MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-4-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213536 Fixes build with GCC 15 Signed-off-by: Khem Raj --- .../0001-Fix-signatures-for-getenv-getopt.patch | 60 ++++++++++++++++++++++ meta/recipes-devtools/make/make_4.4.1.bb | 1 + 2 files changed, 61 insertions(+) diff --git a/meta/recipes-devtools/make/make/0001-Fix-signatures-for-getenv-getopt.patch b/meta/recipes-devtools/make/make/0001-Fix-signatures-for-getenv-getopt.patch new file mode 100644 index 0000000000000000000000000000000000000000..707de7f2d0786762be3c5b82b9c5341de30c3c75 --- /dev/null +++ b/meta/recipes-devtools/make/make/0001-Fix-signatures-for-getenv-getopt.patch @@ -0,0 +1,60 @@ +From f844b6588dbdb93d9ff0fe883bd801df62c965b7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 22 Mar 2025 14:07:56 -0700 +Subject: [PATCH] Fix signatures for getenv/getopt + +GCC-15 complains about missing parameters, this gets found +out when using non-glibc ( e.g. musl ) C library + +Fixes +lib/fnmatch.c:124:14: error: conflicting types for 'getenv'; have 'char *(void)' +| 124 | extern char *getenv (); +| | ^~~~~~ + +Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-make/2025-03/msg00032.html] +Signed-off-by: Khem Raj +--- + lib/fnmatch.c | 2 +- + src/getopt.c | 2 +- + src/getopt.h | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/lib/fnmatch.c b/lib/fnmatch.c +index 01da376..cb1c856 100644 +--- a/lib/fnmatch.c ++++ b/lib/fnmatch.c +@@ -121,7 +121,7 @@ USA. */ + whose names are inconsistent. */ + + # if !defined _LIBC && !defined getenv +-extern char *getenv (); ++extern char *getenv (const char *); + # endif + + # ifndef errno +diff --git a/src/getopt.c b/src/getopt.c +index 7a792de..76251cc 100644 +--- a/src/getopt.c ++++ b/src/getopt.c +@@ -202,7 +202,7 @@ static char *posixly_correct; + whose names are inconsistent. */ + + #ifndef getenv +-extern char *getenv (); ++extern char *getenv (const char *); + #endif + + static char * +diff --git a/src/getopt.h b/src/getopt.h +index df18cee..d8bb226 100644 +--- a/src/getopt.h ++++ b/src/getopt.h +@@ -102,7 +102,7 @@ struct option + errors, only prototype getopt for the GNU C library. */ + extern int getopt (int argc, char *const *argv, const char *shortopts); + #else /* not __GNU_LIBRARY__ */ +-extern int getopt (); ++extern int getopt (int, char * const*, const char *); + #endif /* __GNU_LIBRARY__ */ + extern int getopt_long (int argc, char *const *argv, const char *shortopts, + const struct option *longopts, int *longind); diff --git a/meta/recipes-devtools/make/make_4.4.1.bb b/meta/recipes-devtools/make/make_4.4.1.bb index c73751ddcbad5f5adeff6b35fab1464cbb64f45b..0879b3baa927a6ed11ae7faa9d99cc279a783ee4 100644 --- a/meta/recipes-devtools/make/make_4.4.1.bb +++ b/meta/recipes-devtools/make/make_4.4.1.bb @@ -4,6 +4,7 @@ require make.inc SRC_URI += " \ file://0001-m4-getloadavg.m4-restrict-AIX-specific-test-on-AIX.patch \ + file://0001-Fix-signatures-for-getenv-getopt.patch \ " EXTRA_OECONF += "--without-guile" From patchwork Mon Mar 24 16:33:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59799 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 93D3BC3600D for ; Mon, 24 Mar 2025 16:33:53 +0000 (UTC) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mx.groups.io with SMTP id smtpd.web11.43707.1742834026680465672 for ; Mon, 24 Mar 2025 09:33:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hYJ4lYmP; spf=pass (domain: gmail.com, ip: 209.85.214.178, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-224341bbc1dso87486385ad.3 for ; Mon, 24 Mar 2025 09:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834026; x=1743438826; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=/+tBLibFErLnFMJXc7xO7WapFcCCqxq34J4cSYY0jOE=; b=hYJ4lYmPTYz49+wy81dNZm2yCjkNqziUht/oAV9vyIbQR9DsYo2AZx3jqKzENViL55 2wAPlMZSb+u8+8MkMu4JaNVjBQOCZ1MpfTdyu1zqgbgkQVFL/NUFJfZ3y8snO4VEh7mu ATMc+ngGCXX/wSBl06zseBGOGP/hXRYTtroLimZZvwGs8fFMD2JVqu8VyfZtzOttZX3/ QBoKIShHdfyPa2v6Zdk/wjuvjq8fY6JUFF8Oi8jp++htEgufbm20mJAaMEfy1+nXMb0h qqDVz39rQUJt6+YZs5S00FUvw/kw1adV6xa26Eu4MWXCVyhQEiPzP1DUXWDL9f/6kYRT Kczw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834026; x=1743438826; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/+tBLibFErLnFMJXc7xO7WapFcCCqxq34J4cSYY0jOE=; b=Pc3dvwLDocjIheyB64Q96wVPHYyMph5kXCz07AnpShepZJC8XR5h8kaT+6/JMDSM4r SwR8WryINue0gxfbIUPPZ94T4HH87lZOMwkpC+eCTueveB4hXESMdc93vD4ml7wBgYCi tWwhxByh2tPGErspJvrQSbV3P6p9g29UsZ4pg1JkXtMteE7PoGvXpuW8k1rnK7+72C9k Qx5/4FbmDPAxhworGzr+oP1cmZU6rlDnGdWSf9C0+mWDDVc4Umu873n9hKqBqJoqELB+ XkvgomjPlh02saKdW/UcxGcE8+0x/o2NTTeT3P4JhwRhu0enLt2WSIrPQNQIEBZC/PT2 6zag== X-Gm-Message-State: AOJu0Yy0OuOSY6I7O0kBpqluUbsbCFKD78aafXb9K1sh7/Ajsxy9Rt/R tyRj/45Ho2RDWrUSMRA8q1xjlOyeQum8hqMXdLkMKrail9xPbZrnSS0KGKr4 X-Gm-Gg: ASbGncthf7d1sJm7dvCwSL1aSpyyC3yfGK2jKy6/EFiQxX/JwCROG74UfvRgJGr6Ebp qPjdtaCUx+ssUHwNGGJccx1l1poXrtmIb+pq7CH7Be48z5PBBnQiRt8E8YXQ8ukvqQWGYNwQWx1 HbHfdW3uz+W7bw9MtaQ0ZK1c2dD7y+/xUky1kVuTaTi9s3IKhkxBmkrNsBblt2Pwu17YQcE7+Rl 9rBA9nen7foSUoqXIXsZOPb0dfJ08EJqMRfT0WK7tF+C3kwmhBlso2+H7DeokXqAechAV8qx3hL sw8thqlDFgKyTmGzyV9ghFVneUeZwM557mfj5opwbKNYLgA= X-Google-Smtp-Source: AGHT+IH4q7lJ1UKnnKI6QnTns8scGk6B/xRFs0GeA2WuuYu/OjVv0dNcQ38P7FD5A1boneov3ufQOg== X-Received: by 2002:a05:6a21:6da0:b0:1fd:e9c8:cf3b with SMTP id adf61e73a8af0-1fe4320601dmr22704839637.30.1742834025892; Mon, 24 Mar 2025 09:33:45 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:45 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:26 -0700 Subject: [PATCH 05/21] groff: Fix build with GCC-15 on musl MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-5-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213537 part of getopt.c is used in non-glibc libraries needs attention when compiling with gcc-15 Signed-off-by: Khem Raj --- ...0001-getopt-Fix-type-signature-for-getenv.patch | 27 ++++++++++++++++++++++ meta/recipes-extended/groff/groff_1.23.0.bb | 1 + 2 files changed, 28 insertions(+) diff --git a/meta/recipes-extended/groff/files/0001-getopt-Fix-type-signature-for-getenv.patch b/meta/recipes-extended/groff/files/0001-getopt-Fix-type-signature-for-getenv.patch new file mode 100644 index 0000000000000000000000000000000000000000..c69a2b4f6738ff739a96ed7a4f4a87b1afb0a684 --- /dev/null +++ b/meta/recipes-extended/groff/files/0001-getopt-Fix-type-signature-for-getenv.patch @@ -0,0 +1,27 @@ +From b68b3c6157c531bdcf5812fd93aadff9c18de6bd Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 22 Mar 2025 14:41:23 -0700 +Subject: [PATCH] getopt: Fix type signature for getenv() + +This fixes build on musl with GCC 15 + +Upstream-Status: Inappropriate [Next version is use getopt.c from gnulib] + +Signed-off-by: Khem Raj +--- + src/libs/libgroff/getopt.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/libs/libgroff/getopt.c b/src/libs/libgroff/getopt.c +index 6efa529..ce39115 100644 +--- a/src/libs/libgroff/getopt.c ++++ b/src/libs/libgroff/getopt.c +@@ -122,7 +122,7 @@ static struct _getopt_data getopt_data; + whose names are inconsistent. */ + + #ifndef getenv +-extern char *getenv (); ++extern char *getenv (const char *); + #endif + + #endif /* not __GNU_LIBRARY__ */ diff --git a/meta/recipes-extended/groff/groff_1.23.0.bb b/meta/recipes-extended/groff/groff_1.23.0.bb index 34a42c7e264a63c021076737b326b397ffd8c184..0c2ef6175826a0acd1affaf60b09297a171d858c 100644 --- a/meta/recipes-extended/groff/groff_1.23.0.bb +++ b/meta/recipes-extended/groff/groff_1.23.0.bb @@ -14,6 +14,7 @@ SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz \ file://0001-build-meintro_fr.ps-depends-on-tbl.patch \ file://0001-hdtbl-Fix-Savannah-66316-missing-grn-dep.patch \ file://0001-contrib-hdtbl-hdtbl.am-Fix-race-issues-for-parallel-.patch \ + file://0001-getopt-Fix-type-signature-for-getenv.patch \ " SRC_URI[sha256sum] = "6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13" From patchwork Mon Mar 24 16:33:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59801 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 A7B0CC3600E for ; Mon, 24 Mar 2025 16:33:53 +0000 (UTC) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mx.groups.io with SMTP id smtpd.web10.44215.1742834028370614087 for ; Mon, 24 Mar 2025 09:33:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UML5C52b; spf=pass (domain: gmail.com, ip: 209.85.214.178, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-224100e9a5cso88983125ad.2 for ; Mon, 24 Mar 2025 09:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834028; x=1743438828; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=kU9EGrZMECHPiMp4Lw2CzdSffighwIfozvIGbvbOA2g=; b=UML5C52b8hugieqh6CTH/JDk0aWa5dQ+ndaqCOMizDyVnfJkcYhWqvDqyn8Patpjej Ceq2WtrZZZtGWAsGQUwHCvGJbavfRjF9AXWB8+yI1h/rLW1/hOYDBWS9JvEjMW19sXTr acbMVGTU+K37Iz2f84JxEDVWqqtMD/w3sb0x8W7+VRcOovvGlXOAjMqpn6npI3K7xETY F47tXrBo/GNeVdvWgyf4MDPF4mjYGQzJXp19wcysl5EU+R23Q5z4w1VIZnFsop6HOgFa bmXbXTIQpvvxuPCS2fYUTrYPNIJmxWgjqC5U3DVRRVg50cTV36k+cVsetDUPkdGwG3Hh ZlrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834028; x=1743438828; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kU9EGrZMECHPiMp4Lw2CzdSffighwIfozvIGbvbOA2g=; b=AAuT5XNSn8BlKfbNXdmHL15mvI6Evso/csRL9Smf5d9+hYssIBASaNtfSQsSxYI9DD BtnzyZkdNh50TziYprEkQsLIsvFVg89gJypEnsmlkIWvfOeYW6VmUUwAzJf6QTFq2Kha 9lXyskRyExAQEQQ6Ct+EYpTi4E23V0U6as4JjiNr+rVh4xk5Njd8WqKQCss/vXJbFwmq DTa6kteS+Wsj1b2AA6SgeK5tUwFojITjMDhVnRTp8FoOJtJ5JCGvgvSrwcr0C+dBkjp/ cdW7KIItV1mf0bGyFX8u9VioXXxz8uttSAV/5LLGIshlmDkJ/u2Jm8pf/GG6mDL9ZHzx tslg== X-Gm-Message-State: AOJu0YynRMkfk6WhcFRAXnRjqPP6cJhthVnkbvyRstcOmFx0zT4G0kMo EZxdfEibIysf3Bgd/5T1H+XhyyFAJ0FmdxvFV+KMUz0w7sl8FeOl9kvxQ3uN X-Gm-Gg: ASbGncu9gN9GoWwAvkg9S0GpG9lHAGetcwHbmzb7+oYZZn1A/jRj4kcFg0m8RmMh2wN MN6gfiEEJy7V0p+st5+LGgVj5sJSgPXt/KwcOSQ6WWXX4IP8G9RGokSFY8Mk8qUgui60tG6VBDn 5QpvVvUTzlXBy9TYiJ6zlD7HDhLL2k2EdEtFsZEEk1XJX45EZqyctcfRJHEiVNHptOX99QK8bG2 8MFLVssecMWEyPIAbQyI7MKAKZWVAFl580/fWPZUgI1nJZQYglQZtqnin7y6C4pcP0eAPiz0cZU RNkoMeTAIxSfXmTYjiPLtgG5Xv5lz6QbCGRAHRgeHghY7dw= X-Google-Smtp-Source: AGHT+IH3YBodze7ZQizFqtrlGo98n2Mc9mdegZaL8aAunUcO72pmpi9O23OJqYWFDXZFo56IUQbC+Q== X-Received: by 2002:a05:6a21:3393:b0:1f5:8748:76cc with SMTP id adf61e73a8af0-1fe43010117mr24265367637.31.1742834027394; Mon, 24 Mar 2025 09:33:47 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:46 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:27 -0700 Subject: [PATCH 06/21] gawk: Fix build with gcc-15 on musl MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-6-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213538 getopt signature needs to include parameters or else gcc-15 complains Signed-off-by: Khem Raj --- ...arameter-signatures-for-getenv-and-getopt.patch | 54 ++++++++++++++++++++++ meta/recipes-extended/gawk/gawk_5.3.1.bb | 1 + 2 files changed, 55 insertions(+) diff --git a/meta/recipes-extended/gawk/gawk/0001-Add-parameter-signatures-for-getenv-and-getopt.patch b/meta/recipes-extended/gawk/gawk/0001-Add-parameter-signatures-for-getenv-and-getopt.patch new file mode 100644 index 0000000000000000000000000000000000000000..7ed615a8812d6d6fe1a2782e148c4672696b4d92 --- /dev/null +++ b/meta/recipes-extended/gawk/gawk/0001-Add-parameter-signatures-for-getenv-and-getopt.patch @@ -0,0 +1,54 @@ +From 4a8352eeaa99bbea3461696855c973447e87abdd Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 22 Mar 2025 15:14:16 -0700 +Subject: [PATCH] Add parameter signatures for getenv() and getopt() + +GCC-15 complains about it when building for musl C library + +Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-gawk/2025-03/msg00027.html] +Signed-off-by: Khem Raj +--- + missing_d/fnmatch.c | 2 +- + support/getopt.c | 2 +- + support/getopt.h | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/missing_d/fnmatch.c b/missing_d/fnmatch.c +index ccb7e34..7f97fbf 100644 +--- a/missing_d/fnmatch.c ++++ b/missing_d/fnmatch.c +@@ -121,7 +121,7 @@ USA. */ + whose names are inconsistent. */ + + # if !defined _LIBC && !defined getenv +-extern char *getenv (); ++extern char *getenv (const char*); + # endif + + # ifndef errno +diff --git a/support/getopt.c b/support/getopt.c +index eeb71ba..e7ebd19 100644 +--- a/support/getopt.c ++++ b/support/getopt.c +@@ -152,7 +152,7 @@ static struct _getopt_data getopt_data; + whose names are inconsistent. */ + + #ifndef getenv +-extern char *getenv (); ++extern char *getenv (const char*); + #endif + + #endif /* not __GNU_LIBRARY__ */ +diff --git a/support/getopt.h b/support/getopt.h +index 8393569..06482cf 100644 +--- a/support/getopt.h ++++ b/support/getopt.h +@@ -181,7 +181,7 @@ extern int __posix_getopt (int ___argc, char *const *___argv, + # endif + # endif + #else /* not __GNU_LIBRARY__ */ +-extern int getopt (); ++extern int getopt (int, char * const*, const char *); + #endif /* __GNU_LIBRARY__ */ + + #ifndef __need_getopt diff --git a/meta/recipes-extended/gawk/gawk_5.3.1.bb b/meta/recipes-extended/gawk/gawk_5.3.1.bb index 724b561c93f38e1dc4f50a9dc706e9c06ed685de..1fe2f2b2a79422c45cf746836e5a135695474cfb 100644 --- a/meta/recipes-extended/gawk/gawk_5.3.1.bb +++ b/meta/recipes-extended/gawk/gawk_5.3.1.bb @@ -18,6 +18,7 @@ PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr" SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ file://run-ptest \ file://0001-configure.ac-re-enable-disabled-printf-features.patch \ + file://0001-Add-parameter-signatures-for-getenv-and-getopt.patch \ " SRC_URI[sha256sum] = "fa41b3a85413af87fb5e3a7d9c8fa8d4a20728c67651185bb49c38a7f9382b1e" From patchwork Mon Mar 24 16:33:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59800 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 B2FC3C36011 for ; Mon, 24 Mar 2025 16:33:53 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web11.43708.1742834029554702371 for ; Mon, 24 Mar 2025 09:33:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jU2Y8eKv; spf=pass (domain: gmail.com, ip: 209.85.214.181, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-227aaa82fafso33994735ad.2 for ; Mon, 24 Mar 2025 09:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834029; x=1743438829; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Nj02LD1ogxvmlcRq1IouGCmf+6Qp/eQVg92ww/2Rnh0=; b=jU2Y8eKv2ijDX+ReR2bcbljaEoZZ1EVoWeCnjG5jO8BMoqH9eOK6idNLZUHXWconsj gEelzuoxNaohVjuzRSF2psVF8VQh11bU0SWq/IyrWlzPd4s8FLj2CYh3suM69gXcSaYm 5EARamw5Wv2qd1jGJ03ikf0qjoCUs1+4isxwOu+7i69sKdUdbYYq28RhPquEPbN+H5AD 8cWSYafHKnsxF1ng/K/FckpmyYQodAtTrvRGOGB6LZum+/SSK2Ul5JT/zVl4U3QGhTmB mjvOZiut6LM5iUKAdsoloPUFuySvE5FRSZEugju2OVb24dQ/5RY93VtXa65sMIx1dOTI bAzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834029; x=1743438829; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Nj02LD1ogxvmlcRq1IouGCmf+6Qp/eQVg92ww/2Rnh0=; b=ZvJhP8A/8TtitjvaXCj+RHoEj2jGYnXiyHmE1j7+is/r5Nx5DmlTN56loQMlKVfe91 TNTjf9ddL89vB3E2NOpOtdDLRlKJmxic3nlcQ07y9bxm8joBcSjYqQItkzwUSUthbp7l qwe8Ng638oliM+Xzy6ZsIHw4I+r1JZTwLFNkSvx3Bx3jF+hv+Plec4oVKdh3BK0gOktt F4TTm/zlP9GfKZTzKIRuNGFBDsEeRCAJUdU9HkQDg80q3WZ4HQR/a5Us/mKo9x0bL0bZ XbZsgZ7RYpTrQc9CJEuo8FofQRNbkv+VVCuq6dZJFr9tMbZFpwGTZst2xOnoEQxexqjg Xweg== X-Gm-Message-State: AOJu0Ywe8AjT6sHHABiIcxrIXBRRYmBWhZ/zhCq0bayl+MqVMN4LhafW yU8qtlMP4mdwnagYoHDzeDQMQ5lj5BZWxtXlXzxesFrqHg0aVWgNlJK4MiLL X-Gm-Gg: ASbGncvMI5KJRF/sewcY0xPLNWruX7kkClsAmFmnepIoAOVcfYXN0ePjoMxw3pyuVTa 62loUHm7GLLF8YucXavHU3URMPiNsCRNPJlilx8NjxL7fXb0Sj+hSqygcUqpLdj4gYhwH7XJbVr ucBX8QuXYYrOYT5QepSN0zC4cWIkkgwV//fTOiq6utpPGOZQbYPPK3J7DMlGfdQKWxLGESvyIQC rbpr4LD6RLZYA/+UtYt4ZYwmmUOl+MfY5FiZWejvjqezofPPFEJy5gbbUoEfFnrvwxwoYqhVpgS 83P4GMDfT1MSIw2LFsEH12GgIh+seoZK40gx X-Google-Smtp-Source: AGHT+IEjHbzObU0p0fXSlFkNtDhYA8mgRA3svGumeITrvF1oRTuGcTRv4G/Z2K8l/tHl925Yqyuspg== X-Received: by 2002:a05:6a20:9143:b0:1f5:9016:3594 with SMTP id adf61e73a8af0-1fe42f2d3bamr24779314637.18.1742834028799; Mon, 24 Mar 2025 09:33:48 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:47 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:28 -0700 Subject: [PATCH 07/21] which: Fix build with gcc-15 on musl MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-7-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213539 Signed-off-by: Khem Raj --- ...1-getopt-Fix-signature-of-getenv-function.patch | 39 ++++++++++++++++++++++ meta/recipes-extended/which/which_2.21.bb | 1 + 2 files changed, 40 insertions(+) diff --git a/meta/recipes-extended/which/which-2.21/0001-getopt-Fix-signature-of-getenv-function.patch b/meta/recipes-extended/which/which-2.21/0001-getopt-Fix-signature-of-getenv-function.patch new file mode 100644 index 0000000000000000000000000000000000000000..e006d797d3c4eb412ba0c9f87c73027bf9431afe --- /dev/null +++ b/meta/recipes-extended/which/which-2.21/0001-getopt-Fix-signature-of-getenv-function.patch @@ -0,0 +1,39 @@ +From 16a1647fc26953fab659de5f55d4c0defdfb894f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 22 Mar 2025 17:56:19 -0700 +Subject: [PATCH] getopt: Fix signature of getenv function + +This happens on musl systems using GCC 15 + +../which-2.21/getopt.h:106:12: error: conflicting types for 'getopt'; have 'int(void)' + 106 | extern int getopt (); + | ^~~~~~ + +Upstream-Status: Submitted [https://lists.gnu.org/archive/html/which-bugs/2025-03/msg00000.html] +Signed-off-by: Khem Raj +--- + getopt.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/getopt.c ++++ b/getopt.c +@@ -209,7 +209,7 @@ static char *posixly_correct; + /* Avoid depending on library functions or files + whose names are inconsistent. */ + +-char *getenv (); ++char *getenv (const char*); + + static char * + my_index (str, chr) +--- a/getopt.h ++++ b/getopt.h +@@ -103,7 +103,7 @@ struct option + errors, only prototype getopt for the GNU C library. */ + extern int getopt (int argc, char *const *argv, const char *shortopts); + #else /* not __GNU_LIBRARY__ */ +-extern int getopt (); ++extern int getopt (int, char * const [], const char *); + #endif /* __GNU_LIBRARY__ */ + extern int getopt_long (int argc, char *const *argv, const char *shortopts, + const struct option *longopts, int *longind); diff --git a/meta/recipes-extended/which/which_2.21.bb b/meta/recipes-extended/which/which_2.21.bb index 77861370e5bf3358365081033d2027e01e999249..c6142759e55565ce5715e378c13b91371bcdd605 100644 --- a/meta/recipes-extended/which/which_2.21.bb +++ b/meta/recipes-extended/which/which_2.21.bb @@ -18,6 +18,7 @@ EXTRA_OECONF = "--disable-iberty" SRC_URI = "${GNU_MIRROR}/which/which-${PV}.tar.gz \ file://automake.patch \ + file://0001-getopt-Fix-signature-of-getenv-function.patch \ " SRC_URI[md5sum] = "097ff1a324ae02e0a3b0369f07a7544a" From patchwork Mon Mar 24 16:33:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59796 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 848F8C3DA4A for ; Mon, 24 Mar 2025 16:33:53 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.web10.44217.1742834030770184594 for ; Mon, 24 Mar 2025 09:33:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Wd1ja36x; spf=pass (domain: gmail.com, ip: 209.85.214.182, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-225477548e1so85757985ad.0 for ; Mon, 24 Mar 2025 09:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834030; x=1743438830; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=v0jxlHIf07Dp0Wa7q5W+LZslLvOP1QqCBnrYe1M7SlY=; b=Wd1ja36x/1iwF9GgCYxv9pJFF1TsSBcpm+GwJMRxteClqiJB8F8h5U+bhvbjn24dZ5 VCkTgjqMe96s2Jva5gBxB5zwzu6jnPiPbnaOO9xBxDH0/eU5l3nlkyh6eJDdiS2bBr7f d+etRG1xwrO5cjOeaq8QCnEspTJgLxKwl7RDoi2uEvZ7IsG4wj7NBj/MSVREaaGYcsRm eHGghf0gf6RzYmOrBZC6tjH2MPlMReGnh7AmZSA95lJ2mEj+EBj7TSINiP7sPUeAxPcq aNirnXMApgyBIXVKZgN2IH5ut/P+n+hUzTh+QwRGRWwyUw9RSuDR6MTYQY8kAmcEKZjy ZK6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834030; x=1743438830; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v0jxlHIf07Dp0Wa7q5W+LZslLvOP1QqCBnrYe1M7SlY=; b=BV2oAcsNiU+rFnGqGkOpKva9v3pphIlYb/4MgZPsNiQrPVW7Wv5fvkDTVIa/BeVHRo DM23OLPfy+Dk/AVGrxJZNUHk/7LHt5DIFlyO5ElikwSffsjurafiKAPGQ8P937Qa4ZV0 PB9N46zoWmrOL241OfdMyE1IjXKvq7P1PNBOarCF5tvxQOHLYjVMv5FHVKcBPxez4Lq8 RsG5Afdv1+o2Ij51g52/IDRyeahruOQlk9SIjdNa5mNfKAjolVi/LJj3j6osb82deWTM 6WArh05/1fjimzCaNiprx/6/+WEEflV99If0BntL5PCuki1alVdTIJjjH/gUIh9PiW0j rGgw== X-Gm-Message-State: AOJu0Yz48BXlAq0VUwubjqZQWPFvp6PWOsqLxGJfH5D4BSmCyZd56V+A ooHxxf+4U+AomLYLh6iTbfqXToVZecU3Q+eSKBeIOQQhke+u6Hme X-Gm-Gg: ASbGnctqY7FAP9RKdSCq/9YiHt4qLbaZLHQ2BloQWMucEjPlDiwdEPWGV6wLxVTEkAe 8GnKOr6srF6UieD+pXcHwo6d89FLnHY8oxjK3f7qp2oqFiPPPr+/bhQin6Z0HdKmOUvDMIEkbTC ZQTpc4mZPPSuLYBd12PvLkVtcsoDj+6plHT3C3dgZjgYqr0Y0ilsv3DPzIt3JM6jafWbYjYFaE0 lhH3SEKsXHKGXpAbO2FvtL786NASnce6Zr67qiaHnueqoO6COuoTu5pblOGYAAL0TEfpOJzwsV5 UMW3hPEx0Mhsus8S/CO2Z3MHha1DIxV8cY8p X-Google-Smtp-Source: AGHT+IGzlAMis7tl2EVSgLdaY2DseVVv5g9k5Haau/9G05mGhfNdDZTLX2I+/ibHr28f1lVHHGiJ5A== X-Received: by 2002:a05:6a21:1:b0:1f5:6d6f:28e with SMTP id adf61e73a8af0-1fe4331ac2amr23173237637.42.1742834029977; Mon, 24 Mar 2025 09:33:49 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:49 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:29 -0700 Subject: [PATCH 08/21] which: Drop md4sum for SRC_URI MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-8-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213540 Signed-off-by: Khem Raj --- meta/recipes-extended/which/which_2.21.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-extended/which/which_2.21.bb b/meta/recipes-extended/which/which_2.21.bb index c6142759e55565ce5715e378c13b91371bcdd605..6e855bca3feb2f0bf35f4c7de42638fb75281180 100644 --- a/meta/recipes-extended/which/which_2.21.bb +++ b/meta/recipes-extended/which/which_2.21.bb @@ -21,7 +21,6 @@ SRC_URI = "${GNU_MIRROR}/which/which-${PV}.tar.gz \ file://0001-getopt-Fix-signature-of-getenv-function.patch \ " -SRC_URI[md5sum] = "097ff1a324ae02e0a3b0369f07a7544a" SRC_URI[sha256sum] = "f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad" do_configure:prepend() { From patchwork Mon Mar 24 16:33:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59798 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 A1A81C3600C for ; Mon, 24 Mar 2025 16:33:53 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web11.43710.1742834031945894519 for ; Mon, 24 Mar 2025 09:33:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ldcrfQf7; spf=pass (domain: gmail.com, ip: 209.85.214.176, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-22548a28d0cso89068525ad.3 for ; Mon, 24 Mar 2025 09:33:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834031; x=1743438831; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=U5Z9JRHIDD9gDasyTHj7ojODX/YkYObh2L+IyxC+nk4=; b=ldcrfQf7V3MBECF44D1J8WuiHy0k2RctI3PCDpsjKv6Rb2/nYW4wZB/XBHZkFIGfSo Q/O6hkX9iN2KI2g5xI2PUFiaEIcY/2+1qpbBPru7z1fVtmts4CyGJdMKmjYKs5tSjeCG gFaGcdr1xZQY6WWEvvoSO42R4yvXb+9FKnEqUPs4ef2+aZKLrbUDn/bI70uHCBxNErkT jTAV1vUaANGYZq0fTWshxNvCS5q5xx0ZSnQr5AjUnNzPwCSsl05hlgv8D4Q83xV3lupF pg/EysgNAOp/el/fr0+I1GodExWpPZeXlF2oXo2GTX2sNuISkzctQRveSqqdtuyYEf2D aeyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834031; x=1743438831; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U5Z9JRHIDD9gDasyTHj7ojODX/YkYObh2L+IyxC+nk4=; b=NdHctzcLCOONl+AvmVur9CXQFa3EuZjGOLO2lgRbLcWLJ4c52+R6sTLf00j3/Whwkz q5EcipYRs50a3lxIDhvILx+RHnDIoQIAAW5WKCQkybFwGfo7VNgQ0rFdRpnrW3cZfV9P cli+ZZNry83vWfEKqNqdQ5tjgH3Z2shQwNASuvGJfyQRHfM9XhsDz8cHDpAbADIy73TB U5P5WW9TbR58B+0nSL33oo4tcPto4AsVQx0toPXRlIiVj3Y1haW9tyj9fu/ZnLIIYEWS Vo6x66ihpkZw4mKmjU4OKDmNXQtUXv+EiO965ZQYChgFONYBg95f5sQaBX9Zj9n6SDzW XJdg== X-Gm-Message-State: AOJu0YxWaMVcvJD7nE/ZPQGzqvy52H6JtSUl14ExWvN6axGSGch/OeAk UlI+I2vROPrQo43YACbk3MITS4TgVilSsUY7QCLMYGfUH2ZPfK7J X-Gm-Gg: ASbGncu7kF7/N+mNoG35Wr7Swq98IKsAsueVmW9r0lFMEGwWRsuG73azfRm8iDolzP/ Ym/OpN3ZFZvI4bKg8crhqzpj+VFauNYxp1JgP6iruWDOUXEbmjgCfFifQFi0tzH83l6qyfsLs+C xC8MR3jxMA9cZe0VcVeka8Xg8z4Y6bsIlcPQ3sifHmVn8guJK8TCh80TaRVFL8UYZQZYjwKt7sY cGuq/chC+V8iebdsKBtV1ZzBQZFbqzYkKyg438C+doPEh/IbExZrWnMCWIP3UXFWAEFevfn5TmR CR6EOCeVd2QP0zJaMHfn94ryryjwIeTMzXgE X-Google-Smtp-Source: AGHT+IE+AQo8t+xLtmzmgSxooqMNLLVDWd+wourS3JdSu74B33QvHDyPSkbo6wx4gzU6+se167AxIQ== X-Received: by 2002:a05:6a00:3929:b0:736:ab21:8a69 with SMTP id d2e1a72fcca58-73905635469mr23778672b3a.0.1742834031045; Mon, 24 Mar 2025 09:33:51 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:50 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:30 -0700 Subject: [PATCH 09/21] db: Disable incompatible-pointer-types warning as error MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-9-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213541 GCC-15 treats this warning as error Signed-off-by: Khem Raj --- meta/recipes-support/db/db_5.3.28.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/db/db_5.3.28.bb b/meta/recipes-support/db/db_5.3.28.bb index a7d061e0da3d5e92c1cd0acf80a17a0e754c53d8..2e68398f5764dbe1eb9210b372accff2b3f32ee5 100644 --- a/meta/recipes-support/db/db_5.3.28.bb +++ b/meta/recipes-support/db/db_5.3.28.bb @@ -118,5 +118,6 @@ INSANE_SKIP:${PN}-cxx = "dev-so" BBCLASSEXTEND = "native nativesdk" # many configure tests are failing with gcc-14 -CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration" -BUILD_CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration" +# -Wno-error=incompatible-pointer-types needed for gcc-15 +CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types" +BUILD_CFLAGS += "-Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types" From patchwork Mon Mar 24 16:33:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59795 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 808EAC36002 for ; Mon, 24 Mar 2025 16:33:53 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mx.groups.io with SMTP id smtpd.web11.43711.1742834032619140249 for ; Mon, 24 Mar 2025 09:33:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PZiptWdj; spf=pass (domain: gmail.com, ip: 209.85.214.179, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-224100e9a5cso88985685ad.2 for ; Mon, 24 Mar 2025 09:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834032; x=1743438832; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=WgdckzxfRRJRynVpchZ+STqiFpRNhUkvnnc1YwwJeKI=; b=PZiptWdjqmK3z+vsici2jPom7VynygThKbyoezV3hx/Emk/fJU35ZmQvdsyGJjS4V/ tpu/1fdA92Kz6vpKIATpCB1UVGlxQtQguSxE12yTSwnZmFxb/CXataTWQV/VkmnPhrUu 9G/lViGlYp3F7KX8c84YTcNTWohjJGKo1AThAMYluy4UeFuzt3LqN/3uUwoW2+zjqaMi 3vpUOd5OsxGkMpYit5i4f6Jn9xiy2ztiCMohFBEXkeJT496sWswiKiMJGtMzMAZU7s4Y bL67paLQT0uHWf+DbsKfqh58DTNIx8wUtIpDrMG6Xsx6yGhrihVdXFxI6FcYQak/vyW6 0cug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834032; x=1743438832; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WgdckzxfRRJRynVpchZ+STqiFpRNhUkvnnc1YwwJeKI=; b=vYF44BV4U3xopzDgyEXCsrQVHDgqKMOkellw4yYOr3Q6Z4shFCbyVBOLJbmmLzJbWp Qo1gLJ3awq/OrTDzqPaIG/VFQPsm0LiGp419KWvszWDezu8reZDFJY6BYsVhEfxGasTB R6QTIksZvlqI306FmlbxfSauc0hMqUG8BkJSLp9R1EfVqNKrHlJiD1qCaMJmeUxsbFH2 PCrxl2y3cbsyylzfK+bqcw6wf7GK9F8l7IzrLUM2K7fkbhgvZgIGboUHB8iPwXn7yr3A 0grHPWO9C6iYroNvtfW4Q7CUNpkXS5OTYbgJ6dxnkXgEPmv5tch/6PzvIYfmGSOa09lF QTag== X-Gm-Message-State: AOJu0YxBbah83M5PypIgY/Us4iOjqwdPObwlOpESpdtJbCHPD2K0BiFm q/q01lghEGjyqI/7MWW91fvLq9dlJo4quHHUh5TtrcoCULQcKQAvvK2GlqZi X-Gm-Gg: ASbGncv85O5j9R9E2uyakfXlvXgaxVp9lnSom35uit1FahfUuWaM00hXglfdfwqtFhh kpYTPKWZZiDIolRD+agdj+wr4GYduljqzrTKoY9w7ZVNNLoD0+75cjg6JOQZuarFhx2kTYidReZ S9yIO5XknGOSqzOZOjeao+9T+DaHHgaxi7rHidlYi13syMWBkYV2NqC7vxpBsRGsb9FE/+OP5rt qe911jRetOvMViMZz5lPavL0AlebAB4m+ozM2QdnttDCbRT8MD0zCPFg3S4l6SwjxF5h0nxbxtj KXQQ0Gdpa2+uMIK3dNR1+SdXBmWIXniLsr66 X-Google-Smtp-Source: AGHT+IGuGZMhIrsbuQnFrUtAXW0Ihx2FFF4ogG78/5gcPD+n1abYPiXcZ1q8Z0szBd8RVIy5Buvzig== X-Received: by 2002:aa7:8892:0:b0:728:e2cc:bfd6 with SMTP id d2e1a72fcca58-73905a3b9d0mr21366676b3a.18.1742834031765; Mon, 24 Mar 2025 09:33:51 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:51 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:31 -0700 Subject: [PATCH 10/21] bc: Add missing params to getopt/getenv signatures MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-10-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213542 Fix build with GCC 15 on musl Signed-off-by: Khem Raj --- ...missing-params-to-getopt-getenv-signature.patch | 40 ++++++++++++++++++++++ meta/recipes-extended/bc/bc_1.08.1.bb | 1 + 2 files changed, 41 insertions(+) diff --git a/meta/recipes-extended/bc/bc/0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch b/meta/recipes-extended/bc/bc/0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch new file mode 100644 index 0000000000000000000000000000000000000000..f43f3360757d33c5737da2e78618c1b348f41243 --- /dev/null +++ b/meta/recipes-extended/bc/bc/0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch @@ -0,0 +1,40 @@ +From 493997b0d2c3dc6469f967d8f619ed934667c71e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 22 Mar 2025 18:33:08 -0700 +Subject: [PATCH] getopt: Add missing params to getopt/getenv signatures + +This ensures it can compile with GCC 15 on musl + +Upstream-Status: Submitted [sent to bug-bc@gnu.org] +Signed-off-by: Khem Raj +--- + h/getopt.h | 2 +- + lib/getopt.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/h/getopt.h b/h/getopt.h +index cc45f46..5ea5eac 100644 +--- a/h/getopt.h ++++ b/h/getopt.h +@@ -141,7 +141,7 @@ struct option + errors, only prototype getopt for the GNU C library. */ + extern int getopt (int ___argc, char *const *___argv, const char *__shortopts); + #else /* not __GNU_LIBRARY__ */ +-extern int getopt (); ++extern int getopt (int, char * const*, const char *); + #endif /* __GNU_LIBRARY__ */ + + #ifndef __need_getopt +diff --git a/lib/getopt.c b/lib/getopt.c +index b270074..3e6d071 100644 +--- a/lib/getopt.c ++++ b/lib/getopt.c +@@ -197,7 +197,7 @@ static char *posixly_correct; + whose names are inconsistent. */ + + #ifndef getenv +-extern char *getenv (); ++extern char *getenv (const char*); + #endif + + #endif /* not __GNU_LIBRARY__ */ diff --git a/meta/recipes-extended/bc/bc_1.08.1.bb b/meta/recipes-extended/bc/bc_1.08.1.bb index 473d78d8a7741d25c08941c8d080eeecb16a87a6..5fbbe7ef6abaea27c28280641007677a3048636c 100644 --- a/meta/recipes-extended/bc/bc_1.08.1.bb +++ b/meta/recipes-extended/bc/bc_1.08.1.bb @@ -13,6 +13,7 @@ SECTION = "base" DEPENDS = "flex-native" SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ + file://0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch \ file://run-ptest" SRC_URI[sha256sum] = "b71457ffeb210d7ea61825ff72b3e49dc8f2c1a04102bbe23591d783d1bfe996" From patchwork Mon Mar 24 16:33:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59802 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 B748FC36013 for ; Mon, 24 Mar 2025 16:33:53 +0000 (UTC) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mx.groups.io with SMTP id smtpd.web11.43712.1742834033376785079 for ; Mon, 24 Mar 2025 09:33:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gktxDelc; spf=pass (domain: gmail.com, ip: 209.85.214.171, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-227aaa82fafso33997195ad.2 for ; Mon, 24 Mar 2025 09:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834033; x=1743438833; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LXZdrQRG8HT5NsHgpQjWuO88dLDjKetpeO1oBDqQh6w=; b=gktxDelcStW6RthZ+bvFitSOGATySUwrM7wmCqJiHMpR0WrO6078UgBcIuzlEYQ8jC efE1u5Q5M7ExEw5m/5WQofiSYUnRZGggPePYKWY286sVSBvNNpbkm80K7lpXpxVGqd5j CyMo5dNRQUxS3CPPjWRavQQuRZ1OGOucoebiMmbMV/MTXRmsd0t8ZZZADn/lGCG/CQ9W iK7A3CLTzal709U1PZaoBGsZjteeXhlRULiCFHDCwpefi5b4dfQtSpGJ/zKjGn1j7KVI k33g6iB9mc8TNK/LWXl06UC857rHask80J8UbKKwirmbRWKoaaPv6Vsw/3I1+dLaSsIu PV8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834033; x=1743438833; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LXZdrQRG8HT5NsHgpQjWuO88dLDjKetpeO1oBDqQh6w=; b=BVkZTHvkLbyCTCD7dql7lgSuzFJzq+KbdBjiBgdlHOaHcL7IxZeXjKOaftA+tXANf8 i3+OXQ/8DVU1Rm32pN+K00RmktKyIhwhbys2kMK/khErVtlEySl6RYgXl9rCUhNQjZGN 6754ujM2cL5jJV8hJ0Sh2JfaoUAXqxa+oHW68uPJmUpItK53TPHjoZAgr8+FHL4hlUEV jdkZ31UxReAkKEkq/0T4kO+NaMncUXlNPFdYAkKt557WROoA8Hw20/WemsjWbGee8OAt 8fu6K25cGSiHPngayl1xmsGmaUuOa1ZwEpbPnB5T+NyJL1uat9XbUazbk3+tq9FVtf3b NOFA== X-Gm-Message-State: AOJu0YwOyFS2hAeppIonvpIdU600S631sQCyAzfzQh5rKyB4BpTLUaQN Z03uL6wNqniwo1Y19KjVGZeo5T82IzJzLD7FpY4gqPshcOglQXdP X-Gm-Gg: ASbGncv9V35gELOGU8pPz8chUAPviqpoYppGNoW8mNUraNA/y+N45X7yxWUsNMoDyLm SPeZvxLeQsYMLUtleGvNWBKw7gjk0PmeA5Zr5GK56KZrb/WOHjLp6kg2EnuITaURU37o5oymG7s NiTscT5nSunSQWMXVmW4SvcRC7VUKdxJNXfhoDiLGnKR3F1vhmLVFDldNqZhX4Era8xcwcv3NNn BgewPv+W3leTrtzBKcltA+XgcM0zzdofaRCv9GK5DZchFGHe2ixjpNN8p+3FYklsweRCTm5iu0w x8KCmuUREOpMJyGqQLGocagxNyEMComp+uC3 X-Google-Smtp-Source: AGHT+IE1fD2NlyWq3idn9+phqFpN5VeR5LB+LghkLc8EpS5lHdylX4xKlkR9BCQraDL9ddjk3zs3pA== X-Received: by 2002:a05:6a20:2589:b0:1f5:852a:dd8a with SMTP id adf61e73a8af0-1fe4300d7afmr19730491637.28.1742834032529; Mon, 24 Mar 2025 09:33:52 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:52 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:32 -0700 Subject: [PATCH 11/21] parted: Fix build with GCC 15 MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-11-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:33:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213543 Signed-off-by: Khem Raj --- ...4-PATCH-parted-fix-do_version-declaration.patch | 40 ++++++++++++++++++++++ meta/recipes-extended/parted/parted_3.6.bb | 1 + 2 files changed, 41 insertions(+) diff --git a/meta/recipes-extended/parted/files/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch b/meta/recipes-extended/parted/files/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch new file mode 100644 index 0000000000000000000000000000000000000000..a8ea7ec4f7a3eed324c7c247fa850252d1929554 --- /dev/null +++ b/meta/recipes-extended/parted/files/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch @@ -0,0 +1,40 @@ +From eb6bb2e8dfc78ca1a187d07ea29b23a805c61794 Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum +Date: Wed, 20 Nov 2024 12:22:22 +0000 +Subject: [PATCH] bug#74444: [PATCH] parted: fix do_version declaration + +With gcc 15-20241117 compile fails with the below error, update the +do_version declaration to match the header in command.h + +../../parted/parted.c: In function '_init_commands': +../../parted/parted.c:2469:9: error: passing argument 2 of 'command_create' from incompatible pointer type [-Wincompatible-pointer-types] + 2469 | do_version, + | ^~~~~~~~~~ + | | + | int (*)(void) +In file included from ../../parted/parted.c:28: +../../parted/command.h:35:39: note: expected 'int (*)(PedDevice **, PedDisk **)' {aka 'int (*)(struct _PedDevice **, struct _PedDisk **)'} but argument is of type 'int (*)(void)' + 35 | int (*method) (PedDevice** dev, PedDisk** diskp), + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/parted.git/commit/?id=16343bda6ce0d41edf43f8dac368db3bbb63d271] +Signed-off-by: Rudi Heitbaum +Signed-off-by: Brian C. Lane +Signed-off-by: Khem Raj +--- + parted/parted.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/parted/parted.c b/parted/parted.c +index 3abb52f..fc2aeba 100644 +--- a/parted/parted.c ++++ b/parted/parted.c +@@ -2172,7 +2172,7 @@ do_unit (PedDevice** dev, PedDisk** diskp) + } + + static int +-do_version () ++do_version (PedDevice** dev, PedDisk** diskp) + { + printf ("\n%s\n%s", + prog_name, diff --git a/meta/recipes-extended/parted/parted_3.6.bb b/meta/recipes-extended/parted/parted_3.6.bb index fae35815be97d310631adbf790866a7997539522..6fc2cb3b3aa8794218682a1e292a7488936e63aa 100644 --- a/meta/recipes-extended/parted/parted_3.6.bb +++ b/meta/recipes-extended/parted/parted_3.6.bb @@ -10,6 +10,7 @@ SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ file://fix-doc-mandir.patch \ file://0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch \ file://autoconf-2.73.patch \ + file://0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch \ file://run-ptest \ " From patchwork Mon Mar 24 16:33:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59809 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 B7A52C36002 for ; Mon, 24 Mar 2025 16:34:03 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web11.43713.1742834034181581754 for ; Mon, 24 Mar 2025 09:33:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ex9CzTMz; spf=pass (domain: gmail.com, ip: 209.85.214.176, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-223a7065ff8so16430295ad.0 for ; Mon, 24 Mar 2025 09:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834033; x=1743438833; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=HWmBR/8YqPDppqC7CmlImLkDpOXUYMjZbTS1tgNsv30=; b=ex9CzTMzB2yeM9GXe8w2pb9m1Kd3RZG+AqfQAUYI9LMT631QD/GvwuJNIHjLzC5hTE ZrAoPh2ycRPRPO+PG8dDuUF3ifjmTwtsCbiK5vzSDl1X8q2mkL6q3RRagcmmYjVPuSqR XZQiKFmZNvlRnfImlez5X+hnjimbfCJDjpkl7U+2msro+Nn0WuJcWC3YiJ8OuMO9u89s rbyq6KzxoeXYR2HmRmqp38pF6UuVvg+U9hNgVhvBM9863C5D8s5EMBLRSCTc7eOHfg/A Rh9rO42Z+Mvwyop4DjmBSpB/uUNWcsfzu2Nxn8zm3A4WVZAIYzoihB8lfPPOJlnUAvxi x8Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834033; x=1743438833; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HWmBR/8YqPDppqC7CmlImLkDpOXUYMjZbTS1tgNsv30=; b=pPTIOkFxdbIOVdShsRz8j2D7OxVjyeqm9iIFqz7zv0Zt6ST5n1rJuE0ruuYWByiGZ7 gcE94TROgbRR7cSHfNWYPX2aROYRMlVTPG/ad/za8CyxN/otQ0PbocMs7B3AuwRWKySG DIUBRdJdqH7MsJRtqj/LojJViN3lJI17KGECXWcEKvfgYpIAfgz0/Ap1FxU0WKsTnjYt dasdpAQ54/3jPfg44635poJ+Bdl+A6qlV7GJmnwVJrIKRZowi89seqLKZXdBLtwk9dN1 O9swcWfKUqan1Yv4Nu0v4UTYQIW2jE5Ne7WdAjjcWC201quXAHlNXM1FFLu9ex+eiN1T qMxg== X-Gm-Message-State: AOJu0YzwtzMOXdK8pGno/Z+E5UTqL5j+SUjFtfJN068b2AnKtta5iNBA xm7IGoRkNXkHCetiVeGGV3rUqDrRvyqWj4d2goGA6xoTD05LAmJGEKEs5pEI X-Gm-Gg: ASbGncte56GnnujPVo/vo1UzuLb2Kmzzgho0HFZsSNAPFc988v86MWKfWLnQC85fjp8 Vr6BpmiZGPYA/0tm5jqkUnmFqAYcO6t5R7hNnIpUnAs0X/0Rbazi6q9iWGlaS5UnmkrF1nTTSRj +QVjnsPkftMTF9h1QJ4o1pkex4CDYIhBvhioOmsyk1fc7Kw3EcD5WD6Rxj81CiW8VIXaT5bBvgA iCq/5OpXsC5Mv8Te1SjnqCT1Kr5P+7ZegoJ87DJ9wyN7F0F26wefH08hxqfk/BhrQYAt52HT8I/ ImrEhfdzJOeuUrqQrChYSy3FLeuHvYHqlv9O X-Google-Smtp-Source: AGHT+IE1NiIFejjLPuX+wJftGQxdfbTh7sfnrhDF6jRjuOfz0uUhqH1kIS5SB2GG8EZ9byftAP43mw== X-Received: by 2002:a05:6a20:4320:b0:1f5:6a1a:3284 with SMTP id adf61e73a8af0-1fe4344e868mr24974242637.40.1742834033333; Mon, 24 Mar 2025 09:33:53 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:52 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:33 -0700 Subject: [PATCH 12/21] mtd-utils: Fix GCC version detection MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-12-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213544 Helps building with GCC with 0 in minor version e.g. 15.0.1 Signed-off-by: Khem Raj --- ...01-Improve-check-for-GCC-compiler-version.patch | 34 ++++++++++++++++++++++ meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb | 3 +- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/mtd/files/0001-Improve-check-for-GCC-compiler-version.patch b/meta/recipes-devtools/mtd/files/0001-Improve-check-for-GCC-compiler-version.patch new file mode 100644 index 0000000000000000000000000000000000000000..3cd58e053db5352007bc979bb140378607c30663 --- /dev/null +++ b/meta/recipes-devtools/mtd/files/0001-Improve-check-for-GCC-compiler-version.patch @@ -0,0 +1,34 @@ +From e7adb21350ff3b96dbd2de56a127e9d916c08d62 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 22 Mar 2025 19:05:32 -0700 +Subject: [PATCH] Improve check for GCC compiler version + +When using unreleased compiler has version like +15.0.1 and that test fails because __GNUC_MINOR__ < 1 +becomes true, therefore check for full version string +which is more rubust. + +Upstream-Status: Submitted [https://lists.infradead.org/pipermail/linux-mtd/2025-March/108860.html] +Signed-off-by: Khem Raj +--- + ubifs-utils/common/atomic.h | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/ubifs-utils/common/atomic.h b/ubifs-utils/common/atomic.h +index f287d43..95754b2 100644 +--- a/ubifs-utils/common/atomic.h ++++ b/ubifs-utils/common/atomic.h +@@ -2,8 +2,12 @@ + #ifndef __ATOMIC_H__ + #define __ATOMIC_H__ + ++#define GCC_VERSION (__GNUC__ * 10000 \ ++ + __GNUC_MINOR__ * 100 \ ++ + __GNUC_PATCHLEVEL__) ++ + /* Check GCC version, just to be safe */ +-#if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC_MINOR__ < 1) ++#if GCC_VERSION < 40100 + # error atomic.h works only with GCC newer than version 4.1 + #endif /* GNUC >= 4.1 */ + diff --git a/meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb b/meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb index aa593ac14f537efdf70ab9a0198245897c903984..2f7043b9773de5912bcd60d8021f8f1c1fec642d 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb @@ -16,7 +16,8 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master \ file://0001-ubifs-utils-ubifs.h-Include-fcntl.h.patch \ file://0002-ubifs-utils-journal-Include-sys-stat.h.patch \ file://0003-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch \ - file://0004-ubifs-utils-extract_files-Include-linux-limits.h.patch" + file://0004-ubifs-utils-extract_files-Include-linux-limits.h.patch \ + file://0001-Improve-check-for-GCC-compiler-version.patch" S = "${WORKDIR}/git" From patchwork Mon Mar 24 16:33:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59812 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 F2B3AC36011 for ; Mon, 24 Mar 2025 16:34:03 +0000 (UTC) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mx.groups.io with SMTP id smtpd.web10.44219.1742834035158077180 for ; Mon, 24 Mar 2025 09:33:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NSUhhPs4; spf=pass (domain: gmail.com, ip: 209.85.214.174, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-223fd89d036so90362185ad.1 for ; Mon, 24 Mar 2025 09:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834034; x=1743438834; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=9okFVIViviiNjG0Ss1jlxtlAXDlN6cLSaAlwMBn1hgU=; b=NSUhhPs4lnrRRZ4MGuHitu61xYQqildV48hZskGFgAsOtkAXApOEVSDEQRBjAyqhk0 zSyrOK4jhZV7wb9fKGAnjoO8gTlpSsYruecrvxdmxAUXFSdtxh3aQ+LQufLT8EQ2GypJ 4u8F32XZTMpkqYudul9iZC1Mi/3EJ/tIscYef565F0YP9wMQQE0r8jod6CacQ44EBe79 t6jwrSpekT6ozJIWRR8GsbcDJZoIxfxlzBAUESIYi1rw93g0AYpWYx6OYqW4pg0ynJpV bxqsJmM8lfVtu0lxKlcgffQ4/7nHwHj/0rXMNMqSZXbwCiONdTMlRTqqWx72ykCfczbl gD7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834034; x=1743438834; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9okFVIViviiNjG0Ss1jlxtlAXDlN6cLSaAlwMBn1hgU=; b=t2/vXzyMBE7hDZiL4EB3xElS0KbsLC4jq7vRNednTSdO9d4iwkdRhubCZS4klnng6q EIDoZQ6dYybj1cy24oCy35IK/EaPbSZjBq7a/mMIHfH2M9kdGpG66oJuRdHGvW8C+lR9 j4AC0gnuSv0GZCn3F/hNZzt2oMwaNFjBL7N6Ne5n1VUqa+60H/0MdBzljh5Sfjma2Ne5 1V2I7f4kAI8uS/4yh58ASztm3QS5Kftikv/5VjSsC73Dq9o+y39GujP72VmQX6Q27dqG XrzSZYoP2rI+lxhoUiiwfa377cJXhlB5tD5NqausnCIP+DO2tXWhym77KrTaL0PAYFiA GBIg== X-Gm-Message-State: AOJu0Yy7OWJca5F5APer117Z84faPNIC6Y7h/0L6OaRJXs8FcRUronfM CY1fYo28e8xIIidSxmu7YMKYvXzI4amgAzaEP9R5Nfjl3M+RrbAlwsnm/RXK X-Gm-Gg: ASbGncuXD35c34Tf3lWc0g6Khda0vQsmc5FQTR+7WQfNergoImJm9rbHuFJojuIaLYe o18dwqlIpDxPIeHk0w0i2+yceBrq9cdALx26I2YAqF6lcw/9rnpNUn377ANVqjiy6jUeD8HY9OD BzDDgu9BU3ybVBVYCQVeyhE5AVSYEbnTqGXrXU4dFzaztYacVWU9hisjG4tB5iTQGooMWEPeXTN pt9RVZHKc8ogQTBGu/EgMaql++xD5ffhulNbUNE+x9ih3UaP51kR49e2kDLCSNFn5g6AOBxFwjw OZJSn1YeWr/T3K6qWU4tjeXYrrXha7mIzK7m+6snbM6cg0I= X-Google-Smtp-Source: AGHT+IFdWh5AzzDPLTfHoqkeJfKnZpXC1RjGhrbCoWVlPxHXKisbUXXGKbZhYFs7WmXpgPwCtGcIAw== X-Received: by 2002:a05:6a20:d497:b0:1fd:f8dc:83f6 with SMTP id adf61e73a8af0-1fe43477bdcmr23530700637.40.1742834034142; Mon, 24 Mar 2025 09:33:54 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:53 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:34 -0700 Subject: [PATCH 13/21] alsa-tools: Fix build with gcc 15 MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-13-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213545 Fix reset_changes_boot() signature Signed-off-by: Khem Raj --- ...retask-fix-reset_changes_boot-declaration.patch | 26 ++++++++++++++++++++++ meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/alsa/alsa-tools/0001-hdajackretask-fix-reset_changes_boot-declaration.patch b/meta/recipes-multimedia/alsa/alsa-tools/0001-hdajackretask-fix-reset_changes_boot-declaration.patch new file mode 100644 index 0000000000000000000000000000000000000000..089295750781d2a3e583e1bb336e54b65097658f --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-tools/0001-hdajackretask-fix-reset_changes_boot-declaration.patch @@ -0,0 +1,26 @@ +From 2b666ccbd616e0e0215241cb69b65d69d5146c8c Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 27 Jan 2025 11:02:21 +0100 +Subject: [PATCH] hdajackretask: fix reset_changes_boot() declaration + +Upstream-Status: Backport [https://github.com/alsa-project/alsa-tools/commit/5eaadd15bda4cf0424ee2470a6d304a0c2ce10cb] + +Signed-off-by: Jaroslav Kysela +Signed-off-by: Khem Raj +--- + hdajackretask/apply-changes.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/hdajackretask/apply-changes.h b/hdajackretask/apply-changes.h +index e08d66d..e431a0d 100644 +--- a/hdajackretask/apply-changes.h ++++ b/hdajackretask/apply-changes.h +@@ -9,7 +9,7 @@ gboolean apply_changes_reconfig(pin_configs_t* pins, int entries, int card, int + + gboolean apply_changes_boot(pin_configs_t* pins, int entries, int card, int device, + const char* model, const char* hints, GError** err); +-gboolean reset_changes_boot(); ++gboolean reset_changes_boot(GError ** err); + + #endif + diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb index 53868041c0951ab33ccdb7f0852ecbd694024cbd..0b884e2075361f8c9488202ab0bba9efd46ce039 100644 --- a/meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb +++ b/meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb @@ -12,7 +12,8 @@ LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f65 file://ld10k1/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \ " -SRC_URI = "https://www.alsa-project.org/files/pub/tools/${BP}.tar.bz2" +SRC_URI = "https://www.alsa-project.org/files/pub/tools/${BP}.tar.bz2 \ + file://0001-hdajackretask-fix-reset_changes_boot-declaration.patch" SRC_URI[sha256sum] = "0915c9634a502fd3655ca9c574d259bc9e79983d91d45aeacff6f3c00f8ae3e9" From patchwork Mon Mar 24 16:33:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59805 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 C2937C3600D for ; Mon, 24 Mar 2025 16:34:03 +0000 (UTC) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mx.groups.io with SMTP id smtpd.web11.43715.1742834036496248052 for ; Mon, 24 Mar 2025 09:33:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aqpyd5Hs; spf=pass (domain: gmail.com, ip: 209.85.216.48, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-301493f45aeso7586344a91.1 for ; Mon, 24 Mar 2025 09:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834036; x=1743438836; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ODXxWvP4HWzPBkGkhwNrzbEngbHRZuQJJTKVQYwBOw4=; b=aqpyd5Hsp9DnnwuKRkeTpM+TwMrhcfWMuD1kZ0s4919p+UpXP2Q7XP0c/PTRgrxn58 qlIejfaYG94sSomW0/uWEJ/OYhc2hjwXFyyplFfMarp19RxGaDZn1hRmbGzD5zMAMYCM /2BUty8rPfd5kI/RTUUi6778yMeGxiyE9O5Z2B6OctSBY0k9gGciKvtKUKK0N1flUhlk 2Nmn+MEa6CdAy98qBZEjmhnIsKBEwB+b2pcXxjagYCTuj5LKBhxmkY82jao7cqF70x35 F7B0/6nALx8lsTzfdqZwYdHgiyvAAONxlVgtO0ilpPQ63NEBfkyOrY17OQawz2Va7nJU Iysg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834036; x=1743438836; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ODXxWvP4HWzPBkGkhwNrzbEngbHRZuQJJTKVQYwBOw4=; b=mQnQ8tS2TK20eWiZnZYKPYx+ryvdPCUdQrb2LaKbthueskNH3EFNYxjSGDF3+nzmod 7MV1kaflphSD3gHdy6t4m+xVmkf1aNmp89O0wSQMyk7IIo1n+I9HMoTiiuOCl1RorO9K FUXWR5iNmF3HA1G3qVcOa3Zb33RcBp2801VH3RM/6WBvWI73AykcjxdyRjcQPv/D2cd8 /n+g0hvTNrT2lAjezdXl9GusSSkBQ65yn49udFR3WmU3kBpqm/KyCw6uNM9M3M2skpma Uo18qZF4x/bulJOqFrNHm5+ZtMs+Jomp5bWWa1eSZAEkd26vGdkyz2zy+hE9t02ThefR GOJA== X-Gm-Message-State: AOJu0YwUhc54uHZvMpkZV+lQqzp08XWDnaykaxJmEaZmm7Ftv6JBDwmE cNpWlJ/i059R2nBf2kWkfRCHMl/dGF1FQknsk06cxIPxTHwXKCLhhaULITZe X-Gm-Gg: ASbGnct4/Hp08nMFQobRwlXr0EwehHvacIrp1Oks2mLMc/SQaB820k/nwwqcYwiUO28 dCSi56UUhI5njl66QykBe+/YUq3MK1rXXQI8G7S9jaQzH7g8p6V6P4uHclcpPJ5kD7fkZn6vIgV XEtrBWFWH5x+Zz/2qE2UThtsEyNzoEpmBm/BYfyzDy4qf9HxdsZsFLxx/KoZlpzI87I9zzUwr2K vDD9BedjvRbiOm8zlwWucbx8hic+UKBIq9NtG/WspsAnMdeIjZWnU5sueJbC3wPiwnX9bKmTGRU /UD79K4tYZ9876P2vJ9caB68pHpLUJKU1pZus/bxDx2d5do= X-Google-Smtp-Source: AGHT+IHwO8SfwGAB09azwXzSo20YXTopxop32Wy0PJcOtzYvqUCYILhTeKPlCpnvoXZraf7zp5eeHQ== X-Received: by 2002:a05:6a20:9151:b0:1f3:47d6:aa05 with SMTP id adf61e73a8af0-1fe42c6bce5mr25835398637.0.1742834035690; Mon, 24 Mar 2025 09:33:55 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:54 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:35 -0700 Subject: [PATCH 14/21] ghostscript: Pin to C17 std MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-14-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213546 The code defines a custom 'bool' type (as an 'int'), which is incompatible with C23 in which bool is a keyword, and trying to use fails because 'int' and 'bool' are used interchangeably in the code. Add the flag to CC variable, since CFLAGS is used by both c and c++ compilers and clang++ is less forgiving when C compiler only option is used on its cmdline so it complains about -std=gnu17 and bails out. Signed-off-by: Khem Raj --- meta/recipes-extended/ghostscript/ghostscript_10.05.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.05.0.bb b/meta/recipes-extended/ghostscript/ghostscript_10.05.0.bb index 1d05945c30d9dc3cf3cd2950edef4788df643e29..e937f04cb3826da151747ae8aca59b3303d2e61a 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_10.05.0.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_10.05.0.bb @@ -47,6 +47,8 @@ EXTRA_OECONF:append:mipsarcho32 = " --with-large_color_index=0" EXTRA_OECONF:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" +CC += "-std=gnu17" + # Uses autoconf but not automake, can't do out-of-tree inherit autotools-brokensep pkgconfig From patchwork Mon Mar 24 16:33:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59810 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 E5651C36012 for ; Mon, 24 Mar 2025 16:34:03 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web10.44222.1742834037625599883 for ; Mon, 24 Mar 2025 09:33:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=B8LVl220; spf=pass (domain: gmail.com, ip: 209.85.214.172, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-227a8cdd241so11234525ad.3 for ; Mon, 24 Mar 2025 09:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834037; x=1743438837; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=vYs+GrdW/Y9xuY9Oss3Jt2uAFgYMknmTeYer9LmFfWc=; b=B8LVl220CRXHOG11Y/DOa5wGXPR+9F6m0md81AHqBhJNHdZu7bvaZP2egAxf5iG/bS SlTMZy9RsC0lP7KWkCdaMrT6jXu0VdNpvID5jWMf1VrVvwM5Vw0Vna9ompLFA60xPG+Y 7x8PwzsOLrH3aiVfGbN8etjIOTOtcaqEpfkVGAw6EvM0WNwMWOdNy+VvkaclalsvCQTz fqifbimeo2g/GaCPfrcG+3cJFiQf7mxOo2oWlJrzDjLgeg9teiVZ3eyl4EMsdCdlx85f S5VuHRn9Ko+IjBvHePCJxVLskh8Sln5Nj59ZIyQhR1+rFeUYS8e8rbqXrjELdHFUlAaf /D0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834037; x=1743438837; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vYs+GrdW/Y9xuY9Oss3Jt2uAFgYMknmTeYer9LmFfWc=; b=p9bjivFj3go4rggKSccjnokK4B9DeHQzm33OQ5ARWBa1PMi2iFDyM66JaaB5GXveGE seJmGM2E5me+RWcFL4Qvsk3jK8CXgBtny7yN7+Ue5hlByptdaJYTdPqGyqvuFyzCFuB0 p911JZYKuMbbktrwqK6p1V1OcQn7MRZd1/hRT812YcQgel4xcbkP2RrFuwuPoMeux0hn hGUJz9E5fjizxO6vzAKaBqIK6U09GeX6vwOcshp9VxmTK2Xt6RoEUlIYsJhgJ5FOou0o aZR2KgHAr398OeJFWY7n9+lanwyYWoazFB4/CXbHuWTZks9droSiyXIiy5JJcbiPxtbh B/PA== X-Gm-Message-State: AOJu0Yw16M/as8dg7gpIOQ7PgJYkvMZQKHhLhd9lr7SsRP4/UI8pNxle HhmARftusaJ1n1hMeXlhacKwegnHs+aZhIguFeXK9TTC5HNJCnGodXR/rTBB X-Gm-Gg: ASbGnctJx/8oFqmxtJdPPnWlosq7N8uAZfwZwidCZlpJaRn7BhWccehoMCy4bB0JqbZ c91AGhj9HKTNJMdnw0PQMDBcOVB0ADk7PHPOghEtrfYQNd18FZL6oI5yBcTIDD2C91n9RxzYkiW ZQv3uQE+vq7gWYeB2LTk8vmk78cSU94bDfDZkkb68cO2pJT9aUvv5V+Ew5B9NSYWU+kuPwKReSt vMXrAKthj5iWxEN8WsRsJkd1CVcB5XkirfpH1LCWvUpiIdHbKQFoXIy8H+Id+sReC1KaY2EDISH kf7tvM84xtY/kV2P3W3WcC7C3AzGQdM++ppB X-Google-Smtp-Source: AGHT+IGTfXh3p4ONgV96XQiuY6LdnlUpD0oY4cSMCJb/Dm0L+bp2LGemk4vLBVQmAohDqWva4x/vsQ== X-Received: by 2002:a05:6a00:1956:b0:736:457b:9858 with SMTP id d2e1a72fcca58-739059a559amr19986835b3a.10.1742834036782; Mon, 24 Mar 2025 09:33:56 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:56 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:36 -0700 Subject: [PATCH 15/21] lrzsz: Fix build with gcc-15 MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-15-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213547 Signed-off-by: Khem Raj --- .../lrzsz-0.12.20/0001-Fix-build-with-GCC-15.patch | 186 +++++++++++++++++++++ meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 1 + 2 files changed, 187 insertions(+) diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-build-with-GCC-15.patch b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-build-with-GCC-15.patch new file mode 100644 index 0000000000000000000000000000000000000000..e5e9125eea71de703c6f925c51358d8ffffcb9ab --- /dev/null +++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-build-with-GCC-15.patch @@ -0,0 +1,186 @@ +From 3739faa41f60841d5277344b17ddc69e78ed8996 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 22 Mar 2025 22:58:33 -0700 +Subject: [PATCH] Fix build with GCC 15 + +This is collection of changes needed to get compiling with gcc-15 +which switched to use C23 as default std. + +Upstream-Status: Submitted [https://github.com/UweOhse/lrzsz/pull/8] +Signed-off-by: Khem Raj +--- + lib/error.c | 2 +- + lib/getopt.h | 2 +- + lib/long-options.c | 4 ++-- + lib/long-options.h | 2 +- + lib/xstrtol.c | 2 -- + src/lrz.c | 8 +------- + src/lsz.c | 8 +------- + src/tcp.c | 2 +- + src/zglobal.h | 2 +- + src/zreadline.c | 2 +- + 10 files changed, 10 insertions(+), 24 deletions(-) + +diff --git a/lib/error.c b/lib/error.c +index 8f679c7..4632c9c 100644 +--- a/lib/error.c ++++ b/lib/error.c +@@ -73,7 +73,7 @@ extern char *program_name; + + # if HAVE_STRERROR + # ifndef strerror /* On some systems, strerror is a macro */ +-char *strerror (); ++char *strerror (int); + # endif + # else + static char * +diff --git a/lib/getopt.h b/lib/getopt.h +index 4ac33b7..46971cb 100644 +--- a/lib/getopt.h ++++ b/lib/getopt.h +@@ -101,7 +101,7 @@ struct option + errors, only prototype getopt for the GNU C library. */ + extern int getopt (int argc, char *const *argv, const char *shortopts); + #else /* not __GNU_LIBRARY__ */ +-extern int getopt (); ++extern int getopt (int, char * const [], const char *); + #endif /* __GNU_LIBRARY__ */ + extern int getopt_long (int argc, char *const *argv, const char *shortopts, + const struct option *longopts, int *longind); +diff --git a/lib/long-options.c b/lib/long-options.c +index 9ee8f66..2c8d267 100644 +--- a/lib/long-options.c ++++ b/lib/long-options.c +@@ -40,7 +40,7 @@ parse_long_options (argc, argv,version, usage) + int argc; + char **argv; + void (*version)(); +- void (*usage)(); ++ void (*usage)(int); + { + int c; + int saved_opterr; +@@ -61,7 +61,7 @@ parse_long_options (argc, argv,version, usage) + (*usage) (0); + + case 'v': +- (*version) (0); ++ (*version) (); + /* printf ("%s (%s) %s\n", command_name, package, version_string); */ + exit (0); + +diff --git a/lib/long-options.h b/lib/long-options.h +index 14459cd..3fb8fa6 100644 +--- a/lib/long-options.h ++++ b/lib/long-options.h +@@ -6,5 +6,5 @@ + #endif + + void parse_long_options __P ((int _argc, char **_argv, +- void (*_version) (void), ++ void (*_version) (), + void (*_usage) (int))); +diff --git a/lib/xstrtol.c b/lib/xstrtol.c +index 8755cf4..0ab337d 100644 +--- a/lib/xstrtol.c ++++ b/lib/xstrtol.c +@@ -65,8 +65,6 @@ extern int errno; + } \ + while (0) + +-__unsigned long int __strtol (); +- + /* FIXME: comment. */ + + strtol_error +diff --git a/src/lrz.c b/src/lrz.c +index b3cf1d5..ae3c62d 100644 +--- a/src/lrz.c ++++ b/src/lrz.c +@@ -41,12 +41,6 @@ + #include "xstrtoul.h" + #include "error.h" + +-#ifndef STRICT_PROTOTYPES +-extern time_t time(); +-extern char *strerror(); +-extern char *strstr(); +-#endif +- + #ifndef HAVE_ERRNO_DECLARATION + extern int errno; + #endif +@@ -191,7 +185,7 @@ int enable_syslog=FALSE; + + + /* called by signal interrupt or terminate to clean things up */ +-RETSIGTYPE ++void + bibi(int n) + { + if (zmodem_requested) +diff --git a/src/lsz.c b/src/lsz.c +index e9e4660..69f4fb8 100644 +--- a/src/lsz.c ++++ b/src/lsz.c +@@ -50,12 +50,6 @@ void *mm_addr=NULL; + #include "xstrtoul.h" + #include "error.h" + +-#ifndef STRICT_PROTOTYPES +-extern time_t time(); +-extern char *strerror(); +-extern char *strstr(); +-#endif +- + #ifndef HAVE_ERRNO_DECLARATION + extern int errno; + #endif +@@ -218,7 +212,7 @@ static int zrqinits_sent=0; + static int play_with_sigint=0; + + /* called by signal interrupt or terminate to clean things up */ +-RETSIGTYPE ++void + bibi (int n) + { + canit(STDOUT_FILENO); +diff --git a/src/tcp.c b/src/tcp.c +index 137f94c..a885d5b 100644 +--- a/src/tcp.c ++++ b/src/tcp.c +@@ -38,7 +38,7 @@ + #include + #include "error.h" + +-static RETSIGTYPE ++static void + tcp_alarm_handler(int dummy LRZSZ_ATTRIB_UNUSED) + { + /* doesn't need to do anything */ +diff --git a/src/zglobal.h b/src/zglobal.h +index 573b461..55bd58f 100644 +--- a/src/zglobal.h ++++ b/src/zglobal.h +@@ -357,7 +357,7 @@ extern int no_timeout; + extern int Zctlesc; /* Encode control characters */ + extern int under_rsh; + +-RETSIGTYPE bibi __P ((int n)); ++void bibi __P ((int n)); + + #define sendline(c) putchar((c) & 0377) + #define xsendline(c) putchar(c) +diff --git a/src/zreadline.c b/src/zreadline.c +index aeda95c..c8f8263 100644 +--- a/src/zreadline.c ++++ b/src/zreadline.c +@@ -43,7 +43,7 @@ static char *readline_buffer; + int readline_left=0; + char *readline_ptr; + +-static RETSIGTYPE ++static void + zreadline_alarm_handler(int dummy LRZSZ_ATTRIB_UNUSED) + { + /* doesn't need to do anything */ diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb index f21b9360206faaaa46d31531ba77fc6d79f2ff91..7825932674f0efda76c9cb895eb82f73e37d0647 100644 --- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb @@ -19,6 +19,7 @@ SRC_URI = "https://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ file://cve-2018-10195.patch \ file://include.patch \ file://0001-Fix-cross-compilation-using-autoconf-detected-AR.patch \ + file://0001-Fix-build-with-GCC-15.patch \ " SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4" From patchwork Mon Mar 24 16:33:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59811 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 0167DC36013 for ; Mon, 24 Mar 2025 16:34:03 +0000 (UTC) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mx.groups.io with SMTP id smtpd.web10.44225.1742834039039028704 for ; Mon, 24 Mar 2025 09:33:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dOREEWpy; spf=pass (domain: gmail.com, ip: 209.85.216.48, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-301e05b90caso7003316a91.2 for ; Mon, 24 Mar 2025 09:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834038; x=1743438838; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=TZKdzr/bs9AplR2gaWJ84GFzyDjtoBCTeSELl3D01vg=; b=dOREEWpy6ibGhasnLV9pE0nKhansbViirw/n3BdZZTe7GAI/a4bcMptMu7daU03L9j R2D8KSIeA5aqRsc7t7Y4pYDylgEPeo24IUS+Z9LZL+rpfe/ytpn4/4XwxfvVZmY9tUHE G1jb7Bs7eCNXzYs7yYkMMwNDh2m5Q9qKSWS9c+ruXZux5S7QmUabXgXX0Z5FW/U1AT80 2fZqAVyIj6PT4PGN563T8c69FZOE1p4VXPMnJE31EiMLkIsc7aMGdOlPv7TwEpA75Dfz Hiafte1BOWtw8Jxm7CM/IYVmzNU3C5jOJy80xFXCjNHbS+vOAoas6ugQcbeCRlo4ps+e DT7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834038; x=1743438838; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TZKdzr/bs9AplR2gaWJ84GFzyDjtoBCTeSELl3D01vg=; b=SvpRZZZ8lxAbBhjRnd0vwXWQF5zZuEY1DCEkBbyT/B0plCkf83SBW8yPGw2dSgVbKF IxguSA3YOWRtLMDcyBIcvxrD8Ek/Dn1R5q+oZREOiAO6RZOdVDIwEDt2p3SS3nHbj9Ev xfLfEi/FXZw1SHrJEuDcDH9kOXRb2OoRuM1WOe0VNkueJ+DnFqUKjKX3e9lf7TDX49ro bTwPnbj5TC6TlAk+yANUMox6SD0rl8UC4ie0cMn9ti30O+9+YGOJUR5dICMCCeogEA+u pd3IoECMTIAWh5DL4FLEL/lVooHrz1TJSJMtDeKLkB006RZ55gdVm4XNIYZLAVL24msq nVHA== X-Gm-Message-State: AOJu0YwXEfFHO22WkZqzVvzaMaXSCpld1gakxPXcdKfIVv70nuSgi55X tMG+Lr5USK9CCruXZdEfqh9UfEMhhoTRPuzsOMoAQXGC9+y+R43oLQZ3xfgj X-Gm-Gg: ASbGncvd3SzQk6Cnlz2D5hoCsSQpqC2qFNEwCliUL8RBUHdZxuCLxiXBpjj6jTZkud5 EdNPSVr4kB7yMvIrnDemCRC4YWOvzHuX6ycNQKRxKqOsIHJAQdjBhR0ALUCJn8qHq0tEGvsvf0x 9QKCDijYvV6dyiuUb/1IJ5v/i1htjjpuKxjkGfYI2BQ2nHvYjr1DKn4EHv4KLeukY30W6pIhtiT b24OlNW4n8YRrOuqEInrnKL8AeF8GZyGokoj+A1WNadpoaoFO5/EZ1GIdwudwFiVzkvQ06N7IbA Og/CH4aZo6Ug2Fs30TsVr925SAdX006/XNGA X-Google-Smtp-Source: AGHT+IFQI2t/MCXxQDu47fKhgamfBvLH2ppeJl4I5y08vrn2XRHZM2y8JOESSUmmgMVAP59+QSyjgw== X-Received: by 2002:a05:6a21:339e:b0:1fd:f46c:fb42 with SMTP id adf61e73a8af0-1fe432060dcmr27846967637.31.1742834038330; Mon, 24 Mar 2025 09:33:58 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:57 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:37 -0700 Subject: [PATCH 16/21] lrzsz: Drop setting md5sum for SRC_URI MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-16-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213548 Its deprecated Signed-off-by: Khem Raj --- meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb index 7825932674f0efda76c9cb895eb82f73e37d0647..777560bd22faac12689a3a12ed5b032a5861ec51 100644 --- a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +++ b/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb @@ -21,8 +21,6 @@ SRC_URI = "https://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ file://0001-Fix-cross-compilation-using-autoconf-detected-AR.patch \ file://0001-Fix-build-with-GCC-15.patch \ " - -SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4" SRC_URI[sha256sum] = "c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1" UPSTREAM_CHECK_URI = "http://ohse.de/uwe/software/lrzsz.html" From patchwork Mon Mar 24 16:33:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59804 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 D2343C3600C for ; Mon, 24 Mar 2025 16:34:03 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web10.44227.1742834040695911339 for ; Mon, 24 Mar 2025 09:34:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kuFRI5nX; spf=pass (domain: gmail.com, ip: 209.85.214.173, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-223fd89d036so90365685ad.1 for ; Mon, 24 Mar 2025 09:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834040; x=1743438840; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=MLw4/mSEaRnBDbnb4/BTwIcX10bTp9W+G36eFvh2LOM=; b=kuFRI5nXlD97pwiEZDQnFSeQ/o+9Dq3v8JhEi1PSc7vZEMv6aku53HRwfCCH60c7qX YlrwShuMaWyzgE12oJb3g0j2sjtZNK6Nfjvi6RVWBmvobq0Y6+J94BwhV9MILhUYiCVW 2HXHBjhsDrAD1YP3Qz9x27lU39RG0JUjZ5ty8ycKKWWHpkcAQ13s898Y9FaPP1p5fx30 bBEiIJSM6aojv1laxTW5B+NwIxciEUDzOE/lgDO5yUXnSPt/6sNHxU1Q0E5TudAVVJDg HHcEzhtHmHGSl7AvO+Vm0BtyH0nOeU87qHCymD8Vch7Zc8hdqUWgb1fzF+S1O8g5X3Po 4gvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834040; x=1743438840; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MLw4/mSEaRnBDbnb4/BTwIcX10bTp9W+G36eFvh2LOM=; b=X/Jknc4Gypr8QdJWhp7Apwhpz8L8Un+3SXiJ8hQbCeLKY8klZMgz51L7IYAnbORCEc nFbQr0xj5M4glh9J1XcdE5tCUWffgGCd5PmauPB7ojsNBydgqjQ8a8t50lsBBTB7K761 VywxHnUQTNsU/o9ImDLasJuSUjU7J/vSAs66DlXhlLOlj0C884sf3VUJpZ2krf92KP2b m/xOLA6DoZbWMINu1GbZydhMxFEk2x1xzkfl52ReIEoDvTSVu640+RVKslA/KBtT7RvQ fgeYsOdjfl+PjAwcPcTrFKhTwYjfQyDQdzltsMTvIfH8zYVMjbsnvT0td5g7KZ3QH7H+ RvFQ== X-Gm-Message-State: AOJu0YwIVoq8cVQQUiUPYWa0jIZFTe1cBfjc6GnzQIHVVxxDPosxZ6Nl eY+A/Q0AapSmU/KGEZwvB2iw5cXKP+w8j1T7VEHuJBsxdatBmPuzfac8TC/m X-Gm-Gg: ASbGncum39oTpWcAhkWJYUfFcKkeUeCFlvfpXaA8/QeKzF45W4JhwJM91JKQKDZM5aL OqDEwGVdiZXg8GLZW2wleCtwmgLXNASmjR+tskJMUUEsLvW7KYq4PDLpPl43aGpvTEThNptgkQQ atSwm7J4KJqDBfncX4yx73RZoamH3gDw9ouOWAjrfzCOz99zSFbgtWNdQeqN5vNEbuFd6yevTsF XuZ1tdsgAshW9v0MCd8/JT3DxpKA+EVTll4RXsxG39XjZ0BIdLrwBfO1HIqnzZQtTbl4x+3ubTR qRl7qLGS4cazV1d80+xC7cxnerF4xnZtZ5OumjYags6A/A4= X-Google-Smtp-Source: AGHT+IEsFjnQTidyqP0X1SXfyMJKS8xkc6N6zniIvnS5CF6Udzbv1/b8qsskEm0ZM2meoBlSLqtDMQ== X-Received: by 2002:a05:6a21:3993:b0:1f5:8622:5ecd with SMTP id adf61e73a8af0-1fe4331e51dmr26636611637.32.1742834039995; Mon, 24 Mar 2025 09:33:59 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.33.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:33:58 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:38 -0700 Subject: [PATCH 17/21] xinetd: Pin to C17 std MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-17-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213549 GCC 15 is coming with C23 as default and code is not ready for C23 Signed-off-by: Khem Raj --- meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb index 897747379bbb8b689b75b7005cdee0d9d2aa185a..d30f08dd7241bf2383f5162fdbe25c525f96db25 100644 --- a/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb +++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb @@ -30,7 +30,7 @@ INITSCRIPT_PARAMS = "defaults" PACKAGECONFIG ??= "tcp-wrappers" PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers" -CFLAGS += "-D_GNU_SOURCE" +CFLAGS += "-D_GNU_SOURCE -std=gnu17" CONFFILES:${PN} = "${sysconfdir}/xinetd.conf" From patchwork Mon Mar 24 16:33:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59806 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 C9C92C3600E for ; Mon, 24 Mar 2025 16:34:03 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web10.44228.1742834041604843042 for ; Mon, 24 Mar 2025 09:34:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Js5CV7qi; spf=pass (domain: gmail.com, ip: 209.85.214.181, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-22398e09e39so94026705ad.3 for ; Mon, 24 Mar 2025 09:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834041; x=1743438841; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7m+wMZA5nbU6zr9uqS/vvYEjbsdwC+w9+9nVuopWk9I=; b=Js5CV7qiNNciAFtKeU/alP/rgwE6mfpIb/rNImcj698zhYo7EzWc5oo6J+9qzOSogM odr1piX5ML23P1EjThL4Xr/ujvwZnvZTYVUtznJzr09lG0MmKfS1x8/h4r5c29SlVbTw ieOlXRgVZQQknzqZITnsOipvlOhnYauIoaptq3eQgqfV3a0I8VZcKQXZ6+I4jj8lmZk7 A39wO/ayycMdO5wD6SlJDDuuz2IoNNNq/DRzx/X/93tUDBFMVxa/L2lqu4cRy4ofzo87 84AQAztbEMN7jcOYkwPVTsuyCF5X8aVBIkhktaXb4xi82i6Kwxg/M0YAPakzLQEsmOzY /tTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834041; x=1743438841; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7m+wMZA5nbU6zr9uqS/vvYEjbsdwC+w9+9nVuopWk9I=; b=pRUFzZmwO9RhoahI+kXZpp/pYNWR/V3zv87ucovm8+XrTDbBihcXzeda4qi3GPsjBc lWZxmdZDijyOHyyYZhYFXzG9zt37/rO+FlCSyRrodqW/WCWWd8flYZGONc/U+M41gGPA B6x0LZK9ODJvRvNNp7k6M9sct3Orm3/8sm2z+k39uq8hGSCs8LYYl5J2thJuUuZ/2mL9 Yyw7YWpiUDl9CZqCtj7cDhS7o+9eM3aLs1XYp7YMeZnb9u4jy8HltFR5ade8KSTiaCxV IU7UyNhXJyZQyAtJqGhF/6D6757sapNYb3HDga/bcyP61+NalozrlmqJAQkifsjHJaHw bwDA== X-Gm-Message-State: AOJu0YwZRUZmKAtfeXVg92WoNmBHXXDh7rYxk9jVevtpjSnBns6ziH6U wLntqdAWqHMDRFqwr4hDXCVC+4dAgFeKLPaSlxxvCYk2CYiyY3NNKE+z8FUk X-Gm-Gg: ASbGncv15kR36oHRz8sGyTna4puTr+6KXgmeS6DOM6ahje5HP+dysc1kgmd2W6l3RUj C6W2o9PzMngiwxGdGH0nNgizzfmlMNqIujkLqv/U0pBrtxHw4uBiRsEK5hfLfkPkRvcl89pck0y A/vHITyejSRI/X7VZFtyjCvitWMmrOfqP0TKQzBS3/n62Vk66tQdiDVHMqV1un4jdQMuBd1gwaV irumgnPoTJuc9zjFgxetGK+8J2AkKJiNQibVEpOH3tEYOtjkoHFqUtUWifB0Gm5lemz5V6YL2yk EFn03SqxlZ6Tk4JHL70sYqGgxgK39pZ8QG0Q33y0qjMh5H0= X-Google-Smtp-Source: AGHT+IFzC2YlcZzO0kqrb6QTbwpkIMAF1rl0xOfblnLP1l6DkTDC0KN5oIyOZFzyOTZuV2PpF1llsw== X-Received: by 2002:a05:6a20:258d:b0:1ee:ce5b:853d with SMTP id adf61e73a8af0-1fe433198f8mr24016996637.39.1742834040887; Mon, 24 Mar 2025 09:34:00 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.34.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:34:00 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:39 -0700 Subject: [PATCH 18/21] gperf: Pin to C17 std MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-18-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213550 gperf needs to be ported to work with C23 standard especially around getopt function signatures Signed-off-by: Khem Raj --- meta/recipes-extended/gperf/gperf_3.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/gperf/gperf_3.1.bb b/meta/recipes-extended/gperf/gperf_3.1.bb index c57ade9fe3817e4355ae92fec9cc24d619f320c9..9175bc13e623e08e0ce1824d9eda3fd7c54f1d04 100644 --- a/meta/recipes-extended/gperf/gperf_3.1.bb +++ b/meta/recipes-extended/gperf/gperf_3.1.bb @@ -18,4 +18,6 @@ inherit autotools # it where to look explicitly (mirroring the behaviour of upstream's Makefile.devel). EXTRA_AUTORECONF += " -I ${S} --exclude=aclocal" +CFLAGS += "-std=gnu17" + BBCLASSEXTEND = "native nativesdk" From patchwork Mon Mar 24 16:33:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59807 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 B7A84C36008 for ; Mon, 24 Mar 2025 16:34:03 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web10.44231.1742834042613504835 for ; Mon, 24 Mar 2025 09:34:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PfMWo5M2; spf=pass (domain: gmail.com, ip: 209.85.214.180, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2260c915749so61241105ad.3 for ; Mon, 24 Mar 2025 09:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834042; x=1743438842; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0J3mphLhYsRfd3xHYAwUnucf+7NLQ/ewxn975gYex6o=; b=PfMWo5M2pjy1ztzaCczx0bzwvuyTXKonWHqtHWkS0NlCOCjugYsSWvlb2coIPEf88o OZB9/mDsvC6M5XUv77eSrRIw/ulMOuNm9aeK+CVbnuHBfl0CEYG3xCDV8vaXKgfHY7Ci Y59/G+mLOAM2937QrQ6MArUeZ39PkidRu6L4NIQNZjQ7U8rwfAnbDReIEWap4nTKJ29Q 0VnrJWrGpM/ten8GyExxsgn/6T5y1y1A1M33HJ+3BKeNdxEws7md8NHyfJMaV5Qbmo6K /Q2F8ZAMFbfUEGDtaB/WS1ulucUTutVIViim7U99T0tzRI/9xzog+ak7iAmF1NZnTDFN wLkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834042; x=1743438842; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0J3mphLhYsRfd3xHYAwUnucf+7NLQ/ewxn975gYex6o=; b=RBppoKtb16zw8qR/JhUqOhviwO2GGeqK2tf+IyG1p5Gx5i+/4nZQIm92bzKZQsfRx6 mZ7ZbrIUnLf+VFZjuMU0LZxW8FXjkkObYGUF3JJ6uwtI2JIh++aAfR9Zn6V+Iitp6TyX 7sEHhqbEOUPFVSK/5buyyzsWSbjngIdbPDJbfskjWvvQzRQHWD2S2lSRQVBDoBgxqpnP raS2zChgA/TtVkxeF9Pmp8at8FP/nHsk7DEvig9muaPlbSFSGhsPI6ij/GYsYEkiKktR bKCwwaSBPE3gIrmkSZL+oXqD6slbM13Bpz8c9nTVgybKklzz85QPCy1rMuEOGmoBwPQ+ 6CAA== X-Gm-Message-State: AOJu0YzUyWid8NQV0hJK3+lGVp45qeu3Y+CftT1WCKKTiHj0sxaaI47E +aTPosihPCZas7m5TVuW/E0EkaN45IkxdzOI/oPbzNCbgDtV2c+aLlGCzixj X-Gm-Gg: ASbGncvidCMEOKotADl+G8unK3HgKKYRP1xBPqoCodybmti5HqgEHdS2WVyfFWXs4PJ fM0kY7deJlCxXN2uh4rZpG+fXN1PtJtUsUYVNq07rBz+yp3ZygGAfk4wZo3grKhHoLRRjsapN/M 7Ommj0m6s07Y8cDpUlWWwLk1Tn5V4fwMHe3s/dkFaOgZwOZiC0anmx1/dQjapQZe97fYaN/e8qu X2qcjUwk6yQ5ER5wdjKwgpVUNHhh7mpLRRw6cJOKwINeTbGk9jKgSiXgv3L0Bp5d+vOyg2SG556 SR3QT4zpjGHMQYR2QH7dD3s4UmcbL/vh8J9HUgtZXyszyBs= X-Google-Smtp-Source: AGHT+IGFUCFNt9WX+q23VQ3RgeYlGoHGGqrhC8Ep8KzjhLT67e4tKwXaxMPczg1AlbEqMLBBIOZTgQ== X-Received: by 2002:a05:6a21:339a:b0:1f5:51d5:9ef3 with SMTP id adf61e73a8af0-1fe42f995edmr18253839637.20.1742834041848; Mon, 24 Mar 2025 09:34:01 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:34:01 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:40 -0700 Subject: [PATCH 19/21] apt: Fix build with GCC 15 MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-19-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213551 Signed-off-by: Khem Raj --- ...strutl-Add-missing-include-cstdint-gcc-15.patch | 26 ++++++++++++++++++++++ meta/recipes-devtools/apt/apt_2.6.1.bb | 1 + 2 files changed, 27 insertions(+) diff --git a/meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch b/meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch new file mode 100644 index 0000000000000000000000000000000000000000..b86ed8bb92d83dfd03a41e88c34fc4cfad51e395 --- /dev/null +++ b/meta/recipes-devtools/apt/apt/0001-strutl-Add-missing-include-cstdint-gcc-15.patch @@ -0,0 +1,26 @@ +From 9da1b0dbdcc90455bc9de49f73a96e7d18f83493 Mon Sep 17 00:00:00 2001 +From: Julian Andres Klode +Date: Tue, 18 Feb 2025 10:29:40 +0100 +Subject: [PATCH] strutl: Add missing #include [gcc 15] + +Closes: #1096322 + +Upstream-Status: Backport [https://salsa.debian.org/apt-team/apt/-/commit/f82dcd7e4ebb3f70d28e9feb3621676f8c0cc024] + +Signed-off-by: Khem Raj +--- + apt-pkg/contrib/strutl.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc +index 67100f1..c0a1cbc 100644 +--- a/apt-pkg/contrib/strutl.cc ++++ b/apt-pkg/contrib/strutl.cc +@@ -26,6 +26,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/meta/recipes-devtools/apt/apt_2.6.1.bb b/meta/recipes-devtools/apt/apt_2.6.1.bb index 26a6d99f84dd823cee9675137d59cf733001369f..62a674d62bb35998e572f2ed60ef268bd4dbb135 100644 --- a/meta/recipes-devtools/apt/apt_2.6.1.bb +++ b/meta/recipes-devtools/apt/apt_2.6.1.bb @@ -14,6 +14,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \ file://0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch \ file://0001-aptwebserver.cc-Include-array.patch \ file://0001-Remove-using-std-binary_function.patch \ + file://0001-strutl-Add-missing-include-cstdint-gcc-15.patch \ " SRC_URI:append:class-native = " \ From patchwork Mon Mar 24 16:33:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59808 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 E0784C36010 for ; Mon, 24 Mar 2025 16:34:03 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web10.44233.1742834043377005592 for ; Mon, 24 Mar 2025 09:34:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LLcLnFEB; spf=pass (domain: gmail.com, ip: 209.85.214.176, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-227b650504fso29497175ad.0 for ; Mon, 24 Mar 2025 09:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834043; x=1743438843; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=sibmAil0mDBbSN/Lj7jus5YWa34ERRk6oW0275slzzY=; b=LLcLnFEB9P3rOWoywAr55kyvK3KzO50aMr8T4deJwLKhvH25aujCz4/L+e+58AATa7 ugXJiX3SLuNgCeML8Ta2L6EvRODlE1XBQAgbj1GnjVS+KUn5aR0WI8CjHRrsWVz7NeiY Y8DS+JjYi67qihh0j/lX2SxQYhww7cNh32WXOMDwgNtaDLnpJBrZ6TfI8cICVrDlhFAA RgRVKB/Q+HAxMqbsuFCR8m7YqvXEkVw1sqjpG4tcIQkiuUiutTTb5TyQ33tcS4oftrpX sd5wILZjxj1PTxlqHm00j3zFAq7Mw9cF7R2oxOf3ME7mvshbOQNeyI2Rts3Nl/F0aoxy tzrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834043; x=1743438843; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sibmAil0mDBbSN/Lj7jus5YWa34ERRk6oW0275slzzY=; b=LVatnfV9bjcZFFcLVdmnJLAX+w5jZyrRlcreorvLF27QVQmG5JS8o8WlgXSlFDgYFI BKqdooPRSj/mGN1owwxXl2JZCeu5PuMIybXfmIlYOc0rwgGXJd6Xpo8Cfte5aZSmPYS4 gmwifcX+VoC8x1x4zDk304WvCqDJn8xmf6U96ZIrdyStKkKJ/RqwI+BVgjhCh9/uujqP HOhyxK65d8npI/QD6WYA0x2GYFL7dHT0cl7bmvr7e8sc0PpI6pEEmT0AOtBpjYqnsiXt kTDmJz9OJDSkWi/CDBS5FEG5zMroeSOOlExZ1Uwx1CVrpD2DGuKN3Fulf9OoD3RS6byL E/aw== X-Gm-Message-State: AOJu0YxpJMlBFmJnc9PNNaamyQ7AjELDRFocmEeY29199uhCwSPi3a1I JJ+6+WLy+0jIUnahwl5YpkvRsPhl2XF9K7K3urBQT0tRue8Fnhd8yVGw5FI5 X-Gm-Gg: ASbGncsxuOkgCh8yUS5JrNWNiP3HY1TInCidrz0ObvYdQhwPs0tgRy790Nv+vmJlVBx MM6A0HEmqeDlgCMX/y3EY79lTBpTLPcLPKE1aDLi6AspThDMoZGhh44fr680Aae7aSPOqZ76Fru hAOeZ9GhsqI9kMBoW9nFt1miGcdkAxCNtDTCDfdwnRlqtXA2W0GlSP7X42zmkUUX8xj/e+LHOB+ HdTXx/TMY+8WcLDMlsDXPk72FFcJP2JH5dE9rYpZ3alh2aehmDijigMFjNCSdYZQfgAyChJMatL M3QpUQsFZt2bbSfTUU3gedzDparPQAbmdCdWUW0g0cu//4I= X-Google-Smtp-Source: AGHT+IFyNw8UH4s1o0hxMvtNJqI+E/h+cGiFltv/fDtSUL+PzSIbkkCojkTrmNw0synq7ct2zbFd/w== X-Received: by 2002:a05:6a21:910c:b0:1f3:37c4:5005 with SMTP id adf61e73a8af0-1fe4300d705mr21648490637.33.1742834042622; Mon, 24 Mar 2025 09:34:02 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.34.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:34:02 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:41 -0700 Subject: [PATCH 20/21] syslinux: Use -idirafter to add back path for system stdarg.h MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-20-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213552 syslinux uses -nostdinc to build freestanding, which makes sense, however it also tried to latch its own copy of stdarg.h to include system stdarg.h via "include_next" compiler magic, so it poses to provide own stdarg.h but then secretly include system version behind the scenes :) It uses -nostdinc -iwithprefix include hoping that gcc is uses and gcc has its include-fixed abstraction which also contains stdarg.h so in the end it will find a version of stdarg.h from system (even though it is from the compiler install ) and things will work. On musl, include-fixed is not expected and system includes are simplified so that everyone can look into /usr/include to find them. This can throw syslinux compilation into problems as now it does not find the header from -iprefix and ends up with errors like /mnt/b/yoe/master/sources/poky/build/tmp/work/core2-32-poky-linux-musl/syslinux/6.04-pre2/syslinux-6.04-pre2/com32/lib/../include/stdarg.h:9:15: fatal error: stdarg.h: No such file or directory 9 | #include_next | ^~~~~~~~~~ compilation terminated. Therefore, we use -idirafter to point it into target sysroot as fallback for system headers if it needs them, its added at the very last in search order. It also keeps working with glibc based toolchains as usual and also works with musl toolchains. Signed-off-by: Khem Raj --- meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb index fa7054bc54ffdc5d7249cc7904b7458695b3c4bb..7cf737170c3656a26f2d3f52ee15671c03558b1c 100644 --- a/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb +++ b/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb @@ -49,7 +49,7 @@ TARGET_LDFLAGS = "" SECURITY_LDFLAGS = "" LDFLAGS_SECTION_REMOVAL = "" -CFLAGS += "-DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration" +CFLAGS += "-DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration -idirafter ${STAGING_INCDIR}" EXTRA_OEMAKE = " \ BINDIR=${bindir} SBINDIR=${sbindir} LIBDIR=${libdir} \ From patchwork Mon Mar 24 16:33:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 59813 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 E91EAC36008 for ; Mon, 24 Mar 2025 16:34:13 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web11.43726.1742834044383442107 for ; Mon, 24 Mar 2025 09:34:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OYoxwFF6; spf=pass (domain: gmail.com, ip: 209.85.214.180, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-224019ad9edso13546445ad.1 for ; Mon, 24 Mar 2025 09:34:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742834044; x=1743438844; darn=lists.openembedded.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=C7UY6n+JgID+Q09CMhSqrh5tMJ8sfwyiy6qkW0aWcfw=; b=OYoxwFF67zEsi+uoVFXh5Ql0dLWnxfPtfWmjYBwpsGTE0gAVTllsYBYCxl28BvoX8I GGXRinxJNWrebkR/dm12z2X8KfSe0MVLgbLR+Iv+mYNbwM6RleKP3zCyy4Le7TIAF8nM T/LVF56bBZPA/J0dtocdiyi87SuUAC/Ebaomgow9pINlYKoH1A92b8SabWs6eBXB9+Ef +6BioLPR/d2bs5J6N+GtQZ4GI1UbxlstnuVSnhvhVwj3p0bwkNMr3epsV4y1nEpLb/o0 6bN6JhXWbj7dN3uwFqVBv5O/XLGyQLIQE87f59TOYD0Xo+d2efWnLlCTIshIFcxTzrAo HCww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742834044; x=1743438844; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C7UY6n+JgID+Q09CMhSqrh5tMJ8sfwyiy6qkW0aWcfw=; b=bf0JriE4BT51PfYtIRLMBKso87P60a12JC/nwzIkSTOTcO2dvroOVzWL2gpW8qFcEG kT6ERCXCP1pjJXRL+0p6cScBno+f+EISHlSIfWcfVlHdyg4n7TOhdHxTJjLXaTHNE/Es f9Rlnm+EDER5NDt2Zfsd1zyv1AOYavJA3hmCra0TvYU4zl97L2EI5x/Eh7Zj315+rGTO GhwoFWGGXWFv0n99xy68dRWYlaRV0jdivAZVdu0A+pFLwQwrfG9FVyWpfJ5RSfGLc7R8 hnxrOzBHU9/DL0XeuB6MO9nHAruvumKSnVWUUkoet4hPdOiM9vowxURv9Rz2Y1VWTsCe uaBQ== X-Gm-Message-State: AOJu0Yy68kO+6SDL8vlxX89VS7jwAsNvsdHuFfxbGcBuSedpGMqKrwlt kXH3ZcQHVL+ESOEY/Zg3A4+og+Fy1AQV+JQ1h0lsMIZStwqQUwvJS8nxjy8Z X-Gm-Gg: ASbGncv9Zn925uHMsUhElq1RQr1wI5C6H42AIu3ULHewoVPvkjyEaqI62nIPAZG0tdO QO7fODVPoXMuawJwqRr5u0TANYbauO2o8BOxFTl1uUZE+fdZuqzTjQjcrZWPGSO5LirW4Mzy2TD CN4RS/sNvWbYS7SsVTUR2qYhNJBahnfgq20oFIp+Q187c1tAiLAjAsObgHRyaZpAjgEzCcoNk0L kUZ0IdR6IZoEmYiGKEMYzWW+g87q/l5TfHd32UHD7tpCXdTnY7iJiVWkQGE+k0eDj5pE8GY8WUN cMZc8hkSqAneg6RO2G1Rx59uEXnm8RPpAfir X-Google-Smtp-Source: AGHT+IGI0tHEQnLGXZiHItrCQNs/NnkJnlVjJ8qeKi40/0FQaBEyBk7M+8w6I4i3DRWhKf4T3//EJg== X-Received: by 2002:a05:6a21:6197:b0:1f5:717b:46dc with SMTP id adf61e73a8af0-1fe432065b3mr22842002637.27.1742834043640; Mon, 24 Mar 2025 09:34:03 -0700 (PDT) Received: from apollo.localdomain ([2601:646:8201:fd20::b570]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af8a2803d8csm7372192a12.26.2025.03.24.09.34.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Mar 2025 09:34:03 -0700 (PDT) From: Khem Raj Date: Mon, 24 Mar 2025 09:33:42 -0700 Subject: [PATCH 21/21] vulkan-samples: Fix build with GCC-15 MIME-Version: 1.0 Message-Id: <20250324-b4-musl-gcc15-v1-21-ca68c03c5b01@gmail.com> References: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> In-Reply-To: <20250324-b4-musl-gcc15-v1-0-ca68c03c5b01@gmail.com> To: openembedded-core@lists.openembedded.org Cc: Khem Raj X-Mailer: b4 0.14.2 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, 24 Mar 2025 16:34:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/213553 Include cstdint for uint32_t definition Update to tip if trunk as it helps with GCC-15 fixes Signed-off-by: Khem Raj --- ...-SpvBuilder.h-add-missing-cstdint-include.patch | 28 ++++++++++++++++++++++ .../0001-framework-Include-stdint.h.patch | 26 ++++++++++++++++++++ meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 6 ++++- 3 files changed, 59 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/vulkan/vulkan-samples/0001-SPIRV-SpvBuilder.h-add-missing-cstdint-include.patch b/meta/recipes-graphics/vulkan/vulkan-samples/0001-SPIRV-SpvBuilder.h-add-missing-cstdint-include.patch new file mode 100644 index 0000000000000000000000000000000000000000..392f515b701a62da12535ae059dec85c4c014da8 --- /dev/null +++ b/meta/recipes-graphics/vulkan/vulkan-samples/0001-SPIRV-SpvBuilder.h-add-missing-cstdint-include.patch @@ -0,0 +1,28 @@ +From e40c14a3e007fac0e4f2e4164fdf14d1712355bd Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Fri, 2 Aug 2024 22:44:21 +0100 +Subject: [PATCH] SPIRV/SpvBuilder.h: add missing include + +Without the change `glslang` build fails on upcoming `gcc-15` as: + + In file included from /build/source/SPIRV/GlslangToSpv.cpp:45: + SPIRV/SpvBuilder.h:248:30: error: 'uint32_t' has not been declared + 248 | Id makeDebugLexicalBlock(uint32_t line); + | ^~~~~~~~ + +Upstream-Status: Backport [https://github.com/KhronosGroup/glslang/commit/e40c14a3e007fac0e4f2e4164fdf14d1712355bd] +Signed-off-by: Khem Raj +--- + SPIRV/SpvBuilder.h | 1 + + 1 file changed, 1 insertion(+) + +--- a/third_party/glslang/SPIRV/SpvBuilder.h ++++ b/third_party/glslang/SPIRV/SpvBuilder.h +@@ -56,6 +56,7 @@ namespace spv { + } + + #include ++#include + #include + #include + #include diff --git a/meta/recipes-graphics/vulkan/vulkan-samples/0001-framework-Include-stdint.h.patch b/meta/recipes-graphics/vulkan/vulkan-samples/0001-framework-Include-stdint.h.patch new file mode 100644 index 0000000000000000000000000000000000000000..8d323f2cef826a0c2f87e587321b0b3eb5ee169c --- /dev/null +++ b/meta/recipes-graphics/vulkan/vulkan-samples/0001-framework-Include-stdint.h.patch @@ -0,0 +1,26 @@ +From 445fcfd7b9245881d769880a5942ce9faa893045 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 23 Mar 2025 20:09:35 -0700 +Subject: [PATCH] framework: Include stdint.h + +Needed for uint32_t used in this header +GCC 15 gets upset about it. + +Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Samples/pull/1314] +Signed-off-by: Khem Raj +--- + framework/platform/configuration.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/framework/platform/configuration.h b/framework/platform/configuration.h +index f6a9cae..c15f76f 100644 +--- a/framework/platform/configuration.h ++++ b/framework/platform/configuration.h +@@ -18,6 +18,7 @@ + #pragma once + + #include ++#include + #include + #include + #include diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb index 2dd4bba5230d3c8955e6e7094792c10e3d74abe2..645c13479ad0c8e5fd615daa4f4e8b210f245a09 100644 --- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb +++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb @@ -7,16 +7,20 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=48aa35cefb768436223a6e7f18dc2a2a" SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=main;protocol=https;lfs=0 \ file://0001-vulkan-samples-Fix-reproducibility-issue.patch \ + file://0001-SPIRV-SpvBuilder.h-add-missing-cstdint-include.patch \ + file://0001-framework-Include-stdint.h.patch \ " UPSTREAM_CHECK_COMMITS = "1" -SRCREV = "4838e02a4b08236931bec0532fc26ee3871b466a" +SRCREV = "8547ce1022a19870d3e49075b5b08ca2d11c8773" UPSTREAM_CHECK_GITTAGREGEX = "These are not the releases you're looking for" S = "${WORKDIR}/git" REQUIRED_DISTRO_FEATURES = 'vulkan' +# Avoid erroring on including instead of in c++17 +CXXFLAGS += "-Wno-error=cpp" inherit cmake features_check FILES:${PN} += "${datadir}"