RFC: Applet chrt, _POSIX_PRIORITY_SCHEDULING
maillist-busybox at barfooze.de
Sun Jul 7 13:55:27 UTC 2013
On 07/07/2013 03:34 PM, Harald Becker wrote:
> Hi all,
> I stumbled on a curious message during Busybox build:
> "warning: your system may be foobared"
> This message is trigged by a #warn in chrt.c when
> _POSIX_PRIORITY_SCHEDULING is not defined. As I was trying to
> build with musl I asked for this in #musl IRC channel and got the
> info about Linux failure to build the required interface:
> see http://openwall.com/lists/musl/2013/04/15/3
this glibc bug report describes the problem more accurately:
> Beside triggering the suspicious message Busybox compiled and
> linked fine and some initial tests with chrt seam to work as
> expected. So the message is really confusing, especially without
> reading through source code.
> sh4rm4 suggested to change at least the message to:
> "process scheduling may not behave in conformance with POSIX"
> when _POSIX_PRIORITY_SCHEDULING is not defined.
> ... but remember glibc lies about this problem and defines the
> Macro anyway (value 200809L).
More information about the busybox