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 Tue, Nov 20, 2012 at 11:12:37AM -0500, Carlos O'Donell wrote:
> 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.
> 
I've filed the bug, I've attach the build log of glibc-2.12.1.src.rpm,
if neccessary, I can attach the glibc-2.12.1.src.rpm, whose size is 
17M.
Bug ID is 14822.
http://sourceware.org/bugzilla/buglist.cgi?quicksearch=sendfile64&list_id=7234
> Cheers,
> Carlos.


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