This is the mail archive of the libc-alpha@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: mmap64 with very large offset broken since glibc 2.26 (MIPS64 n32)


El lun., 17 jun. 2019 a las 16:59, Florian Weimer
(<fweimer@redhat.com>) escribió:
>
> * Thomas De Schampheleire:
>
> > El jue., 13 jun. 2019 a las 18:49, Joseph Myers
> > (<joseph@codesourcery.com>) escribió:
> >>
> >> On Thu, 13 Jun 2019, Andreas Schwab wrote:
> >>
> >> > IIUC n32 already uses long long for syscall arguments, and it uses the
> >> > mmap syscall with an unshifted offset.
> >>
> >> Yes, the n32 syscall ABI generally matches the function calling ABI, with
> >> 64-bit arguments in a single register.  See the commit message for commit
> >> 5163b4b76f61e361f0f4bbe3b96732b12e5c9b1a for more discussion of the mmap
> >> interfaces for MIPS.
> >
> > Should I open a bugzilla bug to track this further, or do you prefer
> > to continue in this mail thread?
>
> Both. 8-) Since this is a user-visible bug, we need to track this
> Bugzilla.  But we can discuss the right solution here.

Thanks, I opened this bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=24699

>
> Would you be able to test a patch if one of us blindly writes one?

Normally I would say yes for toolchains I build myself. For these I
use crosstool-ng.

In this case, the toolchain is provided by Marvell and I don't have
the build environment at hand. I asked the support team for it,
hopefully will get it soon.

How do you normally test toolchains for a given architecture? Do you
have build scripts somewhere?

Thanks,
Thomas


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