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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#232808): https://lists.openembedded.org/g/openembedded-core/message/232808 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]] -=-=-=-=-=-=-=-=-=-=-=-
