compiling libtirpc and rpcbind against uclibc-0.9.30.2

2010-02-02 Thread Natanael Copa
Hi, I think the idea was to drop the rpc stuff from uclibc and rely on libtirpc and rpcbind. I have been able to compile libgssglue, heimdal and libtirpc against uclibc but i get a linker error when trying to compile rpcbind. To be able compile libtirpc I had to manually create src/rpcsvc and

Re: 0.9.32.2 build breaks on sparc due to __libc_sigaction.

2010-02-02 Thread Rob Landley
On Tuesday 02 February 2010 00:58:38 Khem Raj wrote: I do not understand this at _all_. Yeah join the club. Thanks for pointing this out. I have no problem with your patch and is what I would have done if I had hit this build error. Still confused why I didn't hit this though...

Re: times(2) misbehaviour

2010-02-02 Thread Julien Boibessot
Joakim Tjernlund a écrit : Oh yes, been there done that :) Most arch's has this bug in linux(ppc in recent 2.6 does not). From my understanding all 32 bits arch that do not have Linux sys_call error codes separated from return values. Not sure I like: + /* Return value (clock_t) -1

Re: times(2) misbehaviour

2010-02-02 Thread Joakim Tjernlund
Julien Boibessot julien.boibes...@free.fr wrote on 2010/02/02 13:46:35: Joakim Tjernlund a écrit : Oh yes, been there done that :) Most arch's has this bug in linux(ppc in recent 2.6 does not). From my understanding all 32 bits arch that do not have Linux sys_call error codes separated

Re: times(2) misbehaviour

2010-02-02 Thread Denys Vlasenko
On Sun, Jan 31, 2010 at 8:33 PM, Julien Boibessot julien.boibes...@free.fr wrote: Hello, after a big bug hunt we also found that the implementation of the times system call in uClibc 0.9.29/0.9.30 is problematic on some 32 bits architectures (arm926 in our case); like it was reported 2 years

Re: times(2) misbehaviour

2010-02-02 Thread Denys Vlasenko
On Tue, Feb 2, 2010 at 2:41 PM, Denys Vlasenko vda.li...@googlemail.com wrote: Alternative (attached) patch simply removes error return check. Please find updated patch attached, and its disassembly diff. Changes: also takes care about time() return value, and removes three checks for

Re: times(2) misbehaviour

2010-02-02 Thread Joakim Tjernlund
On Tue, Feb 2, 2010 at 2:41 PM, Denys Vlasenko vda.li...@googlemail.com wrote: Alternative (attached) patch simply removes error return check. Please find updated patch attached, and its disassembly diff. Changes: also takes care about time() return value, and removes three checks for

Re: Facing issue in dns timeout

2010-02-02 Thread Bernhard Reutner-Fischer
On Tue, Feb 02, 2010 at 03:37:09PM +0100, Denys Vlasenko wrote: configurable paramater according to the resolv.conf file man pages, for the timeout:n and attempts:n in the next releases. options are not implemented, as khem said. If somebody can proof-read attached patch then we could

Re: times(2) misbehaviour

2010-02-02 Thread Denys Vlasenko
On Tue, Feb 2, 2010 at 3:40 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Alternative (attached) patch simply removes error return check. Please find updated patch attached, and its disassembly diff. Changes: also takes care about time() return value, and removes three checks

Re: Possible bug in powerpc/bits/sysdep.h?

2010-02-02 Thread Khem Raj
On Tue, Feb 2, 2010 at 6:15 AM, Denys Vlasenko vda.li...@googlemail.com wrote: Hi Bernhard, In libc/sysdeps/linux/powerpc/bits/sysdep.h: # undef INLINE_SYSCALL # define INLINE_SYSCALL(name, nr, args...)                              \ ... # undef INTERNAL_SYSCALL_DECL # define

Re: Facing issue in dns timeout

2010-02-02 Thread Denys Vlasenko
On Tuesday 02 February 2010 20:05, Bernhard Reutner-Fischer wrote: Looks correct. - reply_timeout = RES_TIMEOUT * 1000; + reply_timeout = _RES_RETRANS * 1000; Since we don't care about precision here, you may well use reply_timeout = _RES_RETRANS * 1024 :)

Re: [git commit master] remove two checks for gettimeofday error

2010-02-02 Thread Khem Raj
On Tue, Feb 2, 2010 at 2:09 PM, Denys Vlasenko vda.li...@googlemail.com wrote: commit: http://git.uclibc.org/uClibc/commit/?id=1043d24e77f82d729996fe8192b078e567b16113 branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master Signed-off-by: Denys Vlasenko vda.li...@googlemail.com

Yet another thing 0.9.30.2 broke that worked in 0.9.30.1

2010-02-02 Thread Rob Landley
libc/string/ffs.c:27:2: error: #error ffs needs rewriting! So armv6 doesn't work, but armv5 does with almost exactly the same .config. And of course bisecting through this repository is almost impossible, because of all the unrelated build breaks. For example, the first stop on bisect dies