[uClibc]Re: pread/pwrite broken w/o large file support
Ronald Wahl
rwa at peppercon.com
Fri Nov 15 14:56:58 UTC 2002
On Fri, 15 Nov 2002 07:45:50 -0700, Erik Andersen wrote:
> On Fri Nov 15, 2002 at 03:42:21PM +0100, Ronald Wahl wrote:
>> On Fri, 15 Nov 2002 07:23:24 -0700, Erik Andersen wrote:
>>
>> > On Thu Nov 14, 2002 at 11:27:36AM +0100, Ronald Wahl wrote:
>> >>
>> >> The patch David had sent should be in the archive. I havn't tested this
>> >> code yet since the patch is against an old uclibc.
>>
>> > I majorly reworked the still relevant bits of his patch
>> > and I've got pread and pwrite working on powerpc now.
>>
>> Ahh, thats nice. Thanks!
>> When I remember correctly ftruncate or ftruncate64 was broken too.
> And sendfile64... Can you check them out? I think I have
> them all correct now, but I have only verified pread64/pwrite64.
Ok, I'll try it next week I think.
>> > BTW, it looks like test/ldso/dltest2 now segfaults at exit() on
>> > powerpc. Reverting your change to ldso/libdl/dlib.c cures the
>> > segfault... Got a bit to look into that as well?
>>
>> Ok, I will have look at it ...
> Thanks. This was segfaulting all arches, so for the moment I
> have reverted your change. We'll do need to fixup the
> refcounting, but it looks like you missed some spots and I'm too
> tired now to look into it...
It happens only for libpthread.so; libutil.so works. So I suspect
something special with the pthreads library here. It segfaults even when
__pthread_initialize() is not called.
- ron
More information about the uClibc
mailing list