[Bug 216143] lang/rust, devel/cargo: generate bootstraps for Tier2 architectures via cross-compilation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 26 08:59:55 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216143

--- Comment #7 from Jean-Sébastien Pédron <dumbbell at FreeBSD.org> ---
Quick status update on boostrapping on aarch64.

I'm following japaric's guide [1]. Step 1 (manually cross-compiling the `core`
crate) and step 2 (teaching `rustc` about aarch64-unknown-freebsd) are done.
I'm at step 3 (cross-compiling `std`). I made the required changes to the
`libc` crate and `std` builds but doesn't link:
https://gist.github.com/dumbbell/f20431fb05b7879488d771b1110f4032

The `panic_unwind` crate builds fine, but it is not picked by `std`. I asked
for help on IRC.

I submitted no pull request so far: I want to be sure the existing patches are
fine.

[1]
https://www.reddit.com/r/rust/comments/5ag60z/how_do_i_bootstrap_rust_to_crosscompile_for_a_new/

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-gecko mailing list