[Buildroot] [PATCH 1/2] nilfs-utils: need NPTL threads

Kurt Van Dijck dev.kurt at vandijck-laurijssen.be
Fri Jan 5 10:17:08 UTC 2018


Hey,

[...]
> > > > > Yann, do you remember the reason why "clock_nanosleep() is only 
> > > > > availabe with NPTL" as commit ec875d9bf9b183 says?
[...]
> The UCLIBC_HAS_ADVANCED_REALTIME help text says that this options enables 
> clock_nanosleep(). But with current code you must have NPTL enabled for 
> clock_nanosleep(). So the help text is not correct.
> 
> This also means that architectures lack NPTL support can't have 
> clock_nanosleep() at all. Is there a reason for that?

I share the concern, I appears that a shortcut has been taken in the
uClibc configuration.

OTOH, the topic of this thread has drifted away.
From the nilfs-utils point of view, depending on NPTL is necessary
today, so the patch stands.
I propose to start a different thread, and merge this patch for
nilfs-utils. Doing so would fix the current build problems,
and when the uclibc problem eventually resolves, nilfs-utils too will be
patched to not depend on NPTL.

What do you think about that?

Kurt


More information about the buildroot mailing list