[Pkg-rust-maintainers] Bug#974037: Fails to build on mipsel
Adrian Bunk
bunk at debian.org
Thu Nov 12 05:52:56 GMT 2020
Control: severity -1 important
Control: tags -1 ftbfs
On Mon, Nov 09, 2020 at 11:40:14AM +0100, Guido Günther wrote:
> Package: src:rust-gtk
> Version: 0.7.0-1
> Severity: serious
It is not RC when the package was never built on an architecture.
> rust-gtk fails to build on mipsel like:
>
> https://buildd.debian.org/status/fetch.php?pkg=rust-gtk&arch=mipsel&ver=0.7.0-1&stamp=1596355821&raw=0
>
> The relevant bit seems to be
>
> terminate called after throwing an instance of 'std::bad_alloc'
> what(): std::bad_alloc
> error: could not compile `gtk`.
>
> So i wonder if that can be handled by a give back on a machine with more
> RAM?
The buildds where it was tried have either 4 GB or 8 GB RAM.
Which is not the problem when you are running out of address space.
Address space available for a program (like a compiler instance)
on the 32bit release architectures:
2 GB mipsel
3 GB armel/armhf
4 GB i386 built on amd64
With g++ the most common workaround is building with -g1,
I don't have experience how to work around excessive memory
usage in rust.
> Cheers,
> -- Guido
cu
Adrian
More information about the Pkg-rust-maintainers
mailing list