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

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
Hi!

On 10/19/18 10:56 AM, Dragan Mladjenovic wrote:
> @YunQiang Su <mailto:[email protected]> 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]. 

I'll create Debian patches for those.

> 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.   
Upstream does that for arm64 as well, see: https://github.com/rust-lang/rust/commit/ea50bf8850304e8afefa9089792fc077fb54aef4

I can try whether the combination of above all gets me a working rustc
on mips*.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.