Date: Sat, 21 Jan 2017 00:09:26 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 216143] lang/rust, devel/cargo: generate bootstraps for Tier2 architectures via cross-compilation Message-ID: <bug-216143-21738-CG1o3sEuHM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-216143-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-216143-21738@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216143 Jean-Sébastien Pédron <dumbbell@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress CC| |dumbbell@FreeBSD.org --- Comment #1 from Jean-Sébastien Pédron <dumbbell@FreeBSD.org> --- Hi! I started to look into this. == Updating lang/rust-nightly == I'm updating lang/rust-nightly to a recent snapshot and add support for i386 at the same time. This is not directly related to this issue but will help to make sure we don't have regression. I'm currently testing the port in Poudriere for HEAD/amd64 and 11.0/i386. == Cargo on i386 == I'm updating devel/cargo to 0.15.0 and add i386 support at the same time. There cargo prebuilt binaries available for FreeBSD/i386 since last October, I missed that. I'm currently testing the port in Poudriere for HEAD/amd64. Unfortunately, I can't test 11.0/i386 because cargo(1) for i386 segfaults on amd64. The executable runs successfully in ref11-i386. I will try to build the port there. == Rust and Cargo on !x86 == Finally, I started to look for guides to bootstrap Rust and Cargo on unsupported hosts. I'm going to take aarch64 as the first victim. I found the following article from someone who did several ports of Rust: https://www.reddit.com/r/rust/comments/5ag60z/how_do_i_bootstrap_rust_to_crosscompile_for_a_new/ The following article might be useful too; I'm not sure yet: http://os.phil-opp.com/cross-compile-libcore.html I will keep you posted. -- You are receiving this mail because: You are on the CC list for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216143-21738-CG1o3sEuHM>
