On 1/4/21 9:03 AM, Adhemerval Zanella wrote: > -# define __lstat64(version, file, buf) lstat (file, buf) > +# define __lxstat64(version, file, buf) lstat (file, buf) That change isn't quite right for the !_LIBC case, since it doesn't define the __stat64 macro and it defines __lstat64 with the wrong API. I installed the attached patch into Gnulib, which should do the change right for both Gnulib and glibc, the idea being that the Gnulib and glibc source files can be identical.