mip64el, RHEL6, sendfile64 not implemented

Carlos O'Donell carlos@systemhalted.org
Tue Nov 20 16:12:00 GMT 2012


On Mon, Nov 19, 2012 at 8:35 PM,  <yili0568@gmail.com> wrote:
> On Thu, Nov 15, 2012 at 09:00:47PM -0500, Carlos O'Donell wrote:
>> On Thu, Nov 15, 2012 at 8:37 PM,  <yili0568@gmail.com> wrote:
>> > It would make sense for someone to go through everything in
>> > sysdeps/unix/sysv/linux/wordsize-64, with reference to the MIPS syscall
>> > interface, to work out what is correct and what is optimal for both n64
>> > and n32 for each function.
>> >
>> > I've test the interface of sendfile64 and sendfiel used with assembly
>> > language, which works well.
>>
>> OK, I've double checked a local MIPS64 build I have and I can confirm that
>> this is a glibc issue. Nobody has wired up sendfile64 to be an alias of
>> sendfile.
>>
>> Try adding:
>> sendfile        -       sendfile        i:iipi  sendfile        sendfile64
>>
>> To the file ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
>>
>> Does that help?
>>
>> I haven't verified if the types are correct, but it might just work.
>>
>> Cheers,
>> Carlos.
> I've repacked the rpm. Unfortunately, sendfile64 not works all the same.
>

You need to look at the build logs and make sure a wrapper is being
generated for sendfile64, if it is not then you need to look into why
it isn't being generated.

I suggest filing a bug for this if you haven' yet, that way we can
track the issue.

Cheers,
Carlos.



More information about the Libc-help mailing list