[PATCH] spawn: move from librt to libc
Baruch Siach
baruch at tkos.co.il
Wed Jan 15 11:51:04 UTC 2014
Hi uclibc list,
On Wed, Jan 08, 2014 at 08:34:02AM +0200, Baruch Siach wrote:
> This makes uClibc compatible with glibc, and allows gnulib autoconf macros to
> correctly detect posix_spawn support.
In a discussion of a coreutils build failure Mike Frysinger has rejected this
approach (http://article.gmane.org/gmane.comp.lib.gnulib.bugs/33613).
Quoting Mike Frysinger:
> unless POSIX explicitly states that the symbols be in -lc, i don't think
> uClibc is broken. i don't believe POSIX states that (if it does, please point
> out in the docs).
>
> keeping them in -lrt over -lc makes a bit of sense in my mind:
> - the POSIX docs label them as "ADVANCED REALTIME" (ok, ok, maybe i'm
> reaching here as what POSIX calls "realtime" is often not really "realtime"
> related)
> - these funcs are not common (that i've seen). that means always mapping
> them in via libc.so is useless overhead. better to penalize the uncommon.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the uClibc
mailing list