Bug #2356
closedCheck for cpu_set_t in configure scripts
Description
uClibc doesn't provide cpu_set_t it seems at least someone on IRC was using it and the compiler complained about it.
We should check for it's existance during configure time.
Updated by deif over 12 years ago
icy wrote:
uClibc doesn't provide cpu_set_t it seems at least someone on IRC was using it and the compiler complained about it.
We should check for it's existance during configure time.
Yes, it was me. I forgot to report it.
Compilation continued when I edited 'plugin_core.c' around line 1950 changing '#if defined(LIGHTY_OS_LINUX)' by '#if 0'.
I read somewhere that the versions of uClibc which don't support cpu_set_t are 0.9.28.x and lower.
Lighttpd2 is working fine AFAIK. Static pages, php, fastcgi all work.
I had some problems with mod_dirlist though (seemingly random), but I gave up and replaced it with a PHP script.
Updated by stbuehler over 2 years ago
- Status changed from New to Wontfix
It seems uClibc is quite dead, and I couldn't find any documentation which linux specific APIs they support and in what release (they only list https://uclibc.org/specs.html as standards they aim to support).
Updated by gstrauss over 2 years ago
uClibc is still alive at https://uclibc-ng.org/ and uClibc-ng supports sched_getaffinity()
and sched_setaffinity()
(and has cpu_set_t
) (at least in the latest release (1.0.38) that I looked at)
Another popular embedded libc is musl. musl libc supports sched_getaffinity()
and sched_setaffinity()
(and has cpu_set_t
)
Also available in: Atom