From mboxrd@z Thu Jan 1 00:00:00 1970 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 smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6EAEFC982C0 for ; Fri, 16 Jan 2026 21:32:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 2689884BF3; Fri, 16 Jan 2026 21:32:11 +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 hUZZJUypymrs; Fri, 16 Jan 2026 21:32:10 +0000 (UTC) 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-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 47E7E84BF4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1768599130; bh=XV6L8a5GDs8pQumPxrZzsEUUSj5H3OllmbsZu3HrUfs=; 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=koG14SzuBJ/KEoaiwNPxfwWSI3AQ9Bncmo+7rke1iINAt4dIkPdHzkUAbkZytl8ge I8gKkYKpafn7V2GBT6dbI+oj9Robe+wg6joNzpC68XWFrfrpS0TX/3WnATacF+J5u4 nasbFm8UCpiCBQGTuuqxZ6T4u+IeAAoz7JRrc+gIFd4dakAQNz6WDqoeVBhMxPykA8 5t6sF1z31hRk0m/739AGSGvyaC3RJ2JUlO6t/kkNgbjYB9Pme5cwqaxOL+K9u+Lh/L NpNA4hRIRCDnAHKs82/Iazh76egKiw7lQFUuxUiklTTcdO59SQHQJgbXs9GDMz3m1U BOGYQQ1L578oQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 47E7E84BF4; Fri, 16 Jan 2026 21:32:10 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists1.osuosl.org (Postfix) with ESMTP id DF4DC223 for ; Fri, 16 Jan 2026 21:32:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id CFD3484BF4 for ; Fri, 16 Jan 2026 21:32:08 +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 OjVvpvvCtIKV for ; Fri, 16 Jan 2026 21:32:08 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.246.84.56; helo=smtpout-02.galae.net; envelope-from=thomas.petazzoni@bootlin.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org E4ED184BF3 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org E4ED184BF3 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id E4ED184BF3 for ; Fri, 16 Jan 2026 21:32:07 +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 A54AE1A28C8; Fri, 16 Jan 2026 21:32:05 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 73117606F9; Fri, 16 Jan 2026 21:32:05 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id DAAA610B68E6B; Fri, 16 Jan 2026 22:32:04 +0100 (CET) Date: Fri, 16 Jan 2026 22:32:04 +0100 To: Bernd Kuhls Cc: buildroot@buildroot.org Message-ID: References: <20251220170623.155785-1-bernd@kuhls.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20251220170623.155785-1-bernd@kuhls.net> X-Last-TLS-Session-Version: TLSv1.3 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1768599125; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=blhn12DbmuIL4s0uNuNdv5Itn0KoDpS336/CdKxeiik=; b=kGFr/K1Hl5t0DHvZmchDTguARwuJY9DF/QTK6KfxzYa8pykK7sp8DKPLQuFOPXlbjnUarg aNc7sU4OGnFrIPJ/SA9rkXFYf0iYFZvfydmU+DasvR/WqIGWCndRW+pGucb1fkw79LdV0h I8vD7U/sC2L7KzVRf82rEiX+csWHZ07oK1NGXr5ocHrFOKWG72A0yvkSCHcSMZk9rQ1x2s e6JyCmdS7GaOlo2IsLazd04+vz+HZiv2Bvtcvik7+kfR7iXFG24PScJVKYSBkl8seHrD8w u0AwCJ2GO/3lqP+MIw4amerL54bbxsP0x0+KAk7EID0gPIv7fk4VFXVQBpQl7w== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=kGFr/K1H Subject: Re: [Buildroot] [PATCH 1/4] package/util-linux: Remove -lpthread from uuid.pc for non-threaded builds X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , 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 Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" On Sat, Dec 20, 2025 at 06:06:20PM +0100, Bernd Kuhls wrote: > +define UTIL_LINUX_POST_EXTRACT_FIXUP > + $(SED) 's/-lpthread//' $(@D)/libuuid/uuid.pc.in > +endef > +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) > +UTIL_LINUX_POST_EXTRACT_HOOKS += UTIL_LINUX_POST_EXTRACT_FIXUP > +endif Yerk, this is quite ugly. Why don't you fix the actual problem upstream? Could you try: diff --git a/libuuid/uuid.pc.in b/libuuid/uuid.pc.in index 51929fe80..a40dc6644 100644 --- a/libuuid/uuid.pc.in +++ b/libuuid/uuid.pc.in @@ -7,5 +7,5 @@ Name: uuid Description: Universally unique id library Version: @LIBUUID_VERSION@ Cflags: -I${includedir}/uuid -Libs.private: @SOCKET_LIBS@ -lpthread +Libs.private: @SOCKET_LIBS@ @PTHREAD_LIBS@ Libs: -L${libdir} -luuid (Totally untested) Thanks! Thomas -- 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