On 2026-03-10 2:06 p.m., Alexander Kanavin wrote:
On Tue, 10 Mar 2026 at 18:45, Hemanth Kumar M D via
lists.openembedded.org
<[email protected]> wrote:
+barebox-tools: fix build failure with glibc 2.43
+
+glibc 2.43 introduces linux/openat2.h through the fcntl include chain
+(bits/fcntl-linux.h -> linux/openat2.h). This header expects the
+__u64 type to be defined before inclusion.
+
+In barebox scripts/include/linux/types.h the header <fcntl.h> was
+included before the __u64 typedef, causing build failures such as:
+
+  linux/openat2.h:20:9: error: unknown type name '__u64'
+
+Move the inclusion of <fcntl.h> after the typedef definitions so that
+__u64 and related types are defined before linux/openat2.h is parsed.
+
+Upstream-Status: Pending
This should be submitted upstream, we should try to avoid adding
Pending patches without a clear reason given.

Alex

Hemanth meant to reply saying:

Hi Alex,

Sure, I'll do that but since we're in a hurry to get the glibc-2.43 merged,
I'll keep the existing status and follow-up with a status change next week,
once I've had time to submit a patch to upstream barebox:
https://github.com/barebox/barebox?tab=readme-ov-file#contributing

Right Hemanth ?   :-)

--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233001): 
https://lists.openembedded.org/g/openembedded-core/message/233001
Mute This Topic: https://lists.openembedded.org/mt/118245373/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to