All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Brad Smith <brad@comstyle.com>
Cc: peter.maydell@linaro.org, slp@redhat.com, cohuck@redhat.com,
	qemu-devel@nongnu.org, f4bug@amsat.org, hreitz@redhat.com,
	stefanha@redhat.com, marcandre.lureau@redhat.com,
	pbonzini@redhat.com, alex.bennee@linaro.org, sgarzare@redhat.com
Subject: Re: Rust in Qemu BoF followup: Rust vs. qemu platform support
Date: Mon, 20 Sep 2021 14:07:27 +1000	[thread overview]
Message-ID: <YUgI/xtQmWjfTSvq@yekko> (raw)
In-Reply-To: <17abd023-4477-4636-a87f-ccbdeffdb4b8@comstyle.com>

[-- Attachment #1: Type: text/plain, Size: 2905 bytes --]

On Sun, Sep 19, 2021 at 10:23:21PM -0400, Brad Smith wrote:
> On 9/17/2021 4:58 AM, David Gibson wrote:
> > Hi all,
> > 
> > At the qemu-in-rust BoF at KVM Forum, I volunteered to look into
> > whether Rust supported all the host/build platforms that qemu does,
> > which is obviously vital if we want to make Rust a non-optional
> > component of the build.
> > 
> > I've added the information to our wiki at:
> > 	https://wiki.qemu.org/RustInQemu
> > 
> > TBH, the coverage is not as good as I expected.  Linux, macOS and
> > Windows are pretty much ok, with the exception of Linux on Sparc.
> > There are a lot of gaps in *BSD support, however.
> > 
> > I've included some notes on where the information comes from, and some
> > uncertainties in there.
> > 
> > I've made an effort to get the information correct, but double
> > checking would be appreciated.
> > 
> > I haven't yet looked into the packaging situation for the Rust
> > toolchain on various platforms and distros, but I still intend to do
> > so.
> 
> Regarding this entry on the Wiki page..
> 
> "I think OpenBSD lacks mips32 support, but the presence of Loongson means
> I'm having trouble pinning that down with certainty"
> 
> That is correct. Our loongson port is mips64el. OpenBSD only supports
> 64-bit MIPS.

Thanks, I've updated the page to reflect that.

> OpenBSD currently only provides packages and host tools for aarch64,
> amd64, i386 and sparc64.

Sorry, I'm not clear on what you mean by this.  Do you mean OpenBSD
provides Rust packages and tools for aarch64, amd64, i386 and sparc64?
Or some more general statement about openbsd support for those
platforms.

For purposes of this matrix, I'm considering upstream Rust support,
not toolchain packaging (I'll be looking at that later).

If you do have rust packages and host tools for sparc64, that would
imply support is better than shown on
https://doc.rust-lang.org/nightly/rustc/platform-support.html which
notes 'sparc64-unknown-openbsd' as having "unknown or WiP" std library
support and no support for building host tools.  Does that page need
to be updated?

> So for the Wiki armv7, MIPS (64-bit), PPC (32-bit) should be changed
> to N/A.

https://www.openbsd.org/plat.html lists armv7, mips64
(loongson/octeon) and ppc32 (macppc) as supported platforms.  Is that
no longer correct?

> The SPARC (64-bit) entry should be changed to yellow.

Can you confirm that your Rust port has full std library support and
can build the host tools?  If so can you talk to the Rust people about
updating their page?

> I'd like to fill in the gaps for arm, mips64, mips64el, powerpc, powerpc64,
> and riscv64.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2021-09-20  5:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17  8:58 Rust in Qemu BoF followup: Rust vs. qemu platform support David Gibson
2021-09-17  9:17 ` Cornelia Huck
2021-09-17  9:54   ` Marc-André Lureau
2021-09-17 11:03     ` David Gibson
2021-09-18 20:01       ` Richard Henderson
2021-09-20  3:41         ` David Gibson
2021-09-20  8:13           ` Peter Maydell
2021-09-21  5:57             ` David Gibson
2021-09-17 10:56   ` David Gibson
2021-09-17 11:11 ` Philippe Mathieu-Daudé
2021-09-17 15:56   ` Stefan Hajnoczi
2021-09-18  5:25     ` David Gibson
2021-09-17 11:34 ` Daniel P. Berrangé
2021-09-17 15:59   ` Stefan Hajnoczi
2021-09-18  5:28     ` David Gibson
2021-09-17 16:04   ` Warner Losh
2021-09-17 18:39     ` Philippe Mathieu-Daudé
2021-09-17 19:02       ` Warner Losh
2021-09-20  3:53     ` David Gibson
2021-09-20 13:58       ` Ed Maste
2021-09-20  3:43   ` David Gibson
2021-09-20  2:23 ` Brad Smith
2021-09-20  4:07   ` David Gibson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YUgI/xtQmWjfTSvq@yekko \
    --to=david@gibson.dropbear.id.au \
    --cc=alex.bennee@linaro.org \
    --cc=brad@comstyle.com \
    --cc=cohuck@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=hreitz@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sgarzare@redhat.com \
    --cc=slp@redhat.com \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.