Bug 13851

Summary: timespec on 32bit systems requires some toolchain header minimums if using a kernel over 5.6+
Product: buildroot Reporter: Matt Weber <matthew.weber>
Component: OtherAssignee: Arnout Vandecappelle <arnout>
Status: RESOLVED MOVED    
Severity: normal CC: buildroot, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Matt Weber 2021-06-15 15:05:42 UTC
The header mismatch seems like a dependency Buildroot could check to prevent hidden time bugs where the kernel/glibc are all good(kernel 5.6+ and Glibc 2.32+), but someone uses old toolchain headers < 5.6 resulting in the application using a 32bit timespec at runtime.

https://stackoverflow.com/questions/14361651/is-there-any-way-to-get-64-bit-time-t-in-32-bit-programs-in-linux/60709400#60709400
Comment 1 Yann E. MORIN 2024-06-15 14:58:54 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!