Re: First successful cargo build - Re: Summary on what's blocking full Rust support on m68k

John Paul Adrian Glaubitz <[email protected]>
Newsgroups org.kernel.vger.linux-m68k
Message-ID <fb40846e9f991895cda16deb7ea7cf7c02c84458.camel@physik.fu-berlin.de>
Hi Jeff,

On Wed, 2026-05-20 at 07:08 -0400, Jeffrey Walton wrote:
> > I was eventually able to build cargo for m68k-unknown-linux-gnu:
> > 
> > (unstable-amd64-sbuild)glaubitz@esk:~/rust/build$ file ./x86_64-unknown-linux-gnu/stage2-tools/m68k-unknown-linux-gnu/release/cargo
> > ./x86_64-unknown-linux-gnu/stage2-tools/m68k-unknown-linux-gnu/release/cargo: ELF 32-bit MSB pie executable, Motorola m68k, 68020, version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1,
> > BuildID[sha1]=7e5bf08930f87b9eaee173cf163b067f620cb841, for GNU/Linux 3.2.0, not stripped
> > (unstable-amd64-sbuild)glaubitz@esk:~/rust/build$
> > 
> > The binary runs on m68k but there is no output, unfortunately. Needs more debugging.
> 
> Congratulations!

Thanks!

> I'm still not convinced Rust can take over the world.  It has too many
> poorly supported architectures and platforms, including m68k.  Confer,
> <https://doc.rust-lang.org/nightly/rustc/platform-support.html>.

Luckily, there are projects like gccrs and rustc-codegen-gcc which are aiming to change that.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.