From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77273606A31C for ; Sat, 28 Nov 2026 18:31:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=buildroot.org header.i=@buildroot.org header.a=rsa-sha256 header.s=default header.b=ECtXt/kK Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4493B80E2C; Sat, 28 Nov 2026 18:31:39 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id gPIdeeDRSc5C; Sat, 28 Nov 2026 18:31:36 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org 68A4E80E2A Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1795890696; b=MSKYGLvH3NEGOW2Q/86DWsiH6ZKGUYvC3Kb5fFh3EOSSG+geI8WVrpCQrUVR6zFa++ph RR+42URiAzln+h0PuTEH4Lg72b34K6gY9MMXNj2tj3Ys1cAywoLWr4ZvELGOrU1aXmbQJ J6T0Mdgf2gi7IkLVd0O5S6T/S0uB5Pw2RWNkWoeX0eKG53G6eqGeG8axMsRrstMwUc+xW jUrTj62bPpoqRsA+bWTSRPTH4cNJHZgeGDZFzjMjELYVWVHXtnj2+614gaLVQex7RGkmr GfJDoy8+eHrpa4nWL4oC4Q0kdI+/3KAEy9Z00YVeSkvAw6A7RYi7586Pnp5XLhxm1bg== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1795890696; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: Received:Received:Date:To:Cc:Message-ID:References:MIME-Version: Content-Disposition:In-Reply-To:X-Last-TLS-Session-Version:Subject: X-BeenThere:X-Mailman-Version:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: Content-Type:Content-Transfer-Encoding:Errors-To:Sender; bh=JqS3a8lDalLNxMv2HQdt/n3FAdcYk9fooDr9Ej+dZ3U=; b=TnLkCtCb5j52l5MZW1SK6fHmadwJ2BkCvtDpfyacmpnTGg741K6nRDfSI82nsBwbBo/E g4Zh0+xep0eADW1vV1BNJhBP6o5/Y+28zqjYMlLdrB4mzg+y/kzkYLwU8GIQh1XH12D2Y YWIbmyF7EdMVVqlZP6lvJGRfjdo/UooZtDw+7hmiqa8xDLHG7Ym70qo/5i6l/mJcDF1QO kGUfMUz1YZLxe17nBa1ejiK3rKaTqV9ue17AWijfk8s1pPmbbysrC3dYX3PkQtbquUfg7 m3+cDq/RAUV94SwJhfREqc2uDw5N8vlggkaTFrab0kreFrJ6o38lf3KrNuoRBKuNqeA== ARC-Authentication-Results: i=1; smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1795890696; bh=JqS3a8lDalLNxMv2HQdt/n3FAdcYk9fooDr9Ej+dZ3U=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=ECtXt/kKQ9724X+qIS3Tt0W+hDC7Z9u7eG1A9cn+H+1EPZJTV97iJq8jdGUPrGwt1 DRUHG4+wWi1o2ut1ZUAp+zRhxTfWUFzIj+YUYKjqHA6BClAz0wtS7ri7znE7RVkFuF N8TJhCrApAkOZNbEK8yGGJKS64jYHi8YfYu7DfCut0UqbFkPoKDnq/3nWvuRnWiYgo UqBdoA4YKO1ud3pNvv2cGvMukIXLQSAupOzNKRaXPWVJRVwUQR9W4Q/D/n4FcPKtUv eS8qFqaJSwl6ZpZrWOfnorVSCBLL7e6U4pZWHzQnKmvfxL49tuglsYhI3nDo8auIyF OrhchcGRPWb2Q== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 68A4E80E2A; Sat, 28 Nov 2026 18:31:36 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists1.osuosl.org (Postfix) with ESMTP id 5E21D472 for ; Sat, 28 Nov 2026 18:31:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 4F02340098 for ; Sat, 28 Nov 2026 18:31:34 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id v9cKWV5xkoAJ for ; Sat, 28 Nov 2026 18:31:33 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org 050154005D Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.246.84.56; helo=smtpout-02.galae.net; envelope-from=thomas.petazzoni@bootlin.com; receiver= Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 050154005D for ; Sat, 28 Nov 2026 18:31:30 +0000 (UTC) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 642101A185F for ; Sat, 28 Nov 2026 18:31:28 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 2C469604C0; Sat, 28 Nov 2026 18:31:28 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BB01511EA00C2; Sat, 28 Nov 2026 19:31:23 +0100 (CET) Date: Sat, 28 Nov 2026 19:31:22 +0100 To: Yegor Yefremov Cc: buildroot@buildroot.org, Brandon Maier Message-ID: References: <20261127115548.2130705-1-yegorslists@googlemail.com> X-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20261127115548.2130705-1-yegorslists@googlemail.com> X-Last-TLS-Session-Version: TLSv1.3 Subject: Re: [Buildroot] [PATCH] package/mtd: UBIFS utils need a toolchain w/ threads X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Archive: List-Post: List-Help: List-Subscribe: , From: Thomas Petazzoni via buildroot Reply-To: Thomas Petazzoni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "buildroot" X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Fri, Nov 27, 2026 at 12:55:48PM +0100, Yegor Yefremov via buildroot wrote: > In mtd-utils 2.3.x, the UBIFS utils (mkfs.ubifs and the new > fsck.ubifs) share the UBIFS code imported from the kernel, which > implements spinlocks, mutexes and rw semaphores with pthread and is > linked with -lpthread. The build therefore fails with toolchains > without threads support: > > ./ubifs-utils/common/spinlock.h:5:10: fatal error: pthread.h: No such file or directory > > Add a dependency on BR2_TOOLCHAIN_HAS_THREADS to mkfs.ubifs, > fsck.ubifs and the hidden option they select. > > This issue has been present since commit 1124bc4b836a ("package/mtd: > bump to version 2.3.1"), as 2.2.1 did not use pthread in the UBIFS > utils. It therefore affects 2026.05 and later, and the 2026.05.x and > 2026.08.x branches. > > Fixes: > https://autobuild.buildroot.org/results/f88b2b560b9a19b0f369dcd5fba034814dd79bde > > Fixes: 1124bc4b836a0f16ce46088f0dd7e595a4d1b2ab ("package/mtd: bump to version 2.3.1") > Assisted-by: Claude:claude-opus-5-5 > Signed-off-by: Yegor Yefremov Applied to master, thanks! Best regards, Thomas Petazzoni -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot