From patchwork Tue Jan 2 11:42:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 854521 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z9sd93Q1pz9t3H for ; Tue, 2 Jan 2018 22:43:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2294686FF0; Tue, 2 Jan 2018 11:43:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7g7S0dkrie29; Tue, 2 Jan 2018 11:43:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 71BF986B87; Tue, 2 Jan 2018 11:43:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 60AFC1C02D4 for ; Tue, 2 Jan 2018 11:42:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 595CC877B3 for ; Tue, 2 Jan 2018 11:42:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SYvRfCwVj77R for ; Tue, 2 Jan 2018 11:42:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by whitealder.osuosl.org (Postfix) with ESMTPS id 10BE587787 for ; Tue, 2 Jan 2018 11:42:57 +0000 (UTC) Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id DF67E440022; Tue, 2 Jan 2018 13:42:52 +0200 (IST) From: Baruch Siach To: buildroot@busybox.net Date: Tue, 2 Jan 2018 13:42:23 +0200 Message-Id: <9b6db0c182b7adc0dbc24bf62e9c7464859f5e6c.1514893343.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.15.1 Subject: [Buildroot] [PATCH] nilfs-utils: needs threads support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kurt Van Dijck MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" nilfs-utils uses the sem_* family of functions from the realtime extension. Technically this is not part of pthreads. But in uClibc enabling threads enables also UCLIBC_HAS_REALTIME. Fixes: http://autobuild.buildroot.net/results/c5d/c5d93b6ab5b260fe5db46298b956a9ae765c828a/ http://autobuild.buildroot.net/results/9d6/9d6a248f9acbb58b6c2893de58978c6013332415/ Cc: Kurt Van Dijck Signed-off-by: Baruch Siach Acked-by: Kurt Van Dijck --- package/nilfs-utils/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/nilfs-utils/Config.in b/package/nilfs-utils/Config.in index 2763af54fd24..0c6b7a0ce861 100644 --- a/package/nilfs-utils/Config.in +++ b/package/nilfs-utils/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_NILFS_UTILS bool "nilfs-utils" + depends on BR2_TOOLCHAIN_HAS_THREADS # sem_open() depends on BR2_USE_MMU # util-linux libmount, libblkid select BR2_PACKAGE_UTIL_LINUX_LIBUUID select BR2_PACKAGE_UTIL_LINUX_LIBBLKID @@ -9,3 +10,6 @@ config BR2_PACKAGE_NILFS_UTILS Tools for creating and managing NILFS2 filesystems. https://github.com/nilfs-dev/nilfs-utils + +comment "nilfs-utils needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS