On Thursday, March 17, 2016 at 4:31:46 PM UTC-4, Henri Sivonen wrote: > On Thu, Mar 17, 2016 at 3:01 PM, Martin Stransky wrote: > > Well, what about other arches? ppc(64), s390, ai64...? > > All architectures currently supported by Fedora, Debian and Ubuntu > (but not Gentoo!) already have LLVM back ends. rustc hasn't been > ported to all those architectures, but the level of effort required > should be within reason considering that the LLVM back ends are there > and rustc has already been ported to target multiple ones of the > LLVM-supported ISAs.
Gentoo does have system LLVM support on x86{,_64} ppc{,64} arm{,64} and sparc -- no alpha, hppa or ia64 at of yet. The rust situation on gentoo is still in flux however. Gentoo is very much going to support cross-compilation of rust and rust-based projects too. Regarding other platforms -- as of firefox-45.0 , the only platforms that work properly are those that have a jit, or have appropriate none-jit AtomicOperations.h .. Since moz45 the only commits i've seen have been to add ppc/ppc64 support (in moz47), so as far as I am aware hppa, s390, ia64, etc are effectively not supported at runtime already (they MOZ_CRASH on startup). Regardless of whether or not those platforms have rust support, some work in js/src/jit/ is going to be required before it'll matter. > If distro policy bans ongoing cross-compliation, I guess the distro > would need to replicate the Rust project's compiler compilation > version lineage on each architecture after bootstrapping with > cross-compilation. > Technically speaking, as i've been told at least, rust can still be built from scratch if ocaml is available on the platform, starting with rust-0.6, to 0.7, 0.8, 0.9, 1.0 and then finally 1.7 or newer. If a distro really does ban cross-compiling to jump directly to rust-1.7 or newer then their developers can stoll go this route to package it. Theoretically it only needs to be done once, right? Ian ----- Ian Stakenvicius a...@gentoo.org _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform