Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@amd.com>
To: "David Nyström" <david.nystrom@est.tech>,
	mathieu.dubois-briand@bootlin.com
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v3] pseudo: Update to 1.99.2 version
Date: Fri, 27 Nov 2026 09:28:29 -0600	[thread overview]
Message-ID: <b88fee85-9692-4641-ba5a-db63b5bf5fa0@amd.com> (raw)
In-Reply-To: <8e691720-8af7-37ce-efb7-bfd1fbbbdba2@est.tech>

Ya, I had no idea about strtol.  I've updated master-next with this version, but I don't have a way to run it across the build system.

@Mathieu Dubois-Briand is this something you can run as a test?

The branch is 'master-next', commit is '3a6fc1521198fd2cbbb63e607e379a653872ca6b'

Changes from the v3 version:

commit 3a6fc1521198fd2cbbb63e607e379a653872ca6b
Author: Mark Hatle <mark.hatle@amd.com>
Date:   Fri Nov 27 09:05:06 2026 -0600

     ports/linux: pseudo_io_uring_seccomp: Fix strtol usage
     
     Suggested by David Nyström on the openembedded-core mailing list.
     
     Thread:
     https://lists.openembedded.org/g/openembedded-core/topic/122456464
     
     Signed-off-by: Mark Hatle <mark.hatle@amd.com>

commit f260db8ad5f5ad1b25f2d9fde7e6fe907f42a345
Author: Mark Hatle <mark.hatle@amd.com>
Date:   Fri Nov 27 09:02:02 2026 -0600

     AGENTS.md: Add rules around __isoc23_* funcs
     
     Make sure that an LLM does not directly generate any functions that may
     be switched to the __isoc23_* versions when _GNU_SOURCE is enabled.
     This will cause problem with glibc 2.38 and later, especially if we're
     re-using a pseudo binary on newer and older systems.
     
     AI-Generated: Use GitHub Copilot
     Signed-off-by: Mark Hatle <mark.hatle@amd.com>


On 11/27/26 8:49 AM, David Nyström wrote:
> 
> 
> On Fri, 27 Nov 2026, Mathieu Dubois-Briand via openembedded-core wrote:
> 
>> On Thu Nov 26, 2026 at 3:15 AM CET, Mark Hatle via openembedded-core wrote:
>>> Changelog from last version:
>>
>> ...
>>
>>> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
>>> ---
>>> V3:
>>> Remove obsolete 0001-makewrappers-Allow-the-wrapper-architecture-to-be-se.patch
>>> missed in the V2 patch and detected by patchtest.
>>>
>>> V2:
>>> Corrects the V1 by removing the makewrappers patch
>>>
>>
>> Hi Mark,
>>
>> Thanks for the new version. Now I can see build errors with other
>> components. I can't remember if we need to do anything specific on
>> pseudo upgrade, do you have any clue about this one?
>>
>> ERROR: Failed to spawn fakeroot worker to run /srv/pokybuild/yocto-worker/qemuarm64-alt/build/layers/openembedded-core/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_7.2.bb:do_install: [Errno 32] Broken pipe
>>
>> I can see that one in most builds, with a few variations.
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/5039
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/10/builds/5059
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/20/builds/5033
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/22/builds/5085
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/60/builds/5071
>> ...
> 
> Hi,
> 
> I wonder if this is a cross machine sstate pseudo-native reuse issue.
> Tried to reprod locally, without success.
> But I did find an inconsistency in glibc version dependencies.
> the io_uring commit is using an unwrapped strtol, which is frowned upon.
> 
> pseudo_io_uring_wanted_mode()
> -       value = strtol(env, &end, 10);
> +       /* _GNU_SOURCE turns this into __isoc23_strtol() on
> +        * glibc 2.38 and later
> +        */
> +       value = pseudo_strtol_wrapper(env, &end, 10);
> 
> 
>> Thanks,
>> Mathieu
>>
>> -- 
>> Mathieu Dubois-Briand, Bootlin
>> Embedded Linux and Kernel engineering
>> https://bootlin.com
>>
>>


  reply	other threads:[~2026-11-27 15:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  2:15 [PATCH v3] pseudo: Update to 1.99.2 version Mark Hatle
2026-11-27  7:08 ` [OE-core] " Mathieu Dubois-Briand
2026-11-27 14:46   ` Mark Hatle
2026-11-27 14:49   ` David Nyström
2026-11-27 15:28     ` Mark Hatle [this message]
2026-11-28 13:11       ` Mathieu Dubois-Briand
     [not found]       ` <18EC379618CDAB37.2026940@lists.openembedded.org>
2026-11-28 20:03         ` Mathieu Dubois-Briand
2026-11-29 22:58           ` Mark Hatle
2026-11-30  6:06             ` Mathieu Dubois-Briand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b88fee85-9692-4641-ba5a-db63b5bf5fa0@amd.com \
    --to=mark.hatle@amd.com \
    --cc=david.nystrom@est.tech \
    --cc=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox