-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Status update...

I've been working on porting Rust over to OpenBSD by building a Rust
cross-compiler for Linux that can target i386-unknown-openbsd and
x86_64-unknown-openbsd.  The largest roadblock on OpenBSD is the lack
of a more recent GNU linker (ld).  I have tried the 2.17 linker in the
source tree and it doesn't work.  To catch everybody up, the rust
compiler is built on LLVM and uses C++1x which requires a newer
compiler.  I started by using 4.8.3 on OpenBSD but the old linker
isn't working.

Somebody suggested using clang on OpenBSD, but it appears that the
port for clang++ doesn't include libc++.  Is that correct?  So clang++
doesn't have a new enough standard C++ library to do the job.  I've
tried using clang++ with the libstdc++ that is part of the gcc 4.8.3
port but I can't seem to figure out the magic set of parameters to
clang++ to make it select the newer libstdc++ that is part of the gcc
4.8.3 port.

I'm starting to think that this may not be possible without some
catching up on toolchains for OpenBSD.  And given the conservative
nature of OpenBSD, it may be some time before the toolchains are
"modern" enough to compile and link the Rust compiler.

- --dave
-----BEGIN PGP SIGNATURE-----

iF4EAREIAAYFAlR7qwoACgkQvt/JvmUQuOmMmQD+KpYTqyiNJJBoZos7+CQnOTG4
XmsrUbU8lPtOGM9kBCoA/j7e+Ghe+1hHOqBNFZlyj9cx6AfWDjN30dJ/5vNvjoED
=eufW
-----END PGP SIGNATURE-----

Attachment: 0x6510B8E9.asc
Description: application/pgp-keys

Attachment: 0x6510B8E9.asc.sig
Description: PGP signature

Reply via email to