buildroot/package/unscd/Config.in
Fabrice Fontaine 34173da168 package/unscd: disable on riscv32
unscd unconditionally uses __NR_clock_gettime which will raise the
following build failure on riscv32:

nscd-0.54.c:339:14: error: '__NR_clock_gettime' undeclared (first use in this function); did you mean 'clock_gettime'?
  339 |  if (syscall(__NR_clock_gettime, CLOCK_MONOTONIC, &ts))
      |              ^~~~~~~~~~~~~~~~~~
      |              clock_gettime

Fixes:
 - http://autobuild.buildroot.org/results/eb77b18f268d8e59c407f757662117a33d3f9ee3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-06-01 22:32:10 +02:00

28 lines
926 B
Plaintext

config BR2_PACKAGE_UNSCD
bool "unscd"
depends on !BR2_RISCV_32
depends on BR2_TOOLCHAIN_USES_GLIBC
help
Micro Name Service Caching Daemon
A daemon which handles passwd, group and host lookups for
running programs and caches the results for the next query.
You only need this package if you are using slow Name Services
like LDAP, NIS or NIS+.
This particular NSCD is a complete rewrite of the GNU glibc
nscd which is a single threaded server process which offloads
all NSS lookups to worker children; cache hits are handled by
the parent, and only cache misses start worker children,
making the parent immune to resource leaks, hangs, and crashes
in NSS libraries.
It should mostly be a drop-in replacement for existing
installs using nscd.
http://busybox.net/~vda/unscd
comment "unscd needs a glibc toolchain"
depends on !BR2_RISCV_32
depends on !BR2_TOOLCHAIN_USES_GLIBC