Re: [Buildroot] [PATCH] package/uclibc: disable SSP support for riscv32
Romain Naour via buildroot <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
Hello Waldemar, All, Le 15/08/2026 à 21:21, Waldemar Brodkorb a écrit : > Hi Romain, > Romain Naour wrote, > >> On modern 32-bit architectures like RISC-V (riscv32), legacy 32-bit >> time syscalls like __NR_gettimeofday are intentionally omitted because >> RV32 implements a strict time64-only ABI to avoid the Year 2038 bug. >> >> But uclibc-ng code [1] is using a direct __NR_gettimeofday syscall that >> is not defined for riscv32. >> >> [1] https://github.com/wbx-github/uclibc-ng/blob/ae4a98f9612c7050b1bceb9c8340fe5ef9345e22/ldso/include/dl-syscall.h#L263 >> >> As a workaround, we have to disable the SSP support for uclibc-ng >> toolchain on riscv32 for now. > > Thanks for your patch. > > I would rather like to fix it inside uClibc-ng like suggested here: > https://lists.buildroot.org/pipermail/buildroot/2026-August/807581.html > https://mailman.openadk.org/mailman3/hyperkitty/list/[email protected]/thread/WIKMWPXJYAPTVVZ2MMZINUJNPIJXBMOE/ Sure, thanks for fixing the issue so fast! Best regards, Romain > > best regards > Waldemar > _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot