This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mip64el, RHEL6, sendfile64 not implemented


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]