Re: Improve native/cross recipe reproducibility

Richard Purdie

On Mon, 2021-11-22 at 16:41 +0000, Richard Purdie via
I think this would be something really useful to fix. For ranlib, we can
probably just patch BUILD_RANLIB to add the flag. For ar, we need to remove the
u option so it can only really be done with an intercept.

I did try this on the autobuilder with your ar intercept and the ranlib flag
tweak with:

It broke as the above needs to be:

exec ar D$args $*

with no space else it breaks, at least on ubuntu1804. I'll try again with that

As mentioned on irc, I am a little worried about the fork overhead in the
wrapper too as fork overhead does seem to be a build pain point for us and the
hit on a more complex program like python may be worth it, not sure.
FWIW the above breaks meson which tries to run "ar D--version" after the above
change. The intercept script is going to have to be a little more "clever" :/



Join { to automatically receive all group messages.