From patchwork Wed Jan 7 17:50:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9392 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4dmbDZ5JBfz3wpl for ; Wed, 07 Jan 2026 17:50:54 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4dmbDY6fwyz7Lx for ; Wed, 07 Jan 2026 17:50:53 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4dmbDY0gYsz3397 for ; Wed, 07 Jan 2026 17:50:53 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4dmbDQ4KySz334V for ; Wed, 07 Jan 2026 17:50:46 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4dmbDP2VJQz795; Wed, 07 Jan 2026 17:50:45 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1767808245; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0zZ0p4Y8npSOX+7YC2RkfF1T9fQles3qMFls4wOtmFE=; b=WTq+xNLMS809uQIgygjK6ad1ftYLJKDDlSIQ0M16QzNhxSv0SQ4Xld5an9CurgmaFVT+K9 JCqyhCG28cVqVGCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1767808245; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0zZ0p4Y8npSOX+7YC2RkfF1T9fQles3qMFls4wOtmFE=; b=lWF283IQVxWv5Tz4lFVys2As1vLev+1nzqfGXFy4DzpMbyU2iSQMUDReIomhpTcHYvPlAr p+H/RB3or99vkFXc8OtIE6z9kl0/PEKq6bt3NsIl6X0LLdKhEiNQP/RCegVPzqc6GhXNyv sXx1iddNu/5sopFcbOZL2AhCqPzcpApDDzOB45c05O3veMplNSuKHwlxdTZ6NBSPYp+LtP XjAvPJsSoy5K7PDsan1mORH2btQtwt+fL7TFhtOTWAd9HNyrWF73BiR9lvpd7V03mRxjcq 58mj7+kPz+UQt+qHUVGiem8OULbnXcigED2XVUccoEg5PKa46/TbJLmz2Hpi/w== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] xz: Update to version 5.8.2 Date: Wed, 7 Jan 2026 18:50:36 +0100 Message-ID: <20260107175037.3765287-10-adolf.belka@ipfire.org> In-Reply-To: <20260107175037.3765287-1-adolf.belka@ipfire.org> References: <20260107175037.3765287-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 5.8.1 to 5.8.2 - Update of rootfile - Changelog 5.8.2 * liblzma: - Fix the build on ARM64 on glibc versions older than 2.24 (2016). They don't have HWCAP_CRC32 in . - Disable CLMUL CRC code when building for 32-bit x86 with old MSVC versions. This avoids a compiler bug. The exact compiler version in which the issue was fixed is unknown, but VS 2022 17.13 (MSVC 19.43.34808) is known to work, so CLMUL CRC on 32-bit x86 is disabled with MSVC versions older than that. * xz: - Add a workaround for Red Hat Enterprise Linux 9 kernel bug which made xz fail with "xz: Failed to enable the sandbox". It only occurs with xz 5.8.0 and 5.8.1 binaries built for other distros. For example, running Debian 13 in a container on RHEL/CentOS 9 would trigger the issue. The bug was introduced in RHEL 9 kernel 5.14.0-603.el9 (2025-07-30) and fixed in 5.14.0-648.el9 (2025-12-05). However, as of writing, the fixed kernel isn't available to RHEL 9 users yet, so including the workaround in this xz release seems reasonable. The workaround will be removed when it's no longer needed. xzdec was also affected by this issue. - On AIX, don't use fsync() on directories because it fails. - Fix the build on Emscripten. - Fix the build on clang-cl on Windows. - Take resource limits (RLIMIT_DATA, RLIMIT_AS, and RLIMIT_VMEM) into account when determining the default memory usage limit for multithreaded mode. This should prevent xz from failing when a resource limit has been set to a value that is less than 1/4 of total RAM. Other memory limits can still trigger the same issue, for example, Linux cgroup v2 memory.max. * Build systems: - When symbol versioning is enabled, pass --undefined-version to the linker if the option is supported. This fixes the build when using LLVM's lld and some liblzma features have been disabled at build time. - ARM64: Fix autodetection of fast unaligned memory access when using GCC and -mstrict-align is in effect. Previously the build systems would incorrectly guess that unaligned access is fast, which would result in much slower binaries than needed. The fix is a workaround for GCC bug 111555; autodetection already worked with Clang. - LoongArch: Autodetect if fast unaligned memory access is supported. This can improve compression speed by 15 % (but not decompression speed). * Translations: - Update the Spanish translation. - Add Swedish man page translations. - Update Italian, Korean, Romanian, Serbian, and Ukrainian man page translations. Signed-off-by: Adolf Belka --- config/rootfiles/common/xz | 27 ++++++++++++++++++++++++++- lfs/xz | 4 ++-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/xz b/config/rootfiles/common/xz index f836d4578..c6b433803 100644 --- a/config/rootfiles/common/xz +++ b/config/rootfiles/common/xz @@ -41,7 +41,7 @@ usr/bin/xzmore #usr/lib/liblzma.la #usr/lib/liblzma.so usr/lib/liblzma.so.5 -usr/lib/liblzma.so.5.8.1 +usr/lib/liblzma.so.5.8.2 #usr/lib/pkgconfig/liblzma.pc #usr/share/doc/xz #usr/share/doc/xz/AUTHORS @@ -262,6 +262,31 @@ usr/lib/liblzma.so.5.8.1 #usr/share/man/sr/man1/xzgrep.1 #usr/share/man/sr/man1/xzless.1 #usr/share/man/sr/man1/xzmore.1 +#usr/share/man/sv +#usr/share/man/sv/man1 +#usr/share/man/sv/man1/lzcat.1 +#usr/share/man/sv/man1/lzcmp.1 +#usr/share/man/sv/man1/lzdiff.1 +#usr/share/man/sv/man1/lzegrep.1 +#usr/share/man/sv/man1/lzfgrep.1 +#usr/share/man/sv/man1/lzgrep.1 +#usr/share/man/sv/man1/lzless.1 +#usr/share/man/sv/man1/lzma.1 +#usr/share/man/sv/man1/lzmadec.1 +#usr/share/man/sv/man1/lzmainfo.1 +#usr/share/man/sv/man1/lzmore.1 +#usr/share/man/sv/man1/unlzma.1 +#usr/share/man/sv/man1/unxz.1 +#usr/share/man/sv/man1/xz.1 +#usr/share/man/sv/man1/xzcat.1 +#usr/share/man/sv/man1/xzcmp.1 +#usr/share/man/sv/man1/xzdec.1 +#usr/share/man/sv/man1/xzdiff.1 +#usr/share/man/sv/man1/xzegrep.1 +#usr/share/man/sv/man1/xzfgrep.1 +#usr/share/man/sv/man1/xzgrep.1 +#usr/share/man/sv/man1/xzless.1 +#usr/share/man/sv/man1/xzmore.1 #usr/share/man/uk #usr/share/man/uk/man1 #usr/share/man/uk/man1/lzcat.1 diff --git a/lfs/xz b/lfs/xz index 1ee1faa52..465a3b183 100644 --- a/lfs/xz +++ b/lfs/xz @@ -24,7 +24,7 @@ include Config -VER = 5.8.1 +VER = 5.8.2 THISAPP = xz-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -45,7 +45,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = f11be3971e181bb49b6a92d3cc07ebb1c6b5fb53bc5d079e0952eed94f069656cffb37a2e2e8f068a5f119c6ef5ee565b3ac9978a5afa24a40d49607d492d176 +$(DL_FILE)_BLAKE2 = 3788b52c41adb4af32a5221b9c497044068343f1489508b90c9fb00188463e1eb3bc9df91b0457f1e9524c5e45dd2c374fd26f535994f04f94d2d200ccc4d85c install : $(TARGET)