AW: segmentation fault of dynamic executables with ld-uClibc.so.0 from0.9.29 on mipsel

2007-06-01 Thread Carsten Lange
I used LD_DEBUG=all ./app but nothing was shown at all. Investigating the code shows that this functionality is disabled for __mips__ anyway. ... snip from dl-string.h /* The following macros may be used in dl-startup.c to debug * ldso before ldso has fixed itself up to make function calls */

Re: [PATCH] Fix mips readahead, posix_fadvise, posix_fadvise64

2007-06-01 Thread Rob Landley
On Thursday 31 May 2007 4:22 am, Mike Frysinger wrote: On Friday 25 May 2007, Atsushi Nemoto wrote: Current MIPS readahead(), posix_fadvise(), posix_fadvise64() do not match with kernel on all ABIs. On O32 ABI, a padding is needed before a long long argument. On N32/N64, a long long

Re: segmentation fault of dynamic executables with ld-uClibc.so.0 from 0.9.29 on mipsel

2007-06-01 Thread Rob Landley
On Thursday 31 May 2007 5:01 am, Carsten Lange wrote: Hi all, I used buildroot to build 3 toolchains for mipsel with different uClibc versions and same versions of binutils and gcc: binutils version 2.17 gcc version 4.1.2 kernel-headers 2.4.25 uClibc versions 0.9.28 0.9.28.3

Re: [Fwd: Re: AW: segmentation fault of dynamic executables with ld-uClibc.so.0 from0.9.29 on mipsel]

2007-06-01 Thread Rob Landley
On Friday 01 June 2007 6:07 am, Carmelo AMOROSO wrote: Why do you need to link it statically if the problem seems to be in ld.so? Because if gdbserver is not linked statically, it needs ld.so to run, and ld.so is segfaulting? This is just a guess. Rob

Re: [PATCH] Fix mips readahead, posix_fadvise, posix_fadvise64

2007-06-01 Thread Yann E. MORIN
Hello all! On Friday 01 June 2007 18:58, Rob Landley wrote: Any thoughts on a 0.9.29.1? I'm all for it. Some nice fixes are already in: r18616: Fix arm mmap when using mmap2 syscall. (...) r18676: Fix ARM EABI signal unwinding to accomodate signal frame layout (...) r18677: Fix MIPS syscall()