Bug 13851 - timespec on 32bit systems requires some toolchain header minimums if using a kernel over 5.6+
Summary: timespec on 32bit systems requires some toolchain header minimums if using a ...
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: Arnout Vandecappelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-15 15:05 UTC by Matt Weber
Modified: 2024-06-15 14:58 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!