Re: [OE-core] [PATCH 2/2] rust: Upgrade 1.78.0->1.79.0

Alexander Kanavin
2024-08-27T20:39:00Z

On Tue, 27 Aug 2024 at 21:51, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:

> Shouldn't rust complain if it doesn't work with old compilers? Are the
> compiler requirements for rust documented anywhere? I'm reluctant to
> throw buildtools at anything that breaks. In theory we also would need
> to change the sanity.bbclass compiler versions tests and so on too :/

The specific error seems to be about libz-sys, which carries a copy of
zlib and that is built using host gcc - I suspect that somehow alma9
gcc is used incorrectly there. This could be a problem on our side,
I'd need to first try building cargo 1.79.0 directly on alma9 and see
if that breaks too in the same way, or not. Don't have any more time
to look into it today.

Alex