Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2017 00:09:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216143] lang/rust, devel/cargo: generate bootstraps for Tier2 architectures via cross-compilation
Message-ID:  <bug-216143-13-pq8Cg61sG9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216143-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216143-13@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=83=C2=A9bastien P=C3=83=C2=A9dron <dumbbell@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
                 CC|                            |dumbbell@FreeBSD.org

--- Comment #1 from Jean-S=C3=83=C2=A9bastien P=C3=83=C2=A9dron <dumbbell@F=
reeBSD.org> ---
Hi!

I started to look into this.

=3D=3D Updating lang/rust-nightly =3D=3D

I'm updating lang/rust-nightly to a recent snapshot and add support for i38=
6 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.

=3D=3D Cargo on i386 =3D=3D

I'm updating devel/cargo to 0.15.0 and add i386 support at the same time. T=
here
cargo prebuilt binaries available for FreeBSD/i386 since last October, I mi=
ssed
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.

=3D=3D Rust and Cargo on !x86 =3D=3D

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_cr=
osscompile_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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216143-13-pq8Cg61sG9>