Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Feb 2017 08:59:24 +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-nEOWI4VbcF@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=3D216143

Jean-S=C3=A9bastien P=C3=A9dron <dumbbell@FreeBSD.org> changed:

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

--- Comment #9 from Jean-S=C3=A9bastien P=C3=A9dron <dumbbell@FreeBSD.org> =
---
Status update:

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

    dumbbell@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@build-12.freebsd.org:/usr/obj/arm64.aarch64/usr/src/sys/CLUSTER12
    arm64

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

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

    dumbbell@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 Carg=
o;
- submitting pull requests;
- asking upstream to enable automated buildd of nightlies.

--=20
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-nEOWI4VbcF>