Re: [OE-core] [PATCH v3 5/6] barebox-tools: fix build failure with glibc 2.43

2026-03-17 Thread Alexander Kanavin via lists.openembedded.org
On Tue, 17 Mar 2026 at 11:14, Hemanth Kumar M D
 wrote:
> Thanks for forwarding the patch upstream in time.
>
> I’ve just sent the barebox-tools recipe upgrade, so it should become 
> patch-free once that lands.

The Pending patch for ltp has also landed in master, so can you please
file a ticket upstream, and update the Upstream-Status to
Inappropriate [workaround; ticket link]

Alex

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



Re: [OE-core] [PATCH v3 5/6] barebox-tools: fix build failure with glibc 2.43

2026-03-17 Thread Hemanth Kumar M D via lists.openembedded.org


On 13-03-2026 10:45 pm, Ahmad Fatoum wrote:

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

Hi,

On 3/12/26 8:17 PM, Alexander Kanavin via lists.openembedded.org wrote:

On Thu, 12 Mar 2026 at 20:07, Randy MacLeod wrote:


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 ?   :-)

No problem :) Note that v4 also does not address a Pending patch in
ltp. I made a comment to v3.

Thank you Hemanth for your patch. I took the liberty of resending[1]
your patch to the barebox mailing list, so it could make it into today's
v2026.03.0 in time.

The barebox recipe in OE-core should thus become patch free once the
recipe is updated.

[1]:
https://lore.kernel.org/barebox/[email protected]

Cheers,
Ahmad

Hi Ahmad,

Thanks for forwarding the patch upstream in time.

I’ve just sent the barebox-tools recipe upgrade, so it should become 
patch-free once that lands.


Appreciate your help!


Alex






--
Pengutronix e.K.  | |
Steuerwalder Str. 21  |http://www.pengutronix.de/  |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917- |


--
Regards,
Hemanth Kumar M D

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



Re: [OE-core] [PATCH v3 5/6] barebox-tools: fix build failure with glibc 2.43

2026-03-13 Thread Ahmad Fatoum
Hi,

On 3/12/26 8:17 PM, Alexander Kanavin via lists.openembedded.org wrote:
> On Thu, 12 Mar 2026 at 20:07, Randy MacLeod  
> wrote:
> 
>> 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 ?   :-)
> 
> No problem :) Note that v4 also does not address a Pending patch in
> ltp. I made a comment to v3.

Thank you Hemanth for your patch. I took the liberty of resending[1]
your patch to the barebox mailing list, so it could make it into today's
v2026.03.0 in time.

The barebox recipe in OE-core should thus become patch free once the
recipe is updated.

[1]:
https://lore.kernel.org/barebox/[email protected]

Cheers,
Ahmad

> 
> Alex
> 
> 
> 
> 
> 

-- 
Pengutronix e.K.  | |
Steuerwalder Str. 21  | http://www.pengutronix.de/  |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917- |


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



Re: [OE-core] [PATCH v3 5/6] barebox-tools: fix build failure with glibc 2.43

2026-03-12 Thread Alexander Kanavin via lists.openembedded.org
On Thu, 12 Mar 2026 at 20:07, Randy MacLeod  wrote:

> 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 ?   :-)

No problem :) Note that v4 also does not address a Pending patch in
ltp. I made a comment to v3.

Alex

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



Re: [OE-core] [PATCH v3 5/6] barebox-tools: fix build failure with glibc 2.43

2026-03-12 Thread Randy MacLeod via lists.openembedded.org

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
 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  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  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]]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v3 5/6] barebox-tools: fix build failure with glibc 2.43

2026-03-10 Thread Alexander Kanavin via lists.openembedded.org
On Tue, 10 Mar 2026 at 18:45, Hemanth Kumar M D via
lists.openembedded.org
 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  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  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]]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH v3 5/6] barebox-tools: fix build failure with glibc 2.43

2026-03-10 Thread Hemanth Kumar M D via lists.openembedded.org
From: Hemanth Kumar M D 

glibc 2.43 introduces linux/openat2.h through the fcntl include chain
(bits/fcntl-linux.h -> linux/openat2.h) which expects __u64 to be
defined before inclusion. Move  in barebox scripts/include/
linux/types.h to after the typedef definitions to fix the build.

Signed-off-by: Hemanth Kumar M D 
---
 meta/recipes-bsp/barebox/barebox-tools.bb |  2 +
 ...x-tools-fix-glibc-2.43-openat2-build.patch | 43 +++
 2 files changed, 45 insertions(+)
 create mode 100644 
meta/recipes-bsp/barebox/files/0001-barebox-tools-fix-glibc-2.43-openat2-build.patch

diff --git a/meta/recipes-bsp/barebox/barebox-tools.bb 
b/meta/recipes-bsp/barebox/barebox-tools.bb
index eb327306d9..1459f48db2 100644
--- a/meta/recipes-bsp/barebox/barebox-tools.bb
+++ b/meta/recipes-bsp/barebox/barebox-tools.bb
@@ -2,6 +2,8 @@ SUMMARY = "barebox bootloader tools"
 
 require barebox-common.inc
 
+SRC_URI += "file://0001-barebox-tools-fix-glibc-2.43-openat2-build.patch"
+
 LICENSE = "GPL-2.0-only"
 
 DEPENDS = "bison-native flex-native libusb1"
diff --git 
a/meta/recipes-bsp/barebox/files/0001-barebox-tools-fix-glibc-2.43-openat2-build.patch
 
b/meta/recipes-bsp/barebox/files/0001-barebox-tools-fix-glibc-2.43-openat2-build.patch
new file mode 100644
index 00..2ff7cb82a6
--- /dev/null
+++ 
b/meta/recipes-bsp/barebox/files/0001-barebox-tools-fix-glibc-2.43-openat2-build.patch
@@ -0,0 +1,43 @@
+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  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  after the typedef definitions so that
+__u64 and related types are defined before linux/openat2.h is parsed.
+
+Upstream-Status: Pending
+
+Signed-off-by: Hemanth Kumar M D 
+---
+
+ scripts/include/linux/types.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/scripts/include/linux/types.h b/scripts/include/linux/types.h
+index 5b01333..33cea19 100644
+--- a/scripts/include/linux/types.h
 b/scripts/include/linux/types.h
+@@ -4,7 +4,6 @@
+ #include 
+ #include 
+ #include 
+-#include 
+
+ typedef uint64_t __u64;
+ typedef int64_t __s64;
+@@ -15,6 +14,8 @@ typedef int16_t __s16;
+ typedef uint8_t __u8;
+ typedef int8_t __s8;
+
++#include 
++
+ #ifndef __linux__
+ typedef long long loff_t;
+ #endif
-- 
2.49.0


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