MIPS NPTL patches
Khem Raj
raj.khem at gmail.com
Thu Apr 9 08:10:23 UTC 2009
On Wednesday 08 April 2009 10:21:59 pm Dan E wrote:
> This is the third patch. It moves inclusion of mktemp.c outside of the dependency
> on UCLIBC_HAS_FLOATS. I'm not sure if this is desirable or not, but I am almost
> certain that _any_ reliance on 'mktemp' is a bad thing. NPTL seems to require it.
read comment in ./libpthread/nptl/sem_open.c line 333
> Any way to get out from under it? It's the _only_ reason I have to use UCLIBC_SUSV3_LEGACY
> for uClibc.
moving it to UCLIBC_SUSV3_LEGACY seems ok to me.
>
> ---------- start patch ----------
> Index: uClibc-nptl/libc/stdlib/Makefile.in
> ===================================================================
> --- uClibc-nptl/libc/stdlib/Makefile.in (revision 26031)
> +++ uClibc-nptl/libc/stdlib/Makefile.in (working copy)
> @@ -31,10 +31,14 @@
> ifeq ($(UCLIBC_HAS_FLOATS),y)
> CSRC += drand48.c drand48_r.c erand48.c erand48_r.c
> ifeq ($(UCLIBC_SUSV3_LEGACY),y)
> -CSRC += gcvt.c mktemp.c
> +CSRC += gcvt.c
> endif
> endif
>
> +ifeq ($(UCLIBC_SUSV3_LEGACY),y)
> +CSRC += mktemp.c
> +endif
> +
> # multi source stdlib.c
> CSRC += abs.c labs.c atoi.c atol.c strtol.c strtoul.c _stdlib_strto_l.c \
> qsort.c bsearch.c \
> ---------- end patch ------------
>
--
Khem Raj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090409/8c4575dc/attachment.pgp>
More information about the uClibc
mailing list