cargo(?)/rust(?) broken on x32

Jan Rękorajski baggins at
Mon Jan 24 23:45:18 CET 2022

On Mon, 24 Jan 2022, Jan Palus wrote:

> On 23.01.2022 23:17, Jan Rękorajski wrote:
> > cargo does not pass --target down to rust on x32 again.
> > 
> >
> > 
> > Could it be related to;a=commit;h=62473c9552f86f55f6f591df14ca1755ecdb5cd6
> > or just new rust breaking cross compilation again for the sake of it?
> Mentioned commit should result in exactly same spec file after parsing
> as before for all archs but armv7hnl. Actually rust on x32 predated
> it anyway at the time of mentioned build.
> target is passed down correctly:
> - rustc invocations that lack it are for build scripts that are built
>   for host
> - other rustc invocations have target passed down correctly
> Objects that are built incorrectly are not coming from rust sources,
> these are compiled from assembler files which seem to be simply
> miscompiled for x32. Fixed on master now.

Thanks a lot.

I wonder what's wrong with my local setup. I have x32 builder
environment with the same packages installed, yet cargo tries
to build 64bit stuff in x32 environment...

Jan Rękorajski                    | PLD/Linux
SysAdm | baggins<at> |

More information about the pld-devel-en mailing list