This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: build glibc without support for utimensat/futimens and epoll?
On Thu, Mar 29, 2018 at 10:43:40AM +0200, Florian Weimer wrote:
> On 03/23/2018 10:15 PM, Carlos O'Donell wrote:
> >You cannot remove functions from glibc, they are part of the ABI and API.
>
> If that's the case, then why are you working on the sysroot linkage
> model? 8-)
>
> Ben, you could patch glibc to remove the functions from the
> installed header files, and turn them into compat symbols. Then
> application configure checks will not be able to see this functions,
> but your glibc will still be ABI-compatible with any glibc of the
> same version.
>
> If that's too much work, you need to build an older glibc instead.
>
But probably a better solution is to mount old machine root with sshfs
and do everything on new machine.
Doing opposite of running perl/python from old machine via ssh is also
possible if you do sshfs and accept different paths. It has bigger
overhead to run than previous option.