| Port details |
- rust-bootstrap Create bootstrap compilers for building lang/rust
- 1.98.1 lang
=0 1.96.1Version of this port present on the latest quarterly branch. - Maintainer: rust@FreeBSD.org
 - Port Added: 2020-02-25 18:18:37
- Last Update: 2026-09-08 10:37:18
- Commit Hash: 4b65f53
- License: APACHE20 MIT
- WWW:
- https://www.rust-lang.org/
- Description:
- Rust is an open-source systems programming language that runs blazingly
fast, prevents almost all crashes, and eliminates data races.
This port creates the required bootstrap compilers for building the
next version of lang/rust.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- aarch64-rust-bootstrap>0:lang/rust-bootstrap
- To install the port:
- cd /usr/ports/lang/rust-bootstrap/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/rust-bootstrap
- pkg install aarch64-rust-bootstrap
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: aarch64-rust-bootstrap
- Package flavors (<flavor>: <package>)
- aarch64: aarch64-rust-bootstrap
- amd64: amd64-rust-bootstrap
- armv7: armv7-rust-bootstrap
- i386: i386-rust-bootstrap
- powerpc: powerpc-rust-bootstrap
- powerpc64: powerpc64-rust-bootstrap
- powerpc64le: powerpc64le-rust-bootstrap
- riscv64: riscv64-rust-bootstrap
- ONLY_FOR_ARCHS: aarch64 amd64 powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1788419619
SHA256 (rust/rustc-1.98.1-src.tar.xz) = be1816e7f6c40abb90245ad6e024bed2a7e88d7dda4561e4d5470207df616b9f
SIZE (rust/rustc-1.98.1-src.tar.xz) = 244440824
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- aarch64-freebsd-sysroot>=a2021.09.14 : devel/freebsd-sysroot@aarch64
- cmake : devel/cmake-core
- gmake : devel/gmake
- rust>=1.98.1 : lang/rust
- ninja : devel/ninja
- python3.12 : lang/python312
- perl5>=5.42.r<5.43 : lang/perl5.42
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- lang_rust-bootstrap
- USES:
- cpe ninja:build perl5 python:build tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
1.47.0 28 Oct 2020 10:49:16
  |
mikael  |
lang/rust-bootstrap: Update sysroot to build the rust bootstrap
- Update the sysroot to 11.4 to build the rust bootstrap on amd64, arm64,
armv6 and i386
- Regen the sysroot for armv7 (it only includes the necessary bits: /lib,
/usr/include and /usr/lib)
- Update the sysroot for powerpc64-elfv2 (previous one is 9 months old)
The sysroot is just the base.txz fetched from ftp://ftp.freebsd.org/pub/FreeBSD/
It's based on the WANDBOARD image for armv6 and armv7
Differential Revision: D26646 |
1.47.0 14 Oct 2020 07:52:54
  |
mikael  |
lang/rust-bootstrap: Update to 1.47.0 |
1.46.0 13 Oct 2020 08:36:35
  |
mikael  |
lang/rust: Update to 1.47.0
- Add powerpc64le arch (submitted by bdragon in D26711)
- Disable DOCS, same problem fixed in r546048
- Update devel/racer to 2.1.36
- Import upstream patch to fix www/firefox
(https://hg.mozilla.org/integration/autoland/rev/e2cede25c027)
- Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird
(https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz
: 0036, 0037 and 0038)
- Force rebuild all consumers to catch regressions
Changelog:
https://github.com/rust-lang/rust/releases/tag/1.47.0
Differential Revision: https://reviews.freebsd.org/D26721 |
1.46.0 02 Sep 2020 18:15:58
  |
tobik  |
lang/rust-bootstrap: Unbreak build
error: linking with
`/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/aarch64-unknown-freebsd-cc`
failed: exit code: 1
|
= note:
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/aarch64-unknown-freebsd-cc"
"-Wl,--as-needed" "-Wl,-z,noexecstack" "-Wl,--eh-frame-hdr" "-L"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1/lib/rustlib/aarch64-unknown-freebsd/lib"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/rustc_binary-aee2141e03185e53.rustc_binary.b5znfnzc-cgu.0.rcgu.o"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/rustc_binary-aee2141e03185e53.rustc_binary.b5znfnzc-cgu.1.rcgu.o"
"-o"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/rustc_binary-aee2141e03185e53"
"-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs
"-L"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps"
"-L"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/release/deps"
"-L"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/build/psm-b70dc38335c8633c/out"
"-L"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/build/rustc_llvm-2e64396678b51f1b/out"
"-L"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/aarch64-unknown-freebsd/llvm/build/lib"
"-L"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1/lib/rustlib/aarch64-unknown-freebsd/lib"
"-L" "/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.4
.0-src/build/x86_64-unknown-freebsd/stage1-!
ustc/aarch64-unknown-freebsd/release/deps" "-lrustc_driver-92f05a38b6344bea"
"-Wl,--start-group" "-L"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1/lib/rustlib/aarch64-unknown-freebsd/lib"
"-lstd-1f5c5da87793947f" "-Wl,--end-group" "-Wl,-Bstatic"
"/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1/lib/rustlib/aarch64-unknown-freebsd/lib/libcompiler_builtins-8365ea7481741727.rlib"
"-Wl,-Bdynamic" "-lc++" "-lutil" "-lutil" "-lexecinfo" "-lpthread" "-lgcc_s"
"-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/../lib"
= note: ld: error:
/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_driver-92f05a38b6344bea.so:
undefined reference to compress2 [--no-allow-shlib-undefined]
ld: error:
/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_driver-92f05a38b6344bea.so:
undefined reference to compressBound [--no-allow-shlib-undefined]
ld: error:
/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_driver-92f05a38b6344bea.so:
undefined reference to crc32 [--no-allow-shlib-undefined]
ld: error:
/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.46.0-src/build/x86_64-unknown-freebsd/stage1-rustc/aarch64-unknown-freebsd/release/deps/librustc_driver-92f05a38b6344bea.so:
undefined reference to uncompress [--no-allow-shlib-undefined]
cc: error: linker command failed with exit code 1 (use -v to see
invocation) |
1.46.0 30 Aug 2020 18:36:08
  |
tobik  |
lang/rust: Update to 1.46.0
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html
With hat: rust
Differential Revision: https://reviews.freebsd.org/D26176 |
1.45.2 03 Aug 2020 15:18:49
  |
tobik  |
lang/rust: Update to 1.45.2
Changes: https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html |
1.45.1 30 Jul 2020 18:26:54
  |
tobik  |
lang/rust: Update to 1.45.1
- Apply the "hard links break `env::current_exe()`" workaround from
r543251 to lang/rust too
- Force rebuild all consumers for the soundness bug in 1.45.0
Changes: https://blog.rust-lang.org/2020/07/30/Rust-1.45.1.html
With hat: rust
Differential Revision: https://reviews.freebsd.org/D25835 |
1.45.0 17 Jul 2020 06:44:04
  |
tobik  |
lang/rust: Update to 1.45.0
- This Rust release comes with LLVM 10. Drop the LLVM patches we
no longer need.
- On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the
Rust target instead of patching LLVM.
- Build LLVM with Ninja. It can shorten the build time slightly.
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html
Tested by: mikael, pkubaj, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D25658 |
1.44.1_1 19 Jun 2020 18:53:57
  |
tobik  |
lang/rust-bootstrap: Keep the (amd64-native) cross compilers around |
1.44.1 18 Jun 2020 14:13:39
  |
tobik  |
lang/rust: Update to 1.44.1
- Properly fix powerpc64 builds [1]
Changes: https://blog.rust-lang.org/2020/06/18/Rust.1.44.1.html
PR: 247307 [1]
Submitted by: pkubaj [1]
Reviewed by: mikael, pkubaj, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D25297 |
1.44.0_1 13 Jun 2020 17:08:29
  |
tobik  |
lang/rust-bootstrap: Limit elfv1 bootstrap to GCC9 for now
To use newer GCC the powerpc64 binary package that provides gcc
libraries in the cross sysroot will need updating to a newer GCC
as well.
PR: 246700 |
1.44.0_1 09 Jun 2020 12:14:24
  |
tobik  |
lang/rust-bootstrap: Rebuild after r538194 |
1.44.0 04 Jun 2020 18:08:01
  |
tobik  |
lang/rust: Update to 1.44.0
- Remove devel/cargo-tree since it is now integrated into cargo
- Add patch to fix build with LibreSSL 3.1.x and 3.2.0 [1]
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2020/06/04/Rust-1.44.0.html
PR: 246332 [1]
Tested by: mikael, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D25099 |
1.43.1 07 May 2020 15:58:38
  |
tobik  |
lang/rust: Update to 1.43.1
- Remove upstreamed patches
- On ppc64 revert e82ec2315e5adb1c291c3702cd2ac1f46ecd0fcf to fix segfaults
Changes: https://blog.rust-lang.org/2020/05/07/Rust.1.43.1.html
With hat: rust
Differential Revision: https://reviews.freebsd.org/D24734 |
1.43.0 23 Apr 2020 15:32:30
  |
tobik  |
lang/rust: Update to 1.43.0
- Add workaround to fix build when CC/CXX have "clang" in them [1]
- Respect AR to fix build with external toolchains [2]
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html
PR: 238556 [1], 245583 [2]
Reported by: Matthias Apitz <guru@unixarea.de> [1], Greg V
<greg@unrelenting.technology> [2]
Tested by: mikael, pkubaj, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D24521 |
1.42.0 12 Mar 2020 19:39:25
  |
tobik  |
lang/rust: Update to 1.42.0
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2020/03/12/Rust-1.42.html
Tested by: mikael, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D24020 |
1.41.1 27 Feb 2020 15:22:29
  |
tobik  |
lang/rust: Update to 1.41.1
- Force rebuild all consumers to fix potential miscompilations with
1.41.0
- Enable SOURCES by default. The sources are indexed by RLS and
required for it to function properly, so they should be available
by default. This also makes sure we test the option properly.
- Remove implied --config=config.toml from x.py args
- Switch to the upstreamed backtrace crate patches like rust-nightly
- Enable WASM by default [0]
- Strip libraries (D23650) [1]
- Simplify plist generation (D23735) [2]
Changes: https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html
Submitted by: mikael [0,1,2]
With hat: rust
Differential Revision: https://reviews.freebsd.org/D23835 |
1.41.0 25 Feb 2020 18:18:26
  |
tobik  |
New port: lang/rust-bootstrap
This port creates the required bootstrap compilers for building the
next version of lang/rust.
Thanks to garga, mikael, pkubaj for test building lang/rust with
the generated bootstraps.
Approved by: portmgr (mat, flavors)
Differential Revision: https://reviews.freebsd.org/D23133 |