[Pkg-rust-maintainers] Bug#881845: Bug#881845: Bug#881845: Bug#881845: Bug#881845: Bug#881845: Bug#881845: Bug#881845: Bug#881845: rustc: FTBFS on mips*: test failures
Dragan Mladjenovic
dmladjenovic at wavecomp.com
Fri Oct 19 09:56:15 BST 2018
Hi all,
@YunQiang Su<mailto:wzssyqa at gmail.com> Are you referring to failures shown in [1] ?
If so, here is the overview :
>test [ui] ui/asm-out-assign-imm.rs
>test [ui] ui/target-feature-gate.rs
>test [ui] ui/target-feature-wrong.rs
Fix:[2]. Should be ignored.<https://github.com/rust-lang/rust/commit/f985e6cfd42ee5ef8e7613d11a002253ab87c52f>
>test [run-pass] run-pass/invalid_const_promotion.rs
Needs SIGTRAP added to the list at [3].<https://github.com/rust-lang/rust/blob/master/src/test/run-pass/invalid_const_promotion.rs#L42>
>test [run-make] run-make-fulldeps/relocation-model
Bug:[4]. Should be ignored on both mips64 and mips [5].
Quick comment on the mips. Except of the OOM problems other problems (including the atomics one) on mips are usually
caused by its usage of llvm's FastISel in unoptimized builds. You could try disabling it or even try optimized build.
I believe that for 1.28 we could finish the native bootstrapping in optimized build while unoptimized one would OOM.
Hope this helps in any way.
[1] https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=mips64el&ver=1.29.0%2Bdfsg1-1&stamp=1538287611&raw=0
[2] https://github.com/rust-lang/rust/commit/f985e6cfd42ee5ef8e7613d11a002253ab87c52f
[3] https://github.com/rust-lang/rust/blob/master/src/test/run-pass/invalid_const_promotion.rs#L42
<https://github.com/rust-lang/rust/issues/49905>
[4] https://github.com/rust-lang/rust/issues/49421
[5] https://github.com/rust-lang/rust/issues/49905
Best regards,
Dragan
________________________________
From: YunQiang Su <wzssyqa at gmail.com>
Sent: Friday, October 19, 2018 3:08 AM
To: Aron Xu
Cc: John Paul Adrian Glaubitz; PozueloEmilio Monfort; Sylvestre Ledru; 881845 at bugs.debian.org; infinity0 at debian.org; debian-mips at lists.debian.org; James Cowgill; Dragan Mladjenovic
Subject: Re: [Pkg-rust-maintainers] Bug#881845: Bug#881845: Bug#881845: Bug#881845: Bug#881845: Bug#881845: Bug#881845: Bug#881845: rustc: FTBFS on mips*: test failures
add Dragan Mladjenovic, who is maintaining rust for mips.
@Dragan can you help to debug rustc on mips64el, we have some test failures.
I noticed that we allow more test failures on some arch.
Can we also do it for mips64el for temporary?
Aron Xu <aron at debian.org> 于2018年10月3日周三 下午8:40写道:
>
> On Wed, Oct 3, 2018 at 5:54 PM John Paul Adrian Glaubitz
> <glaubitz at physik.fu-berlin.de> wrote:
> >
> > On 10/3/18 10:35 AM, Emilio Pozuelo Monfort wrote:
> > >> Can you backport the llvm fix to llvm 7?
> > >
> > > Actually given 7 is not in testing and rust is not using it atm, what would be
> > > good is to have this backported to llvm 6 asap, so that we can (hopefully) get
> > > rust bootstrapped in mips*, which is blocking quite some stuff.
> >
> > Even if you fix this particular bug, you are still running into the unfortunate
> > situation on the 32-bit MIPS architectures that there is not enough virtual
> > address space per process for Rust to work so you will always end up in
> > out-of-memory situations when building rustc natively on 32-bit MIPS.
> >
> > I have done extensive testing and tried lots of different approaches to
> > reduce the memory footprint of the Rust compiler, but so far I have
> > never succeeded in building rustc natively on 32-bit MIPS.
> >
>
> I haven't tried this yet. Wonders if it's doable to build 32bit rustc
> natively without debugging symbols (where Debian builds full debug
> symbols which consumes a lot of the address space), if that's doable
> we can consider adding something like -gsplit-dwarf to rustc to relax
> the situation.
>
> Regards,
> Aron
--
YunQiang Su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20181019/732d13e0/attachment-0001.html>
More information about the Pkg-rust-maintainers
mailing list