Re: [PATCH V2] inet:rpc: fix build in !NPTL case

2012-03-26 Thread Carmelo AMOROSO
On 14/03/2012 15.56, Carmelo AMOROSO wrote: __libc_once is not available / needed when multithreading support is not enabled, so authnone_create() calls authnone_create_once() directly. When LT.{old,new} is used instead of NPTL, it needs to explicitly include bits/libc-lock.h to get

Re: stpcpy is Posix-2008, not __USE_GNU.

2012-03-26 Thread Carmelo AMOROSO
On 25/03/2012 7.38, Mike Frysinger wrote: On Friday 16 March 2012 07:06:47 Rob Landley wrote: The standard: http://pubs.opengroup.org/onlinepubs/9699919799/functions/stpcpy.html uClibc's include/string.h: #ifdef __USE_GNU ... /* Copy SRC to DEST, returning the address of the

Re: [patch] ioperm/iopl redefinition on arm

2012-03-26 Thread Bernhard Reutner-Fischer
On Wed, Feb 08, 2012 at 04:24:51PM +0100, Bernhard Reutner-Fischer wrote: On 8 February 2012 01:10, Jason Woodward jason.woodw...@timesys.com wrote: Attached patch fixes this:  LD libuClibc-0.9.33.so libc/libc_so.a(stubs.os): In function `sync_file_range': stubs.c:(.text+0x0): multiple

RE: [PATCH V2] ldso: fix fdpic support broken from prelink patch

2012-03-26 Thread Henderson, Stuart
Please, could you try with this version. Hi, sorry for the delay in replying. it looks good to me. I need to add #include bits/libc-lock.h to libc/inet/rpc/auth_none.c to get master building, but that's not related to your patch I think. Thanks, Stu

Re: uClibc-0.9.33: ARM NPTL static link failure with sigprocmask vs. setjmp

2012-03-26 Thread Bernhard Reutner-Fischer
On Tue, Feb 21, 2012 at 12:34:06PM +0100, Johannes Stezenbach wrote: On Mon, Feb 20, 2012 at 11:00:44PM +0100, Johannes Stezenbach wrote: On Tue, Feb 21, 2012 at 12:11:37AM +0800, Tony Wu wrote: The sigaction, sigprocmask, and sigfillset static link issue has already been addressed in the

Re: sigprocmask and static linking, revisited

2012-03-26 Thread Bernhard Reutner-Fischer
On Tue, Mar 06, 2012 at 11:26:00AM -0500, Joshua Jackson wrote: I am currently working on getting various applications to compile inside of a uClibc based system and am running into the issues mentioned in the post from a year ago: http://lists.uclibc.org/pipermail/uclibc/2011-March/045135.html

Re: [patch] ioperm/iopl redefinition on arm

2012-03-26 Thread Jason Woodward
Bernhard, Attached patch fixes this:  LD libuClibc-0.9.33.so libc/libc_so.a(stubs.os): In function `sync_file_range': stubs.c:(.text+0x0): multiple definition of `ioperm' libc/libc_so.a(ioperm.os):ioperm.c:(.text+0x260): first defined here libc/libc_so.a(stubs.os): In function

RE: [PATCH V2] ldso: fix fdpic support broken from prelink patch

2012-03-26 Thread Filippo ARCIDIACONO
-Original Message- From: Mike Frysinger [mailto:vap...@gentoo.org] Sent: Sunday, March 25, 2012 8:15 AM To: uclibc@uclibc.org Cc: Filippo ARCIDIACONO Subject: Re: [PATCH V2] ldso: fix fdpic support broken from prelink patch On Wednesday 07 March 2012 04:07:01 Filippo

[PATCH] ldso: mark _start hidden

2012-03-26 Thread Mike Frysinger
There's no need to export this symbol, so mark them all hidden. Signed-off-by: Mike Frysinger vap...@gentoo.org --- ldso/ldso/arm/dl-startup.h|1 + ldso/ldso/avr32/dl-startup.h |1 + ldso/ldso/bfin/dl-startup.h |2 ++ ldso/ldso/c6x/dl-startup.h|1 +

Horrible GCC 4.7.0 optimizer bug

2012-03-26 Thread Michael Deutschmann
Thought I should give you guys a warning. GCC 4.7.0 miscompiles uClibc 0.9.33 really badly; almost every significant program segfaults quickly. I've traced down the problem and it is definitely a GCC bug; the uClibc source isn't doing anything wrong. The problem rests in sbrk(). GCC