This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc for 32-bit kernel without __ARCH_WANT_TIME32_SYSCALLS
21.06.2019 в 10:01:13 -0700 Alistair Francis написал:
> I'm still stuck with handling the syscalls though. For example there
> is no __NR_clock_gettime syscall for 32-bit RISC-V, although glibc
> relies on it.
>
> I can't see a clean way to use clock_gettime64 on RV32.
https://sourceware.org/ml/libc-alpha/2019-05/msg00661.html
should work for 32-bit RISC-V (with __TIMESIZE == 64 and
__LINUX_KERNEL_VERSION >= 0x050105).