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

Richard Purdie
2024-08-27T20:41:40Z

On Tue, 2024-08-27 at 22:38 +0200, Alexander Kanavin wrote:
> 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.

The failure is building cargo-native iirc so using the host gcc would
be expected there?

Cheers,

Richard