Unfortunate interaction of glibc-2.44 and gnulib regarding posix_spawn_file_actions_addchdir => infinite recursion
Sam James
sam@gentoo.org
Sun Jul 26 13:53:34 GMT 2026
Collin Funk <collin.funk1@gmail.com> writes:
> Xi Ruoyao <xry111@xry111.site> writes:
>
>> It can be worked around with
>> ac_cv_func_posix_spawn_file_actions_addchdir=yes (which basically tells
>> the configure system we have a posix_spawn_file_actions_addchdir, some
>> kind of a "fact" with glibc 2.44).
>>
>> Thoughts on fix this?
>
> Does the attached patch work? In a container, it looks like the symbols
> are defined correctly, but I haven't tested it more than that yet:
Your patch doesn't look like it marks it as 'posix', so would it show up
using the instructions for posix-modules at
https://sourceware.org/glibc/wiki/Testing/Gnulib?
At the moment, RMs are instructed to use that guide which is why this
problem didn't show up.
Should we suggest using `all-modules` instead of `posix-modules`? I
think so given it'll catch more changes, and any differences should be
investigated anyway.
sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 418 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260726/c3619892/attachment.sig>
More information about the Libc-alpha
mailing list