rename consolidation question
Steve Ellcey
sellcey@caviumnetworks.com
Tue Dec 13 18:59:00 GMT 2016
On Tue, 2016-12-13 at 16:53 -0200, Adhemerval Zanella wrote:
>
> On 13/12/2016 16:22, Ellcey, Steve wrote:
> >
> > Yury and Adhemerval,
> >
> > I was wondering about the status of the rename consolidation patch
> > is.  I found this string:
> >
> > https://sourceware.org/ml/libc-alpha/2016-10/msg00247.html
> >
> > But I am not sure what the resolution is and what patch we want.
> > I have been doing the wrong thing in my builds so far by defining
> > __ARCH_WANT_RENAMEAT in the ILP32 aarch64 build but I should not
> > be doing that.  If I remove that define then the build fails when
> > compiling rename.c.  I see that yury's branch removes
> > sysdeps/unix/sysv/linux/generic/rename.c and adds
> > sysdeps/unix/sysv/linux/rename.c and
> > sysdeps/unix/sysv/linux/renameat.c.
> > It also removed renameat from
> > sysdeps/unix/sysv/linux/syscalls.list.
> >
> > Is that the patch we need to send to libc-alpha?
> >
> > Steve Ellcey
> I think it would require two simple patches:Â
>
> Â - one to consolidate rename to use either __SYS_rename,
> __SYS_renameat,
> Â Â Â Â or __SYS_renameat2;
> Â - and another one to consolidate renameat to user either
> __SYS_rename
> Â Â Â Â or __SYS_renameat2.
>
> I added a scratch branch for both in my local repo [1]. I will sent
> them upstream and try to get them for next release.
>
> [1] https://github.com/zatrazz/glibc/tree/master-rename
When you say the next release do you mean the one being worked on now
(2.25) or the one after that? Â We need some type of rename patch to
support ILP32 on aarch64 and I am still hoping to get support for ILP32
checked in for 2.25.
Steve Ellcey
More information about the Libc-alpha
mailing list