OK: rust.spec

Jakub Bogusz qboosh at pld-linux.org
Mon Oct 5 20:55:56 CEST 2020


On Mon, Oct 05, 2020 at 01:12:44AM +0200, Jan Rękorajski wrote:
> On Sun, 04 Oct 2020, PLD th-x32 builder wrote:
> 
> > rust.spec (auto/th/rust-1.44.1-2): OK
> > 
> > --- rust.spec:auto/th/rust-1.44.1-2:
> > upgrading packages
> > Build-Time: user:22480.24s sys:327.35s real:7031.10s (faults io:17 non-io:47582180)
> > 
> > Files queued for ftp:
> >   13348158 rust-debuginfo-1.44.1-2.x32.rpm
> >      10224 zsh-completion-cargo-1.44.1-2.x32.rpm
> >       8428 bash-completion-cargo-1.44.1-2.x32.rpm
> >    4034573 cargo-1.44.1-2.x32.rpm
> >   14821218 rust-doc-1.44.1-2.noarch.rpm
> >       8969 rust-lldb-1.44.1-2.noarch.rpm
> >      10439 rust-gdb-1.44.1-2.noarch.rpm
> >       9304 rust-debugger-common-1.44.1-2.noarch.rpm
> >   56994390 rust-1.44.1-2.x32.rpm
> >        410 rust-1.44.1-2.src.rpm.uploadinfo
> 
> Unfortunately this build does not produce x32 output.

It appeared that gnux32 ABI is not default for this compiler, one must
add --target=x86_64-unknown-linux-gnux32 to rustc or cargo.

With few hacks (simulating crosscompilation in rust part) and fixing one
vendored package librsvg built as x32.

ow I'm trying with mozjs78, which blocks more packages (e.g. current polkit
or gnome-shell).


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list