2016-03-07 Hongjiu Zhang * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat to lstat64. Index: glibc-2.23/elf/sln.c =================================================================== --- glibc-2.23.orig/elf/sln.c +++ glibc-2.23/elf/sln.c @@ -164,11 +164,11 @@ makesymlinks (const char *file) static int makesymlink (const char *src, const char *dest) { - struct stat stats; + struct stat64 stats; const char *error; /* Destination must not be a directory. */ - if (lstat (dest, &stats) == 0) + if (lstat64 (dest, &stats) == 0) { if (S_ISDIR (stats.st_mode)) {