public interface LinuxLibC extends UnixLibC {
public int __fxstat(int version, int fd, @Out @Transient FileStat stat);
public int __lxstat(int version, CharSequence path, @Out @Transient FileStat stat);
public int __lxstat(int version, @NulTerminate @In ByteBuffer path, @Out @Transient FileStat stat);
public int __xstat(int version, CharSequence path, @Out @Transient FileStat stat);
public int __xstat(int version, @NulTerminate @In ByteBuffer path, @Out @Transient FileStat stat);
public int __fxstat64(int version, int fd, @Out @Transient FileStat stat);
public int __lxstat64(int version, CharSequence path, @Out @Transient FileStat stat);
public int __lxstat64(int version, @NulTerminate @In ByteBuffer path, @Out @Transient FileStat stat);
public int __xstat64(int version, CharSequence path, @Out @Transient FileStat stat);
public int __xstat64(int version, @NulTerminate @In ByteBuffer path, @Out @Transient FileStat stat);
public int posix_fadvise(int fd, @off_t long offset, @off_t long len, int advice);
}
for example, __fxstat64 exits in GLIBC 2.27,
loongson@loongson-pc:~$ nm -D /usr/lib/loongarch64-linux-gnu/libc.so.6 | grep lxstat
00000000000ce150 T __lxstat
00000000000ce150 T __lxstat64
for example, __fxstat64 exits in GLIBC 2.27,
but don't exits in GLIBC 2.36
how to solve test failed with GLIBC 2.36?