RISC-V 32-bit glibc port
summary
Adds 64-bit time_t on RV32 so RISC‑V 32‑bit can avoid the 2038 overflow, implements the new 5.1+ year‑2038‑safe syscalls and reworks glibc syscall wrappers, with special handling for wait/waitid and padding/endianness conversions. Upstreaming progresses via RFCs and patches against glibc 2.32, tests fall from ~1000 failures to about 28 failing cases, and each full clean build + test run takes 19‑hour full build/test cycles; port mostly works but needs remaining fixes and kernel 5.4+ features.
AI-written summary · about
chapters (6)
- 0:00Western Digital
- 2:1564-bit time_t on 32-bit systems
- 5:33glibc 64-bit time_t syscall conversion Applies to all 32-bit archs
- 7:07RV32 glibc port
- 8:30Current RV32 glibc status
- 10:35Lessons learnt from upstreaming glibc upstream work is a very slow process
related talks
24mRISC V LLVM: Towards A Production-Ready LLVM-Based Toolchain
21mProduction ready RISC V Support in LLVM Clang 9
26mThe Big-endian RISC-V Linux Adventure
08mPorting and Optimization V8 for RISC-V
21mOpen Source Compiler Tool Chains for RISC V Past, Present and Future
28mLLVM for RISCV
17mRISC-V LLVM State of the Union
18mPreview RISC-V GCC Features and Optimization Improvements for GCC-14
