[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 2 08:59:25 UTC 2017


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

Jean-Sébastien Pédron <dumbbell at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(dumbbe |maintainer-feedback+
                   |ll at FreeBSD.org)             |

--- Comment #9 from Jean-Sébastien Pédron <dumbbell at FreeBSD.org> ---
Status update:

I could finally cross-compile a working rustc for aarch64:

    dumbbell at ref12-aarch64:~/rust % uname -a
    FreeBSD ref12-aarch64.freebsd.org 12.0-CURRENT FreeBSD 12.0-CURRENT #0
    r306376: Tue Sep 27 20:33:16 UTC 2016
    peter at build-12.freebsd.org:/usr/obj/arm64.aarch64/usr/src/sys/CLUSTER12
    arm64

    dumbbell at ref12-aarch64:~/rust % ./nightly/bin/rustc -V
    rustc 1.16.0-nightly (3f4718c82 2017-01-26)

    dumbbell at ref12-aarch64:~/rust % ./nightly/bin/rustc -o hello hello.rs

    dumbbell at ref12-aarch64:~/rust % ./hello
    Hello from Rust on FreeBSD/arm64!

The next steps are:
- bootstrapping Cargo;
- testing a native build of Rust using the cross-compiled compiler and Cargo;
- submitting pull requests;
- asking upstream to enable automated buildd of nightlies.

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


More information about the freebsd-gecko mailing list