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.
> > 
> > http://buildlogs.pld-linux.org//index.php?dist=th&arch=x32&ok=0&name=dssim2&id=2684320f-141d-452b-8608-4959b7d844e0&action=tail
> > 
> > Could it be related to 
> > http://git.pld-linux.org/gitweb.cgi?p=packages/rust.git;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>pld-linux.org | http://www.pld-linux.org/
pld-devel-en mailing list

Reply via email to