[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 Feb 9 17:31:13 UTC 2017


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

--- Comment #16 from Jean-Sébastien Pédron <dumbbell at FreeBSD.org> ---
The pull request to update the libc Git submodule in Rust was just merged:
https://github.com/rust-lang/rust/pull/39601

Thus all patches are in to build for and run on FreeBSD/aarch64.

The next step is asking upstream how to enable automatic creation of official
FreeBSD/aarch64 bootstraps.

In the meantime, it's probably possible we produce our own use it to build
packages of lang/rust-nightly, perhaps lang/rust too. For Cargo, I'm wondering
if we would need a devel/cargo-nightly. I'll play around that as soon as I can.

For sparc64, the patches are ready, but I can't get a working C++
cross-compiler: either I get compilation/link failures or the produced
executable segfaults. To be exact, I could obtain a working hello world with
base's libstdc++, but LLVM (built as part of the Rust build) requires libstdc++
4.7+.

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


More information about the freebsd-gecko mailing list