Where Is the 32-Bit Glibc Port?
summary
Upstream glibc is adding 64-bit time_t on RV32, making RISC‑V the first 32‑bit architecture with y2038 safety, but it only works with requires Linux 5.4+ kernel headers because a wait4→waitid race is fixed in 5.4. glibc 2.32 adds generic time64 support (ARC landed); RISC‑V patches are ~50% reviewed and targeted for 2.33. Work includes syscalls renaming, struct alignment fixes, converting libc wrappers, and heavy testing (full builds ~12–19 hours).
AI-written summary · about
chapters (9)
- 0:00Western Digital
- 0:31Todays talk
- 1:05GNU C Library (glibc)
- 4:4964-bit time_t on 32-bit systems
- 6:43glibc 64-bit time_t
- 12:26glibc 2.32 64-bit time_t status
- 13:13RISC-V 32-bit (RV32) glibc port
- 15:45Current RV32 glibc patch status
- 18:03Benefits of 64-bit time_t for RISC-V
related talks
18mTransparent Checkpointing for Fault Tolerance in RISC-V
35mControl Flow Integrity on RISC-V Linux
36mExploiting Buffer Overflows on RISC-V
19mAn Open Source Approach to System Security
17mHardening Linux and FreeBSD on RISC-V with CHERI
36mExploiting Buffer Overflows on RISC-V
47mA Security RISC? The State of Microarchitectural Attacks on RISC-V
22mEffective Timekeeping in RISC-V Processors: Overview of mtime Design Approaches
