Commit 2cc84e1
committed
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.html1 parent 207a4d7 commit 2cc84e1
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments