From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 4 Jan 2018 11:33:36 +0100 Subject: [Buildroot] [PATCH 1/2] nilfs-utils: need NPTL threads In-Reply-To: <20180104101927.oexxtwusya3wppyk@tarshish> References: <1515060652-22472-1-git-send-email-dev.kurt@vandijck-laurijssen.be> <20180104101927.oexxtwusya3wppyk@tarshish> Message-ID: <20180104113336.6b7ed00a@windsurf.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Thu, 4 Jan 2018 12:19:27 +0200, Baruch Siach wrote: > On Thu, Jan 04, 2018 at 11:10:51AM +0100, Kurt Van Dijck wrote: > > nilfs-utils use clock_nanosleep(), which comes with NPTL threads > > What is your indication that this is the case? In the uClibc-ng config > UCLIBC_HAS_REALTIME is selected by both linuxthreads and NPTL. When > UCLIBC_HAS_REALTIME is enabled, UCLIBC_HAS_ADVANCED_REALTIME is also enabled > by default. UCLIBC_HAS_ADVANCED_REALTIME provides clock_nanosleep(). I haven't looked at it in detail, but: package/blktrace/Config.in: depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep() package/can-utils/Config.in: depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep() package/dvblast/Config.in: depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep() Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com