This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
glibc for 32-bit kernel without __ARCH_WANT_TIME32_SYSCALLS
- From: Alistair Francis <alistair23 at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 20 Jun 2019 16:36:29 -0700
- Subject: glibc for 32-bit kernel without __ARCH_WANT_TIME32_SYSCALLS
Hey,
Linux 5.1 has removed the __ARCH_WANT_TIME32_SYSCALLS define for the
RISC-V 32-bit port. This means that glibc (with the latest 32-bit
RISC-V port submission) fails to build as there are a lot of missing
syscalls, __NR_futex is the first one I see.
I looked at adjusting the syscalls to use the new 64-bit versions
(such as __NR_futex64) but this seems to be a large job with a lot of
manual changes. Is there a better way that I should be doing this?
Have any other 32-bit architectures removed
__ARCH_WANT_TIME32_SYSCALLS or are in the process of removing
__ARCH_WANT_TIME32_SYSCALLS?
Alistair