On Thu, 2021-01-07 at 12:43 -0600, Joshua Watt wrote:
>  On 1/7/21 11:57 AM, Richard Purdie wrote: 
> > There is a reproducibility issue in bash 5.1:
> 
> > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210107-8jzr3hc5/packages/diff-html/
> 
> > looks like the issue in in redir.c and I think at a really quick
> > glance, the computation of PIPESIZE. Seems to tbe 0x1000 on some
> > systems and 0x10000 on others.
> 
> > bash 5.1 hasn't merged yet and is in master-next. 
> 
> > If nobody else gets to it I will dig further when I have time but
> > wanted to mention it.
>  
> I looked at this. It appears that bash runs a host program to
> determine the pipe size by writing to a pipe until it gets SIGPIPE
> (builtin/psize.c). I'm not sure why this would result in a different
> size on different hosts... perhaps the pipe size is configurable in
> the kernel? Anyway, I suspect that the fix is to add -
> DHEREDOC_PIPESIZE=4096 to CFLAGS in the recipe.... it's not my
> favorite fix, but the bash configure script does the same thing to
> set the pipe size for FreeBSD.
>  
Thanks, I've queued a patch in master-next for testing.

Cheers,

Richard



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

Reply via email to