From patchwork Mon Aug 26 17:43:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 48243 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 DCBB9C5472E for ; Mon, 26 Aug 2024 17:43:33 +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.59049.1724694205500028871 for ; Mon, 26 Aug 2024 10:43:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nbWwNKXo; 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-201ee6b084bso38524545ad.2 for ; Mon, 26 Aug 2024 10:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724694205; x=1725299005; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NJfzSKbPxrk5+x7mgEBglqr38hwxBCs7ZE6Iv+ACn1A=; b=nbWwNKXo2L7s6h+2Hz/0Xj5mVpe+2lDiwPSzjmeOgwy0bbwkFOpAPqTL+VtpBEQiv3 rPHv6OFd/74bScVAL9cJkWwozaPlokHcKNekIW47oPqERxUTau1PJs3eJJNCKJBetGgE GJuyYE6uTUiQJ6eGUXcKq2XladQC0J3kCUzC42298B/buHLuttHDnjXbpMokTWHovwyL bLrmFZIoPGylxHPPMU04f3lNssn7bi2srZnTeCH8MaNOoUikHgq0bAzS6T/1tGLZJjTb 7tIMmJXxUmzvM8dDNUpP0bxDaD6L8lHOxZf/2lKtkuyjXwfGihZFRGBJ4ef3nTtEEZIh zBOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724694205; x=1725299005; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NJfzSKbPxrk5+x7mgEBglqr38hwxBCs7ZE6Iv+ACn1A=; b=bV3B8ZUzpliZvdB3yYvcFUjLSYwqCRPGAUO2/gQWUPyCFbZF1TDW1ScsmPZZiExmlZ tb7R1v2hJ43oIkEuSEbLYxpiuBsdOoSnku8QCtqE/oiG2mgUnEzXMiUc2qRKd32/CTOX NB5Ff6osdaFuwXRATSA020rW4r6Yao/xW9hwE8sjCLgwJp0s8nYRSgv5dVAFt0zXxclu 98WuFjh1UBzrslvsGCoO+gHNb4OOv+BOjFt4od3NtiB/LKHwdw3cGIrOoEik5axXIwya nkxpor0u1azl4nHYuqk4ipSc4M9HoK8K5A2LBfk8VTKE9s9sCHRj60rih/15kqhgPqDJ D85g== X-Gm-Message-State: AOJu0YyrChs949iFL7K9V5VdyB37eWyYLb9g05gTscSaiDz7Q5KDQsnS Kvk6PZrA+AXX6+yyZJ91J61GbL7KR7EtUv14XubI6qDGHnyY54+Nq5tJew== X-Google-Smtp-Source: AGHT+IFH04a0FFDgdGPANMM1j/UMuWKFaKLWBwO951gSTjoRv7rsX6vG8/fxWAeShEA4mRelC8oPYA== X-Received: by 2002:a17:902:d481:b0:203:a150:e5f5 with SMTP id d9443c01a7336-204ddfe728cmr4345845ad.0.1724694204486; Mon, 26 Aug 2024 10:43:24 -0700 (PDT) Received: from apollo.localdomain ([2601:646:9d80:4380::2696]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20395ef904dsm56933625ad.31.2024.08.26.10.43.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2024 10:43:24 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH v2 1/4] bluez5: Fix build with musl Date: Mon, 26 Aug 2024 10:43:19 -0700 Message-ID: <20240826174322.2938481-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 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, 26 Aug 2024 17:43:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/203766 Signed-off-by: Khem Raj --- v2: Fix the upstream submission and latest patch submitted upstream meta/recipes-connectivity/bluez5/bluez5.inc | 1 + ...U-basename-compatible-implementation.patch | 136 ++++++++++++++++++ 2 files changed, 137 insertions(+) create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-Provide-GNU-basename-compatible-implementation.patch diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index d8b9f817715..e0d3e651871 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -70,6 +70,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \ file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ file://0001-test-gatt-Fix-hung-issue.patch \ file://0004-src-shared-util.c-include-linux-limits.h.patch \ + file://0001-Provide-GNU-basename-compatible-implementation.patch \ " S = "${WORKDIR}/bluez-${PV}" diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-Provide-GNU-basename-compatible-implementation.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-Provide-GNU-basename-compatible-implementation.patch new file mode 100644 index 00000000000..293675ee0a2 --- /dev/null +++ b/meta/recipes-connectivity/bluez5/bluez5/0001-Provide-GNU-basename-compatible-implementation.patch @@ -0,0 +1,136 @@ +From 4ea6d5f344574b876bbf029501301131e623e992 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 26 Aug 2024 09:55:03 -0700 +Subject: [PATCH BlueZ] Provide GNU basename compatible implementation + +Call to basename() relies on a GNU extension +to take a const char * vs a char *. Let's define +a trivial helper function to ensure compatibility +with musl. + +Fixes Issue: https://github.com/bluez/bluez/issues/843 + +Upstream-Status: Submitted [https://lore.kernel.org/linux-bluetooth/20240826173844.2918630-1-raj.khem@gmail.com/T/#u] +Signed-off-by: Khem Raj +--- + Makefile.mesh | 2 ++ + Makefile.tools | 3 ++- + mesh/mesh-config-json.c | 5 +++-- + mesh/rpl.c | 3 ++- + src/shared/util.h | 6 ++++++ + tools/hex2hcd.c | 3 ++- + 6 files changed, 17 insertions(+), 5 deletions(-) + +diff --git a/Makefile.mesh b/Makefile.mesh +index e4c9fa6a3..bebedaf05 100644 +--- a/Makefile.mesh ++++ b/Makefile.mesh +@@ -47,6 +47,8 @@ mesh/main.$(OBJEXT): src/builtin.h lib/bluetooth/bluetooth.h + mesh_bluetooth_meshd_SOURCES = $(mesh_sources) mesh/main.c + mesh_bluetooth_meshd_LDADD = src/libshared-ell.la $(ell_ldadd) -ljson-c + ++mesh_bluetooth_meshd_CFLAGS = -I${top_srcdir}/src ++ + if MANPAGES + man_MANS += mesh/bluetooth-meshd.8 + endif +diff --git a/Makefile.tools b/Makefile.tools +index 5b9034078..6fc73b8a2 100644 +--- a/Makefile.tools ++++ b/Makefile.tools +@@ -328,7 +328,8 @@ tools_l2ping_LDADD = lib/libbluetooth-internal.la + tools_bluemoon_SOURCES = tools/bluemoon.c monitor/bt.h + tools_bluemoon_LDADD = src/libshared-mainloop.la + +-tools_hex2hcd_SOURCES = tools/hex2hcd.c ++tools_hex2hcd_SOURCES = tools/hex2hcd.c src/shared/util.h ++tools_hex2hcd_CFLAGS = -I${top_srcdir}/src + + tools_mpris_proxy_SOURCES = tools/mpris-proxy.c + tools_mpris_proxy_LDADD = gdbus/libgdbus-internal.la $(GLIB_LIBS) $(DBUS_LIBS) +diff --git a/mesh/mesh-config-json.c b/mesh/mesh-config-json.c +index c198627c6..8f89a1498 100644 +--- a/mesh/mesh-config-json.c ++++ b/mesh/mesh-config-json.c +@@ -28,6 +28,7 @@ + #include + #include + ++#include "shared/util.h" + #include "mesh/mesh-defs.h" + #include "mesh/util.h" + #include "mesh/mesh-config.h" +@@ -2694,7 +2695,7 @@ bool mesh_config_load_nodes(const char *cfgdir_name, mesh_config_node_func_t cb, + + void mesh_config_destroy_nvm(struct mesh_config *cfg) + { +- char *node_dir, *node_name; ++ const char *node_dir, *node_name; + char uuid[33]; + + if (!cfg) +@@ -2706,7 +2707,7 @@ void mesh_config_destroy_nvm(struct mesh_config *cfg) + if (!hex2str(cfg->uuid, 16, uuid, sizeof(uuid))) + return; + +- node_name = basename(node_dir); ++ node_name = bluez_basename(node_dir); + + /* Make sure path name of node follows expected guidelines */ + if (strcmp(node_name, uuid)) +diff --git a/mesh/rpl.c b/mesh/rpl.c +index fb225dddd..fb89f0afd 100644 +--- a/mesh/rpl.c ++++ b/mesh/rpl.c +@@ -24,6 +24,7 @@ + + #include + ++#include "shared/util.h" + #include "mesh/mesh-defs.h" + + #include "mesh/node.h" +@@ -146,7 +147,7 @@ static void get_entries(const char *iv_path, struct l_queue *rpl_list) + if (!dir) + return; + +- iv_txt = basename(iv_path); ++ iv_txt = bluez_basename(iv_path); + if (sscanf(iv_txt, "%08x", &iv_index) != 1) { + closedir(dir); + return; +diff --git a/src/shared/util.h b/src/shared/util.h +index f2ca4f29f..0f0f67718 100644 +--- a/src/shared/util.h ++++ b/src/shared/util.h +@@ -296,3 +296,9 @@ static inline void put_be64(uint64_t val, void *dst) + { + put_unaligned(cpu_to_be64(val), (uint64_t *) dst); + } ++ ++static inline const char *bluez_basename(const char *path) ++{ ++ const char *base = strrchr(path, '/'); ++ return base ? base + 1 : path; ++} +diff --git a/tools/hex2hcd.c b/tools/hex2hcd.c +index e6dca5a81..05fa69470 100644 +--- a/tools/hex2hcd.c ++++ b/tools/hex2hcd.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include "shared/util.h" + + static ssize_t process_record(int fd, const char *line, uint16_t *upper_addr) + { +@@ -302,7 +303,7 @@ static void ver_parse_entry(const char *pathname) + } + + if (S_ISREG(st.st_mode)) { +- ver_parse_file(basename(pathname)); ++ ver_parse_file(bluez_basename(pathname)); + goto done; + } + From patchwork Mon Aug 26 17:43:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 48242 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 DBBFBC5472D for ; Mon, 26 Aug 2024 17:43:33 +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.59050.1724694206434051401 for ; Mon, 26 Aug 2024 10:43:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Xn9c76Z2; 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-201e52ca0caso32250225ad.3 for ; Mon, 26 Aug 2024 10:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724694206; x=1725299006; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=G1zqZpsW41T10xsG4KlN8dzxwK+/DZu4Vk0c3qk/y9I=; b=Xn9c76Z2y14XK3XD4oEpimQlLWy/jsR5Z8VrlvcJmMGd8W2AhTxjcOAH+quGcbEFr9 Qv/gV6S7gr9i2MmRWM0A/lujw+qUYlS+k+mC9saftNfKJSkssJrQ8TVoNcJ8NVz3yQie xTmZoRKvd3VgalAqQjeaV7FR8SveyxbcgfrYq0vJ3yZC4dtiHo+Ek1ucXQICduitQc8n /i9FaMCWiBG6P++uubNwsnhtIU0QgK6H9/pTiPaYMWtHoeF4F3uURsDdCTXObVnB6DMC ECAM7uJE++8tmLjePcbzd33e1If5bfxrym2uPXaiUUw0QZa0V++PzJjxtym022gFHHBc atyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724694206; x=1725299006; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G1zqZpsW41T10xsG4KlN8dzxwK+/DZu4Vk0c3qk/y9I=; b=O+YceyIhzWvz9B4gBwRtz5n3iY5kaT1I8Rl4HWm7LlLbY+G72OKCQ1/BQwPjPcXZkI GW/SyOpNpw/sES8ylCiVdg0DmobJCgByc7543DlIMQwlFHFdAhz1V0KvnOGcVTEaal8D AjHWO8DzGozg3q24YPiMWsxaliYq4h2ZCmoaupCEnKk7naTXssRlPrGDnMY78kcqvUEX hY+X79/nzMLDDAQs9REcq4G6i0o6K3YL3lDP16ZbVX3CxH6V4DHuQmn6L0T0YN5jbTdl 2dKK0ZcY7vGlhqyVekw/7CxZ7Ubyrmi+q85QjrRZfOHfgPzDgCYNS+ByacQffGEPqwe4 /3xQ== X-Gm-Message-State: AOJu0YyawIPFjBa7Ns3DPL5lwNILv7FlMdjDJUxGxTLBNYN/Rrmek1J8 gwmfgYsDUppoo6wCZ9SwTLrAQLj9acx0gFbMLyJypqUKdFUCI0x5ZNaM6Q== X-Google-Smtp-Source: AGHT+IGmR1Hfn7kVu0RsXmfsU7hFSAdWSIIJzLAqPHRf7bPvw+WtFmDuTd2V25uYdI3gZDqkQblC+Q== X-Received: by 2002:a17:903:32cf:b0:202:1176:5e39 with SMTP id d9443c01a7336-2039e4fbd72mr96078455ad.56.1724694205638; Mon, 26 Aug 2024 10:43:25 -0700 (PDT) Received: from apollo.localdomain ([2601:646:9d80:4380::2696]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20395ef904dsm56933625ad.31.2024.08.26.10.43.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2024 10:43:24 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH v2 2/4] quota: Apply a backport to fix basename API with musl Date: Mon, 26 Aug 2024 10:43:20 -0700 Message-ID: <20240826174322.2938481-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240826174322.2938481-1-raj.khem@gmail.com> References: <20240826174322.2938481-1-raj.khem@gmail.com> MIME-Version: 1.0 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, 26 Aug 2024 17:43:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/203767 Drop the local patches for supporting musl, as they are either subsumed in the backport or are not needed anymore Signed-off-by: Khem Raj --- v2: No changes .../quota/0001-Fix-building-on-musl.patch | 228 ++++++++++++++++++ meta/recipes-extended/quota/quota/fcntl.patch | 70 ------ meta/recipes-extended/quota/quota_4.09.bb | 2 +- 3 files changed, 229 insertions(+), 71 deletions(-) create mode 100644 meta/recipes-extended/quota/quota/0001-Fix-building-on-musl.patch delete mode 100644 meta/recipes-extended/quota/quota/fcntl.patch diff --git a/meta/recipes-extended/quota/quota/0001-Fix-building-on-musl.patch b/meta/recipes-extended/quota/quota/0001-Fix-building-on-musl.patch new file mode 100644 index 00000000000..ce20f672cce --- /dev/null +++ b/meta/recipes-extended/quota/quota/0001-Fix-building-on-musl.patch @@ -0,0 +1,228 @@ +From e73c5b48e12c3f02e532864a1107cdc8a4feafc3 Mon Sep 17 00:00:00 2001 +From: Brahmajit Das +Date: Sun, 14 Jul 2024 07:58:50 +0000 +Subject: [PATCH] Fix building on musl + +basename(3) is defined in libgen.h in MUSL. Include libgen.h where +basename(3) is used. + +Upstream-Status: Backport [https://sourceforge.net/p/linuxquota/code/ci/e73c5b48e12c3f02e532864a1107cdc8a4feafc3/] +Signed-off-by: Brahmajit Das +Signed-off-by: Jan Kara +--- + convertquota.c | 1 + + edquota.c | 11 ++++++----- + quota.c | 1 + + quota_nld.c | 1 + + quotacheck.c | 1 + + quotaon.c | 1 + + quotastats.c | 1 + + quotasync.c | 1 + + repquota.c | 1 + + rquota_svc.c | 1 + + setquota.c | 1 + + warnquota.c | 1 + + xqmstats.c | 1 + + 13 files changed, 18 insertions(+), 5 deletions(-) + +diff --git a/convertquota.c b/convertquota.c +index 6c8a553..4eb05ed 100644 +--- a/convertquota.c ++++ b/convertquota.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + + #include + +diff --git a/edquota.c b/edquota.c +index 20ca306..c5b27cf 100644 +--- a/edquota.c ++++ b/edquota.c +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + + #include "pot.h" + #include "quotaops.h" +@@ -38,7 +39,7 @@ char *progname; + static int flags, quotatype; + static int fmt = -1; + static char *protoname; +-static char *dirname; ++static char *dir_name; + + static void usage(void) + { +@@ -138,7 +139,7 @@ static int parse_options(int argc, char **argv) + exit(1); + break; + case 'f': +- dirname = optarg; ++ dir_name = optarg; + break; + case 256: + flags |= FL_NUMNAMES; +@@ -176,7 +177,7 @@ static void copy_prototype(int argc, char **argv, struct quota_handle **handles) + protoprivs = getprivs(protoid, handles, 0); + while (argc-- > 0) { + id = name2id(*argv, quotatype, !!(flags & FL_NUMNAMES), NULL); +- curprivs = getprivs(id, handles, !dirname); ++ curprivs = getprivs(id, handles, !dir_name); + if (!curprivs) + die(1, _("Cannot get quota information for user %s\n"), *argv); + argv++; +@@ -223,7 +224,7 @@ int main(int argc, char **argv) + argv += ret; + + init_kernel_interface(); +- handles = create_handle_list(dirname ? 1 : 0, dirname ? &dirname : NULL, quotatype, fmt, ++ handles = create_handle_list(dir_name ? 1 : 0, dir_name ? &dir_name : NULL, quotatype, fmt, + (flags & FL_NO_MIXED_PATHS) ? 0 : IOI_NFS_MIXED_PATHS, + (flags & FL_REMOTE) ? 0 : MS_LOCALONLY); + if (!handles[0]) { +@@ -296,7 +297,7 @@ int main(int argc, char **argv) + else { + for (; argc > 0; argc--, argv++) { + id = name2id(*argv, quotatype, !!(flags & FL_NUMNAMES), NULL); +- curprivs = getprivs(id, handles, !dirname); ++ curprivs = getprivs(id, handles, !dir_name); + if (!curprivs) + die(1, _("Cannot get quota information for user %s.\n"), *argv); + if (flags & FL_EDIT_TIMES) { +diff --git a/quota.c b/quota.c +index a60de12..66b0fa3 100644 +--- a/quota.c ++++ b/quota.c +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #ifdef RPC + #include + #include "rquota.h" +diff --git a/quota_nld.c b/quota_nld.c +index 58a62af..710b556 100644 +--- a/quota_nld.c ++++ b/quota_nld.c +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + +diff --git a/quotacheck.c b/quotacheck.c +index e2c3bbd..fa1d297 100644 +--- a/quotacheck.c ++++ b/quotacheck.c +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + #include + #include +diff --git a/quotaon.c b/quotaon.c +index 351c851..17b6bcc 100644 +--- a/quotaon.c ++++ b/quotaon.c +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + + #include "quotaon.h" + #include "quota.h" +diff --git a/quotastats.c b/quotastats.c +index a059812..4076a7d 100644 +--- a/quotastats.c ++++ b/quotastats.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #include "pot.h" + #include "common.h" +diff --git a/quotasync.c b/quotasync.c +index cad2a20..e90b24a 100644 +--- a/quotasync.c ++++ b/quotasync.c +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include + + #include "pot.h" + #include "common.h" +diff --git a/repquota.c b/repquota.c +index e79fc4d..8e509bd 100644 +--- a/repquota.c ++++ b/repquota.c +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + + #include "pot.h" + #include "common.h" +diff --git a/rquota_svc.c b/rquota_svc.c +index 6e856bb..c17df13 100644 +--- a/rquota_svc.c ++++ b/rquota_svc.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + #ifdef HOSTS_ACCESS + #include + #include +diff --git a/setquota.c b/setquota.c +index c517ab1..9e4b2fa 100644 +--- a/setquota.c ++++ b/setquota.c +@@ -18,6 +18,7 @@ + #include + #include + #include ++#include + + #if defined(RPC) + #include "rquota.h" +diff --git a/warnquota.c b/warnquota.c +index 2882fee..6f63ce7 100644 +--- a/warnquota.c ++++ b/warnquota.c +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + #ifdef HAVE_NL_LANGINFO + #include + #endif +diff --git a/xqmstats.c b/xqmstats.c +index 59b1d66..345b060 100644 +--- a/xqmstats.c ++++ b/xqmstats.c +@@ -8,6 +8,7 @@ + #include + #include + #include ++#include + #include "common.h" + #include "pot.h" + diff --git a/meta/recipes-extended/quota/quota/fcntl.patch b/meta/recipes-extended/quota/quota/fcntl.patch deleted file mode 100644 index 09a0c687b64..00000000000 --- a/meta/recipes-extended/quota/quota/fcntl.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 00a456145531d194d3993c9f4cd404d5ca16c9df Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 6 Apr 2015 17:36:44 +0000 -Subject: [PATCH] quota: Fix build with musl - -Include fcntl.h to pacify compiler errors on musl -like - -error: unknown type name 'loff_t' -Cover rpc headers under proper conditional -Dont use __P its undefined - -Upstream-Status: Pending - -Signed-off-by: Khem Raj - ---- - quotacheck.c | 1 + - quotaio.c | 1 + - rquota_client.c | 4 ++++ - 3 files changed, 6 insertions(+) - -diff --git a/quotacheck.c b/quotacheck.c -index bd62d9a..772a27d 100644 ---- a/quotacheck.c -+++ b/quotacheck.c -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - - #include - #include -diff --git a/quotaio.c b/quotaio.c -index 94ae458..d57fc1a 100644 ---- a/quotaio.c -+++ b/quotaio.c -@@ -12,6 +12,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/rquota_client.c b/rquota_client.c -index 7f8e821..d48505a 100644 ---- a/rquota_client.c -+++ b/rquota_client.c -@@ -19,7 +19,9 @@ - - #include "config.h" - -+#if defined(RPC) - #include -+#endif - #include - #include - #include -@@ -35,7 +37,9 @@ - #include - - #include "mntopt.h" -+#if defined(RPC) - #include "rquota.h" -+#endif - #include "common.h" - #include "quotaio.h" - #include "quotasys.h" diff --git a/meta/recipes-extended/quota/quota_4.09.bb b/meta/recipes-extended/quota/quota_4.09.bb index b779657dfc5..8e4d4aed8b9 100644 --- a/meta/recipes-extended/quota/quota_4.09.bb +++ b/meta/recipes-extended/quota/quota_4.09.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://rquota_server.c;beginline=1;endline=20;md5=fe7e0d7e11 file://svc_socket.c;beginline=1;endline=17;md5=24d5a8792da45910786eeac750be8ceb" SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \ - file://fcntl.patch \ + file://0001-Fix-building-on-musl.patch \ " SRC_URI[sha256sum] = "9cdaca154bc92afc3117f0e5f5b3208dd5f84583af1cf061c39baa0a2bb142f9" From patchwork Mon Aug 26 17:43:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 48245 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 03E17C5321D for ; Mon, 26 Aug 2024 17:43:34 +0000 (UTC) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mx.groups.io with SMTP id smtpd.web10.59051.1724694207332294386 for ; Mon, 26 Aug 2024 10:43:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ALUg3J6W; spf=pass (domain: gmail.com, ip: 209.85.210.171, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-714262f1bb4so3296745b3a.3 for ; Mon, 26 Aug 2024 10:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724694206; x=1725299006; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1MieNzEl7vzlMr8HE6vqo9ZsXRMdhcJvrriM/+oBUyQ=; b=ALUg3J6WrgvU8wwuKhH58/ysRZqJGg6QeC5j0KKSQzYURwt9GKIk/gXkDHMfl83Cdq yIEmR/SilbyaSwzCOaVrJXgbFKFqwQGOl//7wo8fS9WSWyuocBPKDBiz/4oSrlkpry4n bkGZR3RgRYv2pSUOxKPVLw/J3yY0/8zl9QMV0dLoH0o+aq0fSTw/GR6PME6TwQ8NnLMb m5U6UKnWCfb03TCsnqJMpy+wPupWLgj2BAcLQqP6nkjPYLZRU+tVoJRhhLW957XyPOxX Fj5cfb0f/USQ7uqp8kd48H7E3woJh2M3bgDP3eCICRnpe1f/KOOZZJr56WDJtrwS1C3A LwTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724694206; x=1725299006; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1MieNzEl7vzlMr8HE6vqo9ZsXRMdhcJvrriM/+oBUyQ=; b=BfVuhe3+o4y9tSDxF27xiXM1WMTMlWe3y8VvEo0pXr5lATzhZgTlW4MrgthwzTXjlf gHc1rPphZzAdmqd/5XSR0CSi4ebLnpUEXezkeKQnAsMgSg0V/FOFzvJe95lKGYLMoSAX muyTczs0lLtwPqsa31o1r7moUStibNZBpTVGRDGAHftVaYKHBADrZgxHnvcsWiL6mFCr U5zj680pUGQASgAlLVlOOxVmOJEjjawSX3zJCr96AM3pncez+cWZpgDsyeDtrXgbMkHA awCq8NXvlwGGgV/zYtJxiCHlqPFa9cP6/NPCuyOULIUFHCQWhG3XBXcuzc7QHp6mzjuO FBvw== X-Gm-Message-State: AOJu0YyoV/G2PuXh4BoTnR/jYXhHnnDqzMuRspHNt3UnxWBzJ/PD3cIS jY/eq1/8Y9kuSOG+e/bM4LBTNCRN7fm1zUcfrfR5KBl3AKG4kiVoriVnpg== X-Google-Smtp-Source: AGHT+IHRpKnCf8aqNoe+pfmmblQB6p81nuzvlTE4TIwuQxEYEqw5OL9/hxvVGLsVnIYITTtieJ+Wug== X-Received: by 2002:a05:6a20:38a0:b0:1cc:9f24:43 with SMTP id adf61e73a8af0-1cc9f240184mr4549373637.12.1724694206400; Mon, 26 Aug 2024 10:43:26 -0700 (PDT) Received: from apollo.localdomain ([2601:646:9d80:4380::2696]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20395ef904dsm56933625ad.31.2024.08.26.10.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2024 10:43:26 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH v2 3/4] musl: Update to 1.2.5 release Date: Mon, 26 Aug 2024 10:43:21 -0700 Message-ID: <20240826174322.2938481-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240826174322.2938481-1-raj.khem@gmail.com> References: <20240826174322.2938481-1-raj.khem@gmail.com> MIME-Version: 1.0 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, 26 Aug 2024 17:43:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/203768 This release adds extension functions statx and preadv2/pwritev2, with fallback implementations for older kernels, and adds two new ports: loongarch64 and riscv32. Minor changes to the printf family of functions have been made for conformance to new standards interpretations/requirements. TLSDESC support for riscv64 has also been added. Bugs fixed include some DNS issues related to new TCP fallback functionality, several rare race conditions, potentially incorrect return value when glob aborts, and several signifiant arch-specific bugs affecting TLSDESC on arm, riscv64 icache flushing, and sh sigsetjmp and dlsym RTLD_NEXT. [1] Do not use https protocol for fetching Musl author confirms that https protocol is not well supported yet on musl git host, currently we experience this problem intermittently on some build hosts where the fetching fails. fatal: protocol error: bad line length character: erro WARNING: Failed to fetch URL git://git.etalabs.net/git/musl;branch=master;protocol=https [1] https://www.openwall.com/lists/musl/2024/03/01/2 Signed-off-by: Khem Raj --- v2: No changes ...ic-linker-a-relative-symlink-to-libc.patch | 12 +++--- ...ir-and-libdir-as-default-pathes-to-l.patch | 10 ++--- ...pedefs-for-Elf64_Relr-and-Elf32_Relr.patch | 37 ------------------- meta/recipes-core/musl/musl_git.bb | 7 ++-- 4 files changed, 14 insertions(+), 52 deletions(-) delete mode 100644 meta/recipes-core/musl/musl/0003-elf.h-add-typedefs-for-Elf64_Relr-and-Elf32_Relr.patch diff --git a/meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch b/meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch index 8b097f32768..06ab27f0eb4 100644 --- a/meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch +++ b/meta/recipes-core/musl/musl/0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch @@ -1,4 +1,4 @@ -From f95b6fd0475a95c00e886219271cb5c93838e3c3 Mon Sep 17 00:00:00 2001 +From 665ecc610c261d5e98710aa0c6ccf6e4991eaf58 Mon Sep 17 00:00:00 2001 From: Amarnath Valluri Date: Wed, 18 Jan 2017 16:14:37 +0200 Subject: [PATCH 1/2] Make dynamic linker a relative symlink to libc @@ -35,7 +35,7 @@ index e8cc4436..466d9afd 100644 install-libs: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME),) diff --git a/tools/install.sh b/tools/install.sh -index d913b60b..b6a7f797 100755 +index 855a8ca2..a2e6a5eb 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -6,18 +6,20 @@ @@ -61,15 +61,15 @@ index d913b60b..b6a7f797 100755 m) mode=$OPTARG ;; ?) usage ;; esac -@@ -48,7 +50,7 @@ trap 'rm -f "$tmp"' EXIT INT QUIT TERM HUP - umask 077 +@@ -49,7 +51,7 @@ umask 077 if test "$symlink" ; then + umask 000 -ln -s "$1" "$tmp" +ln $symlinkflags "$1" "$tmp" + umask 077 else cat < "$1" > "$tmp" - chmod "$mode" "$tmp" -- -2.37.2 +2.43.0 diff --git a/meta/recipes-core/musl/musl/0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch b/meta/recipes-core/musl/musl/0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch index 59bfae5a27c..04630b32ee9 100644 --- a/meta/recipes-core/musl/musl/0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch +++ b/meta/recipes-core/musl/musl/0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch @@ -1,4 +1,4 @@ -From 3cce8716c6c3ae2e0c835caeac3780ec35090b2d Mon Sep 17 00:00:00 2001 +From e27de983ef70257ca1fd7f5096eea41613612ecf Mon Sep 17 00:00:00 2001 From: Serhey Popovych Date: Tue, 11 Dec 2018 05:44:20 -0500 Subject: [PATCH 2/2] ldso: Use syslibdir and libdir as default pathes to @@ -36,10 +36,10 @@ index 466d9afd..d2f458fa 100644 LDFLAGS_ALL = $(LDFLAGS_AUTO) $(LDFLAGS) diff --git a/ldso/dynlink.c b/ldso/dynlink.c -index cc677952..b0e8815b 100644 +index 324aa859..7d3ab44c 100644 --- a/ldso/dynlink.c +++ b/ldso/dynlink.c -@@ -29,6 +29,8 @@ +@@ -35,6 +35,8 @@ static size_t ldso_page_size; #define realloc __libc_realloc #define free __libc_free @@ -48,7 +48,7 @@ index cc677952..b0e8815b 100644 static void error_impl(const char *, ...); static void error_noop(const char *, ...); static void (*error)(const char *, ...) = error_noop; -@@ -1097,7 +1099,7 @@ static struct dso *load_library(const char *name, struct dso *needed_by) +@@ -1159,7 +1161,7 @@ static struct dso *load_library(const char *name, struct dso *needed_by) sys_path = ""; } } @@ -58,5 +58,5 @@ index cc677952..b0e8815b 100644 } pathname = buf; -- -2.37.2 +2.43.0 diff --git a/meta/recipes-core/musl/musl/0003-elf.h-add-typedefs-for-Elf64_Relr-and-Elf32_Relr.patch b/meta/recipes-core/musl/musl/0003-elf.h-add-typedefs-for-Elf64_Relr-and-Elf32_Relr.patch deleted file mode 100644 index 45d40cd5b46..00000000000 --- a/meta/recipes-core/musl/musl/0003-elf.h-add-typedefs-for-Elf64_Relr-and-Elf32_Relr.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 65b0ac0d998bf0f36924a7c27ed9e702b2a5a453 Mon Sep 17 00:00:00 2001 -From: Violet Purcell -Date: Sat, 4 Nov 2023 12:09:20 -0400 -Subject: [PATCH] elf.h: add typedefs for Elf64_Relr and Elf32_Relr - -These were overlooked when DT_RELR was added in commit -d32dadd60efb9d3b255351a3b532f8e4c3dd0db1, potentially breaking -software that treats presence of the DT_RELR macro as implying they -exist. - -Upstream-Status: Backport [1.2.5] - -Signed-off-by: Zang Ruochen - ---- - include/elf.h | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/include/elf.h b/include/elf.h -index 23f2c4bc..72d17c3a 100644 ---- a/include/elf.h -+++ b/include/elf.h -@@ -558,6 +558,11 @@ typedef struct { - - - -+typedef Elf32_Word Elf32_Relr; -+typedef Elf64_Xword Elf64_Relr; -+ -+ -+ - #define ELF32_R_SYM(val) ((val) >> 8) - #define ELF32_R_TYPE(val) ((val) & 0xff) - #define ELF32_R_INFO(sym, type) (((sym) << 8) + ((type) & 0xff)) --- -2.25.1 - diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 324269a9687..63b2038e4be 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -4,16 +4,15 @@ require musl.inc inherit linuxloader -SRCREV = "79bdacff83a6bd5b70ff5ae5eb8b6de82c2f7c30" +SRCREV = "0784374d561435f7c787a555aeab8ede699ed298" -BASEVER = "1.2.4" +BASEVER = "1.2.5" PV = "${BASEVER}+git" -SRC_URI = "git://git.etalabs.net/git/musl;branch=master;protocol=https \ +SRC_URI = "git://git.musl-libc.org/musl;branch=master \ file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \ file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \ - file://0003-elf.h-add-typedefs-for-Elf64_Relr-and-Elf32_Relr.patch \ " S = "${WORKDIR}/git" From patchwork Mon Aug 26 17:43:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 48244 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 03F08C54732 for ; Mon, 26 Aug 2024 17:43:34 +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.58156.1724694208506031253 for ; Mon, 26 Aug 2024 10:43:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=K+m6OM2q; 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-20203988f37so44784425ad.1 for ; Mon, 26 Aug 2024 10:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724694208; x=1725299008; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=z6NDW9LuRcsXOj767e2HvsjOO6lwB0MHZZPTGksN9BY=; b=K+m6OM2q7NAksIGJ3mwaQRx+LM4Li/OPO+lnuBwKx/Zl6eIdbpY54NszFqGHjH85tf XOUpvObVVmQhlRrysxoc+A2c/PxiFhpmRq4V7NOHJeCxawHVGK94TzV2R4Tuj/3EZHL0 Q3lyGnDACOiZh0hCdAJ5+w5hW3N+TDwGhYOHCtTbkmTr8GZZLah5ueR6eVKTZfk4Gujf 139CyPcesvtB+mUh8cZB8/KrAusqKNSjkvXM1gvvnt6a+YcLTE6MlBBs6YEUsR06hCV5 o+vKy5KF0AyMWNs9yv+V95HhIu7QThZ6ivY5uq6pWT+6J0GSWEhnUwOmhwPVvB2WAsdQ 4Xmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724694208; x=1725299008; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z6NDW9LuRcsXOj767e2HvsjOO6lwB0MHZZPTGksN9BY=; b=P44UuRGT9EwG+jQjh7smKhK6TAvcnifmLaVXFAy72G7nlbSNPmwO/z0ThO/SN7hHoL qjSf4/6RAfl5zRSdTCDIspNURtEOXPKCX52EX1iI2yeeYRvk0ImUSEM12aEyaiwT9hTH lbMmNhDHfCzYMdE4R1/K26c93DCy6S0i2aM/5D0RcmiZdyPn1e+6cx5nuxbWS9xMadyC 8PWoLTHih8rzVxEGwDdw+leXYgKtqay57cQwuq9hSm11yMXtDG07pgbpEjJ/R9HYRVuN yjSZz+iQ21xXLgRNnesBbA1dsZqFFfvggxncthm2AgMzwk/ZI46BPOtUkd5QGXW9qhpo 0rUg== X-Gm-Message-State: AOJu0YwO8/Gck5lB0X5yOyZKNpiZlfkKeTkXS2SnrktTM6fsDG9cgfaa /q8Kg/qBhMsj1cefcHV+tUTFVnl8ygb9idrhi3KTjA9dsddywIQbVlTfzw== X-Google-Smtp-Source: AGHT+IGHE3uFGRij1B8qhgEr1BHEQB6WWQ5VCtrhFgd+hV8Ok/RdhzAy9LlInS2k8VioxP4wwI+zvQ== X-Received: by 2002:a17:902:e74f:b0:1fb:7e13:a7c5 with SMTP id d9443c01a7336-2039e4f1d0dmr161835135ad.45.1724694207647; Mon, 26 Aug 2024 10:43:27 -0700 (PDT) Received: from apollo.localdomain ([2601:646:9d80:4380::2696]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20395ef904dsm56933625ad.31.2024.08.26.10.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2024 10:43:26 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH v2 4/4] musl: Upgrade to latest tip of trunk Date: Mon, 26 Aug 2024 10:43:22 -0700 Message-ID: <20240826174322.2938481-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240826174322.2938481-1-raj.khem@gmail.com> References: <20240826174322.2938481-1-raj.khem@gmail.com> MIME-Version: 1.0 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, 26 Aug 2024 17:43:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/203769 Bring following changes on top of 1.2.5 * dd1e63c3 syslog: revert LOG_FAC/LOG_FACMASK changes * 008f737d siglongjmp: document why this function just calls longjmp * 947b4574 inet_ntop: fix the IPv6 leading zero sequence compression * 50ab8306 dynlink: avoid copying to temp buffer in get_lfs64 * 1b97d006 sys/epoll.h: add epoll ioctls * ab31e9d6 getusershell: skip blank lines and comments * 53ac44ff dynlink: fix get_lfs64() with posix_fallocate64 * 895736d4 syslog: fix incorrect LOG_MAKEPRI and LOG_FAC[MASK] macros * 05ce67fe add renameat2 linux syscall wrapper * 00799729 fix mismatched type in posix_getdents definition * cbf59dd6 aarch64 crti.o: fix alignment of _init/_fini * 84015cee fix typo that broke sys/reg.h and sys/user.h * 1b0d4851 implement posix_getdents adopted for next issue of POSIX * 2c124e13 stdint.h: derive limits from __LONG_MAX, use common fast16 types * 7019fbe1 sys/user.h: derive __WORDSIZE from __LONG_MAX * e709a6f0 sys/reg.h: derive __WORDSIZE from __LONG_MAX * 29b216b2 unistd.h: derive ILP32/LP64 macros from __LONG_MAX instead of arch bits * 0dfa1d8c unify bits/stat.h for all archs sharing a common definition * ef600888 align aarch64, riscv64, loongarch64 stat structure padding type * 6f666231 ldso: fix non-functional fix to early dynamic PAGE_SIZE access * fced99e9 strptime: implement conversion specifiers adopted for next POSIX issue * 3f9d4224 printf decimal integer formatting: shave off one division * a23cf8f9 riscv mcontext_t/sigcontext: use __aligned__ instead of aligned * cbf1c7b6 add missing STATX_ATTR_* macros omitted when statx was added * 3f49203c initgroups: do not artificially limit number of supplementary groups * 24ebbbde printf: fix edge case where hex float precision was not honored * e3b0ace5 complex: fix comment in cacosh * 9683bd62 math: fix fma(x,y,0) when x*y rounds to -0 * 5370070f fix pwrite/pwritev handling of O_APPEND files * bdc9a9ff uio.h: add RWF_NOAPPEND flag for pwritev2 * 7ada6dde iconv: fix missing bounds checking for shift_jis decoding * fd7d0185 add missing inline keyword on default a_barrier definition * b5121e2e iconv: add aliases for GBK * ca6f46af iconv: add euro symbol to GBK as single byte 0x80 Signed-off-by: Khem Raj --- v2: No changes meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 63b2038e4be..e3a8dff7d5c 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -4,7 +4,7 @@ require musl.inc inherit linuxloader -SRCREV = "0784374d561435f7c787a555aeab8ede699ed298" +SRCREV = "dd1e63c3638d5f9afb857fccf6ce1415ca5f1b8b" BASEVER = "1.2.5"