Re: Future of 32-bit platforms (including i386)
- Reply: John Baldwin : "Re: Future of 32-bit platforms (including i386)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Aug 2023 21:36:48 UTC
John Baldwin <jhb_at_FreeBSD.org> wrote on
Date: Thu, 03 Aug 2023 19:57:08 UTC :
> On 7/27/23 10:49 AM, shurd@FreeBSD.org wrote:
> > On 2023-05-24 01:35, Emmanuel Vadot wrote:
> >> On Tue, 23 May 2023 16:46:51 -0700
> >> John Baldwin <jhb@FreeBSD.org> wrote:
> >>
> >>> On 4/27/23 10:19 AM, John Baldwin wrote:
> >>>> . . .
>
> It's not just about make tinderbox, it is also about keeping platforms
> viable. One big example is that we probably need to start supporting the
> use of rust in the base system in some form in the not too distant
> future, but rust isn't supported on armv7 on FreeBSD (and someone would
> need to do the work to make that happen).
I'm confused about the "isn't supported on armv7 on FreeBSD"
claim:
# pkg info rust
rust-1.70.0_1
Name : rust
Version : 1.70.0_1
Installed on : Sun Jul 16 21:37:58 2023 PDT
Origin : lang/rust
Architecture : FreeBSD:14:armv7
Prefix : /usr/local
Categories : lang
Licenses : MIT or APACHE20
Maintainer : rust@FreeBSD.org
WWW : https://www.rust-lang.org/
Comment : Language with a focus on memory safety and concurrency
Options :
DOCS : on
GDB : off
SOURCES : on
WASM : on
Shared Libs required:
libcurl.so.4
Annotations :
FreeBSD_version: 1400093
build_timestamp: 2023-07-16T00:27:00+0000
built_by : poudriere-git-3.3.99.20220831
cpe : cpe:2.3:a:rust-lang:rust:1.70.0:::::freebsd14:armv7:1
port_checkout_unclean: no
port_git_hash : 8bcbc1e32c6c
ports_top_checkout_unclean: yes
ports_top_git_hash: f1271d14fb6f
repo_type : binary
repository : custom
Flat size : 1.08GiB
Description :
Rust is an open-source systems programming language that runs blazingly
fast, prevents almost all crashes, and eliminates data races.
Some of its features:
- Algebraic data types, type inference
- Pattern matching and closures
- Concurrency without data races
- Guaranteed memory safety
- Optional garbage collection
- Zero-cost abstractions
- Minimal runtime
- Efficient C bindings
WWW: https://www.rust-lang.org/
That is my own poudriere=devel style build but the 2023-Jul-27:
http://ampere2.nyi.freebsd.org/data/main-armv7-default/pe5b71726cc79_s92fd2f39e5/logs/rust-1.71.0.log
is a log for a successful official build of a more recent version
than my last build.
Is it really some things that use/need rust that are the problem,
not the rust port itself? If yes, could you be more specific?
> This is already starting to be
> a problem in ports because some 3rd party software (like py-cryptography)
> is requiring rust for modern versions, but we are currently holding that
> port back to cater to armv7. Platforms have to have enough active
> developers supporting them to remain viable.
===
Mark Millard
marklmi at yahoo.com