You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bump Buildroot version and select GCC 14 with binutils 2.42
This commit intends to avoid a recent glibc bug that mistakenly uses 64-bit
time on 32-bit machines.
Consider the Linux `input_event` structure:
struct input_event {
struct timeval time;
__u16 type;
__u16 code;
__s32 value;
};
On RV32 Linux, the total size of this structure should be 16 bytes (8+2+2+4).
However, due to a known glibc bug [2] that incorrectly utilizes the 64-bit time
type, the actual size of the structure becomes 24 bytes (16+2+2+4).
Without this fix, the bug would affect the usage of DirectFB2 in the semu
project. Fortunately, upgrading the toolchain version resolves the issue.
[1] https://lore.kernel.org/lkml/[email protected]/T/
[2] https://sourceware.org/pipermail/libc-help/2024-January/006563.html
0 commit comments