Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
31 May 2022 13:06:17 1.61.0
|
Mikael Urankar (mikael)  |
lang/rust: Update to 1.61.0
Announce: https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-05-19
Reviewed by: pkubaj
Differential Revision: https://reviews.freebsd.org/D35335 |
03 May 2022 10:28:03 1.60.0
|
Tobias Kortkamp (tobik)  |
lang/rust-nightly: Update to 1.62.0.20220502
https://github.com/rust-lang/rust/compare/f4a7ce997a1d7546d2b737f8b87d36907bcea2ad...bed05e996e37e44b1a3980b84754af621fd3c4ce |
01 May 2022 16:39:19 1.60.0
|
Mikael Urankar (mikael)  |
lang/rust: Update to 1.60.0
- Switch to using "x.py dist" instead of "x.py build" in the do-build phase as
we are missing the rustc-dev component on nightly
- Revert part of [1] as it causes cross build problem with
lang/rust-bootstrap@powerpc
- Mark devel/racer as deprecated: it's hard to maintain due to recurrent build
problem
and it's not actively maintained. Upstream advises to use
devel/rust-analyzer instead.
[1]
https://github.com/rust-lang/rust/commit/07dae5a97b64100f5abd511f1e2d5a6263a54006
Announce: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1600-2022-04-07
Reviewed by: tobik
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D34823 |
29 Mar 2022 06:14:13 1.59.0
|
Piotr Kubaj (pkubaj)  |
lang/rust: switch back to base LLVM on powerpc
Base LLVM in 13.1 now can build Rust. |
23 Mar 2022 16:55:55 1.59.0
|
Piotr Kubaj (pkubaj)  |
lang/rust: fix build on powerpc on FreeBSD 13.1 and newer
1. When building with RUST_BACKTRACE=1, cargo segfaults:
pre-installed rustc not detected: [Errno 2] No such file or directory: 'rustc'
falling back to auto-detect
warning: sqlite3 not available in python, skipping build directory lock
please file an issue on rust-lang/rust
this is not a problem for non-concurrent x.py invocations
Building rustbuild
running: /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build
--manifest-path
/wrkdirs/usr/ports/lang/rust/work/rustc-1.59.0-src/src/bootstrap/Cargo.toml
--verbose --verbose --frozen
Traceback (most recent call last):
File "x.py", line 27, in <module>
bootstrap.main()
File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.59.0-src/src/bootstrap/bootstrap.py",
line 1313, in main
bootstrap(help_triggered) (Only the first 15 lines of the commit message are shown above ) |
15 Mar 2022 09:51:50 1.59.0
|
Mikael Urankar (mikael)  |
lang/rust: Update to 1.59.0
Changes: https://blog.rust-lang.org/FIXME/Rust-1.59.0.html
PR: 262449
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D34471 |
03 Feb 2022 14:02:32 1.58.1
|
Tobias Kortkamp (tobik)  |
lang/rust*: Remove superfluous 'Changes' from commit log template |
03 Feb 2022 14:02:31 1.58.1
|
Tobias Kortkamp (tobik)  |
lang/rust: Update to 1.58.1
https://blog.rust-lang.org/2022/01/20/Rust-1.58.1.html
PR: 261449
Security: ee26f513-826e-11ec-8be6-d4c9ef517024 |
17 Jan 2022 11:56:32 1.58.0 
|
Tobias Kortkamp (tobik)  |
lang/rust: Update to 1.58.0
Changes: https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html
PR: 261150
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D33864 |
23 Dec 2021 10:10:16 1.57.0 
|
Tobias Kortkamp (tobik)  |
lang/rust: Use backtrace noop backend on riscv64 too
Something is wrong with the libunwind backend or libunwind itself
on FreeBSD 13.0 riscv64. Building the parse-zoneinfo 0.3.0 crate
crashes rustc:
[New LWP 105346]
[New LWP 101666]
Core was generated by `/home/tobias/rust/bin/rustc --crate-name parse_zoneinfo
src/lib.rs --error-forma'.
Program terminated with signal SIGBUS, Bus error.
#0 0x00000000401a6126 in
libunwind::DwarfInstructions<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::getSavedRegister (addressSpace=..., registers=...,
cfa=<optimized out>, savedReg=...) at
/usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:87
[Current thread is 1 (LWP 105346)]
#0 0x00000000401a6126 in
libunwind::DwarfInstructions<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::getSavedRegister (addressSpace=..., registers=...,
cfa=<optimized out>, savedReg=...) at
/usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:87
#1 0x00000000401a5f56 in
libunwind::DwarfInstructions<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::stepWithDwarf (addressSpace=..., pc=<optimized
out>, fdeStart=<optimized out>, registers=..., isSignalFrame=<optimized out>) at
/usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:185
#2 0x00000000401a5b3e in libunwind::UnwindCursor<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::stepWithDwarfFDE (this=0x3fbffeeff8) at
/usr/src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:929 (Only the first 15 lines of the commit message are shown above ) |
23 Dec 2021 10:10:16 1.57.0 
|
Tobias Kortkamp (tobik)  |
lang/rust: Add riscv64 (riscv64gc-unknown-freebsd) support
A kernel with COMPAT_FREEBSD11 is required for now like on all
other FreeBSD archs. FreeBSD11 never had riscv64 support, so
GENERIC does not have it and a kernel rebuild is required. The
same issue existed on powerpc64le.
The riscv64gc-unknown-freebsd target was upstreamed and will
be part of Rust 1.59.0 (2021-02-24).
Reviewed by: jrtc27, pkubaj
Differential Revision: https://reviews.freebsd.org/D32881 |
05 Dec 2021 12:35:41 1.57.0 
|
Tobias Kortkamp (tobik)  |
lang/rust: Update to 1.57.0
- Unbreak build with LibreSSL 3.4.x [0]
- Disable backtrace's libunwind backend on armv* since it or
libunwind in base seem to be buggy and cause rustc to crash when
building some consumers [1]
- Follow rust-nightly in d5f09dc31fcfdb77b69c86b9093bf67ec67653d9
and reenable hardlinks in the build
Changes: https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html
PR: 259738 [0]
PR: 259799 [1]
PR: 260140
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D33190
With hat: rust |
25 Nov 2021 20:01:04 1.56.0 
|
Tobias Kortkamp (tobik)  |
lang/rust*: Move the build artifacts out of source
Move the build artifacts out of source to decrease likelihood
of ccache misses because of changed build directory prefix
(rustc-1.55.0-src/ vs. rustc-1.56.0-src/) per PR 246245. |
24 Nov 2021 09:05:49 1.56.0 
|
Tobias Kortkamp (tobik)  |
lang/rust: stable/13 has the kern.proc.pathname fixes too |
31 Oct 2021 18:20:54 1.56.0 
|
Tobias Kortkamp (tobik)  |
lang/rust-nightly: Update to 1.58.0.20211030
Make the no-hardlinks-patches conditional and move them to
files/no-hardlinks.
Newer kernels should return sane kern.proc.pathname values for
hardlinks which will hopefully help avoid the intermittent "can't
find crate for `std`" build failures we had on the package
builders.
Thanks to kib@ for fixing kernel behavior. Now let's see if it
makes a difference for lang/rust-nightly.
Changes: https://github.com/rust-lang/rust/compare/25ec8273855fde2d72ae877b397e054de5300e10...e249ce6b2345587d6e11052779c86adbad626dff
PR: 248184 |
25 Oct 2021 08:46:49 1.56.0 
|
Tobias Kortkamp (tobik)  |
lang/rust: Update to 1.56.0
- Drop codegen-units=1 again as it seems to negatively impact build
time for some people [1]
Changes: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
PR: 256099 [1]
PR: 259251
Reviewed by: jbeich, mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D32553 |
08 Oct 2021 11:22:09 1.55.0 
|
Bernhard Froehlich (decke)  |
lang/rust: Add CPE information
Approved by: portmgr (blanket) |
06 Oct 2021 12:01:52 1.55.0 
|
Tobias Kortkamp (tobik)  |
lang/rust-nightly: Update to 1.57.0.20211005
Changes: https://github.com/rust-lang/rust/compare/f586d79d183d144e0cbf519e29247f36670e2076...25ec8273855fde2d72ae877b397e054de5300e10 |
01 Oct 2021 00:14:58 1.55.0 
|
Jan Beich (jbeich)  |
lang/rust: unbreak on armv6 after 620968a43a5f
error: linking with `/wrkdirs/usr/ports/lang/rust/work/cc-wrapper` failed: exit
status: 127
Pointy hat to: jbeich |
30 Sep 2021 21:23:30 1.55.0 
|
Rene Ladan (rene)  |
cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11
Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*
Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index |
19 Sep 2021 09:03:21 1.55.0 
|
Tobias Kortkamp (tobik)  |
lang/rust: Update to 1.55.0
- Set codegen-units=1 [1]
- Add hack to skip cargo update on git sources as a step towards solving [2]
- Fix 'capacity overflow' panics on armv* [3]
Changes: https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html
PR: 258337
PR: 256099 [1]
PR: 256581 [2]
PR: 257419 [3]
Reviewed by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D31872
With hat: rust |
06 Sep 2021 20:04:22 1.54.0_2 
|
Mikael Urankar (mikael)  |
lang/rust: don't overwrite hwcap with the return value of elf_aux_info(3)
Reported by: jbeich |
06 Sep 2021 19:28:28 1.54.0_1 
|
Tobias Kortkamp (tobik)  |
lang/rust*: Mk/Uses/cargo.mk: Move TMPDIR to WRKDIR
rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp. WRKDIR should have plenty of space.
Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.
PR: 258126
With hat: rust |
06 Sep 2021 13:53:04 1.54.0_1 
|
Mikael Urankar (mikael)  |
lang/rust: Fix for missing getauxval function on FreeBSD
Use FreeBSD's elf_aux_info for detecting ARM HW features
PR: 258198
Tested by: Bob Prohaska <fbsd@www.zefox.net> |
02 Sep 2021 11:30:39 1.54.0 
|
Mikael Urankar (mikael)  |
lang/rust: Add missing patches for powerpc
Differential Revision: https://reviews.freebsd.org/D31723 |
28 Aug 2021 13:38:37 1.54.0 
|
Mikael Urankar (mikael)  Author: pouet |
lang/rust: Update to 1.54.0
- Update lang/rust to 1.54.0
- Update devel/racer to 2.1.48
- Fix various consumers
Changes: https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
Reviewed by: tobik, pkubaj
Differential Revision: https://reviews.freebsd.org/D31617
With hat: rust |
27 Jun 2021 05:39:50 1.53.0 
|
Tobias Kortkamp (tobik)  |
lang/rust: Update to 1.53.0
Changes: https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
PR: 256653
Reviewed by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D30790
With hat: rust |
14 Jun 2021 20:51:11 1.52.1 
|
Tobias Kortkamp (tobik)  |
lang/rust-nightly: Try to reduce memory usage/pressure
Try to reduce memory usage/pressure by only using one code generation
unit.
"This flag [codegen-units] controls how many code generation units
the crate is split into. It takes an integer greater than 0.
When a crate is split into multiple codegen units, LLVM is able to
process them in parallel. Increasing parallelism may speed up
compile times, but may also produce slower code. Setting this to
1 may improve the performance of generated code, but may be slower
to compile."
https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
PR: 256099
Suggested by: Daniel Engberg |
10 Jun 2021 16:35:22 1.52.1 
|
Brad Davis (brd)  |
lang/rust: Disable DOCS to fix build on armv6/7
PR: 256135
Approved by: mikael |
14 May 2021 16:44:58 1.52.1 
|
Tobias Kortkamp (tobik)  |
lang/rust*: Only subst %CC% and %WRKDIR% on ppc64-elfv1
It's unused elsewhere. Also move it to post-patch. |
11 May 2021 17:29:32 1.52.1 
|
Tobias Kortkamp (tobik)  |
lang/rust, lang/rust-bootstrap: Simplify makesum |
11 May 2021 17:29:27 1.52.1 
|
Tobias Kortkamp (tobik)  |
lang/rust: Update to 1.52.1
- Add 32-bit powerpc support from bdragon@
- Unbreak build with LibreSSL 3.3.x [1]
- Add an update script
Changes: https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html
Changes: https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
PR: 255608, 255652 [1]
Reviewed by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D30099 |
06 May 2021 05:54:33 1.51.0 
|
Tobias Kortkamp (tobik)  |
lang/rust: Add TRYBROKEN to makesum |
20 Apr 2021 06:57:34 1.51.0 
|
Tobias Kortkamp (tobik)  |
Mk/Uses/ninja.mk: Add support for devel/samurai (D29353)
Samurai is a Ninja-compatible build tool with fewer dependencies
than Ninja. Hook it to the framework via a new NINJA_DEFAULT.
This also adds %p to NINJA_STATUS to make Ninja or Samurai print
the percentage of completed jobs to make it easier to eyeball how
much of the build is done.
PR: 254678
Exp-run by: antoine |
06 Apr 2021 14:31:07 1.51.0 
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
29 Mar 2021 20:31:35
1.51.0 
|
tobik  |
lang/rust-nightly: Update to 1.53.0.20210329
Enable the SOURCES option again. They seem to install fine again.
Changes: https://github.com/rust-lang/rust/compare/5d04957a4b...4a20eb6a9d |
29 Mar 2021 18:07:32
1.51.0 
|
tobik  |
lang/rust: Update to 1.51.0
- Update devel/racer to 2.1.44
Changes: https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
PR: 254578
Reviewed by: mikael, pkubaj
Exp-run by: antoine
With hat: rust
Differential Revision: https://reviews.freebsd.org/D29425 |
23 Mar 2021 06:39:48
1.50.0_1 
|
tobik  |
lang/rust: Fix DOCS build, unbreak RUST_BACKTRACE
- Fix DOCS build by disabling deny-warnings (rustc equivalent to
-Werror). Let's not fail the entire build just because a handful
of docs fail to build due to -D broken-intra-doc-links [0]
- Only install the host target docs. We otherwise waste time with
a rust-docs install-uninstall-install cycle for each additional
target during stage.
- Backport FreeBSD support for gimli, unbreak RUST_BACKTRACE, and
have useful stack traces with actual content again [1]
- While here also strip binaries under libexec/ and ack reading of
src/bootstrap/CHANGELOG.md (changelog-seen=2)
[0] https://github.com/rust-lang/rust/issues/76526
PR: 253557 [1]
Submitted by: jbeich [1] |
14 Feb 2021 15:45:11
1.50.0 
|
mikael  |
lang/rust: Update to 1.50.0
- Use bundled libgit/libssh, the versions in ports are too old
- Update lang/rust-nightly to 2021-02-12
- Update devel/racer to 2.1.41
- Import upstream patch to fix build issue for Firefox and related ports
(https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)
Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0
Tested by: mikael, pkubaj
Differential Revision: https://reviews.freebsd.org/D28616 |
04 Feb 2021 17:21:28
1.49.0 
|
mikael  |
lang/rust: remove disable-ldconfig it's not an option for quite some time |
30 Jan 2021 17:21:48
1.49.0 
|
mikael  |
lang/rust: reroll the armv7 bootstrap
The current one fails to build Rust.
PR: 251254
Reported by: mmel |
29 Jan 2021 10:52:10
1.49.0 
|
mikael  |
lang/rust: revert part of r563191
It contains unrelated changes |
29 Jan 2021 10:49:01
1.49.0 
|
mikael  |
lang/rust: reroll the aarch64 bootstrap.
This new bootstrap is based on rust 1.49.0 built with a 12.1 sysroot.
PR: 251254
Reported by: dch, mmel
Tested by: dch, mikael |
07 Jan 2021 21:17:22
1.49.0 
|
pkubaj  |
lang/rust: fix build on powerpc64le |
06 Jan 2021 10:13:59
1.49.0 
|
mikael  |
lang/rust: Update to 1.49.0
Changes: https://github.com/rust-lang/rust/releases/tag/1.49.0
Tested by: mikael, pkubaj
Differential Revision: https://reviews.freebsd.org/D27940 |
12 Dec 2020 18:51:34
1.48.0 
|
mikael  |
lang/rust: Fix build with libressl 3.2.3
PR: 251766
Submitted by: John Kennedy |
24 Nov 2020 20:22:41
1.48.0 
|
pkubaj  |
lang/rust: fix build on powerpc64le |
24 Nov 2020 12:48:54
1.48.0 
|
mikael  |
lang/rust: Update to 1.48.0
Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0
Reviewed by: jbeich
Tested by: bdragon, jbeich, mikael
Differential Revision: https://reviews.freebsd.org/D27293 |
22 Nov 2020 13:51:15
1.47.0 
|
mikael  |
lang/rust: exclude SOURCES in nightly build
Exclude SOURCES in nightly build as it tries to download cargo crates in
install phase and it causes build breakage |
28 Oct 2020 13:41:33
1.47.0 
|
mikael  |
lang/rust: fix build with libressl-3.2.2
PR: 250589
Submitted by: John Kennedy <warlock@phouka.net> |
14 Oct 2020 16:58:48
1.47.0 
|
mikael  |
lang/rust: restore REINPLACE_CMD for ppc64-elfv1
This patch is needed for ppc64-elfv1 and we don't build rust-nightly on tier2
arch
Reported by: ashish |
14 Oct 2020 09:25:31
1.47.0 
|
mikael  |
lang/rust-nightly: Update to 1.49.0.20201014 |
13 Oct 2020 08:36:35
1.47.0 
|
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 |
30 Aug 2020 18:36:08
1.46.0 
|
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 |
05 Aug 2020 14:46:18
1.45.2 
|
tobik  |
lang/rust*: Bring back the llvm-config-wrapper patches after r543251
Apparently they are still needed:
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p543836_s363720/logs/errors/rust-1.45.1.log
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p543836_s363720/logs/errors/rust-nightly-1.47.0.20200724.log
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p544005_s363784/logs/errors/rust-1.45.1.log
Reported by: antoine |
03 Aug 2020 15:18:49
1.45.2 
|
tobik  |
lang/rust: Update to 1.45.2
Changes: https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html |
30 Jul 2020 18:26:54
1.45.1 
|
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 |
17 Jul 2020 06:48:00
1.45.0 
|
tobik  |
lang/rust: Add back to static.rust-lang.org |
17 Jul 2020 06:44:04
1.45.0 
|
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 |
18 Jun 2020 20:36:09
1.44.1_1 
|
pkubaj  |
lang/rust: build with Clang on powerpc64 elfv2
It looks like the LLVM bug that made Rust fail to build is gone (or Rust just
doesn't trigger it anymore). I tested that Rust itself and Firefox build.
Bump PORTREVISION because of dependency change.
PR: 247388
Approved by: tobik (maintainer) |
18 Jun 2020 14:13:39
1.44.1 
|
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 |
15 Jun 2020 22:26:47
1.44.0 
|
tobik  |
lang/rust-nightly: Update to 1.46.0.20200615
- Try building LLVM with Ninja
- Move post-configure to lang/rust
Changes: https://github.com/rust-lang/rust/compare/826cb062a6...4fb54ed484 |
07 Jun 2020 23:37:30
1.44.0 
|
pkubaj  |
lang/rust: fix build on powerpc64 |
04 Jun 2020 18:08:01
1.44.0 
|
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 |
18 May 2020 18:40:41
1.43.1 
|
asomers  |
lang/rust-nightly: enable the Rust profiler
Enable the rust profiler on rust-nightly (as an unstable feature, it's not
allowed on the stable toolchain). This allows it to generate code coverage
reports.
https://doc.rust-lang.org/unstable-book/compiler-flags/profile.html
https://crates.io/crates/grcov
Reviewed by: tobik
Approved by: tobik (maintainer)
Differential Revision: https://reviews.freebsd.org/D24765 |
07 May 2020 15:58:38
1.43.1 
|
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 |
28 Apr 2020 04:33:36
1.43.0 
|
tobik  |
lang/rust: Let the framework extract the bootstraps
It is possible for lang/python37 to be built in such a way that it
installs an unloadable lzma module which then causes Rust to fallback
to trying to fetch/extract the tar.gz bootstraps instead.
As a workaround and since it also simplifies some things, let the
ports framework extract the bootstraps and "install" them under
WRKDIR. We point the build to them in config.toml. This is similar
to how things are hooked up in lang/rust-bootstrap and Rust will
then not try to fetch and extract the bootstraps on its own.
PR: 243766
Reviewed by: mikael
Differential Revision: https://reviews.freebsd.org/D24582 |
23 Apr 2020 15:34:59
1.43.0 
|
tobik  |
lang/rust: Go back to static.rust-lang.org |
23 Apr 2020 15:32:30
1.43.0 
|
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 |
19 Apr 2020 03:55:23
1.42.0_2 
|
tobik  |
devel/libgit2: Update to 1.0.0
Changes: https://github.com/libgit2/libgit2/releases/tag/v1.0.0
ABI: https://abi-laboratory.pro/tracker/timeline/libgit2
Approved by: mfechner (maintainer)
Differential Revision: https://reviews.freebsd.org/D24471 |
19 Mar 2020 07:05:29
1.42.0_1 
|
tobik  |
lang/rust-nightly: Update to 1.44.0.20200319
Go back to system libgit2 now that it was updated to 0.99.0.
Changes: https://github.com/rust-lang/rust/compare/96bb8b31c8...f509b26a77 |
19 Mar 2020 05:47:59
1.42.0_1 
|
tobik  |
devel/libgit2: Update to 0.99.0
- Switch to the release tarballs libgit2 now publishes
- Drop CURL option since it is no longer used
- Use system libpcre instead of the bundled one
- Hook up tests
- Bump consumers for ABI changes
Changes: https://github.com/libgit2/libgit2/releases/tag/v0.99.0
ABI: https://abi-laboratory.pro/tracker/timeline/libgit2/ |
17 Mar 2020 22:32:21
1.42.0 
|
tobik  |
lang/rust-bootstrap: Unbreak powerpc64_elfv2 flavor after r528599
error: could not find native static library `stdc++`, perhaps an -L flag is
missing?
error: aborting due to previous error
error: could not compile `rustc_llvm`.
PR: 244813 |
17 Mar 2020 19:25:20
1.42.0 
|
pkubaj  |
lang/rust: fix build on powerpc64 elfv2
After upgrade to LLVM 10, core in stage 1 fails to compile (no clear reason,
rustc crashes):
pid 26828 (rustc), jid 0, uid 0: exited on signal 11 (core dumped)
Compilation with GCC works fine, so switch to GCC for the time being.
PR: 244813
Approved by: mikael |
12 Mar 2020 19:39:25
1.42.0 
|
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 |
06 Mar 2020 12:43:06
1.41.1 
|
tobik  |
lang/rust-nightly: Update to 1.43.0.20200306
libgit2-sys is now based on libgit2 0.99.0. While 0.99.0 is supposed
to be API compatible with 0.28, it has not yet been updated in the
ports tree and the git2 crate now make use of some of the new
function return values. Stop relying on system libgit2 and use the
bundled one. Upstream does not make any guarantees about system
libgit2 support in the first place.
Changes: https://github.com/rust-lang/rust/compare/6d69caba11...96bb8b31c8 |
01 Mar 2020 11:09:45
1.41.1 
|
tobik  |
lang/rust: Attempt to address unreliable rust-lld build
It sometimes fails [0,1] and sometimes succeeds [2,3]. When it
fails it fails with
running: "cmake"
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/src/llvm-project/lld"
"-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_C_COMPILER=cc"
"-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections
-fPIC -m64 -pipe -fstack-protector-strong -fno-strict-aliasing"
"-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64 -pipe
-fstack-protector-strong -fno-strict-aliasing"
"-DLLVM_CONFIG_PATH=/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/build/bootstrap/debug/deps/llvm-config-wrapper"
"-DLLVM_INCLUDE_TESTS=OFF"
"-DCMAKE_INSTALL_PREFIX=/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/build/x86_64-unknown-freebsd/lld"
"-DCMAKE_BUILD_TYPE=Release"
-- The C compiler identification is Clang 9.0.1
-- The CXX compiler identification is Clang 9.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++ (Only the first 15 lines of the commit message are shown above ) |
27 Feb 2020 15:22:29
1.41.1 
|
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 |
16 Feb 2020 15:22:07
1.41.0 
|
mikael  |
lang/rust: add the WASM option
Add the WASM (WebAssembly) option to build the wasm32-unknown-unknown target,
off by default.
Reviewed by: tobik
Approved by: tobik, manu (mentor)
Differential Revision: https://reviews.freebsd.org/D23653 |
12 Feb 2020 16:59:46
1.41.0 
|
mikael  |
Trim whitespace
Reviewed by: tobik, manu
Approved by: manu (mentor)
Differential Revision: https://reviews.freebsd.org/D23649 |
06 Feb 2020 20:51:20
1.41.0 
|
tobik  |
lang/rust: Silence stage-qa warnings when building with SOURCES=on
PR: 243850 |
05 Feb 2020 04:29:56
1.41.0 
|
tobik  |
lang/rust-nightly: Update to 1.43.0.20200205
Remove some cruft while here.
Changes: https://github.com/rust-lang/rust/compare/41f41b2354...c9290dceee |
30 Jan 2020 20:00:07
1.41.0 
|
tobik  |
lang/rust: Update to 1.41.0
- Force rebuild all consumers to catch regressions early
- Switch to cross-compiled (from amd64) bootstraps for all
architectures generated with the incoming lang/rust-bootstrap
- Update cargo-c to 0.5.2 to unbreak librav1e build
- Make use of regular MAKE_ENV/TEST_ENV in lang/rust
- Turn on RUST_BACKTRACE in lang/rust and USES=cargo to hopefully
produce more useful failure logs when something panics during
builds
Changes: https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html
Tested by: mikael, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D23385 |
27 Jan 2020 06:21:26
1.40.0 
|
tobik  |
Unbreak lang/rust-nightly after r524013 |
25 Jan 2020 05:41:19
1.40.0 
|
tobik  |
lang/rust: Apply some of the patches for lang/rust-bootstrap (D23133)
They should not affect the regular lang/rust build. |
24 Jan 2020 20:53:32
1.40.0 
|
tobik  |
lang/rust-nightly: Update to 1.42.0.20200124
Nightly bootstraps now have the fix from r523512. Switch to them
for the time being and drop the workaround. |
19 Jan 2020 06:53:15
1.40.0 
|
tobik  |
lang/rust-nightly: Unbreak with lld on 13.0 i386
= note: ld: error: relocation R_386_PC32 cannot be used against symbol
__rust_probestack; recompile with -fPIC
>>> defined in
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libcompiler_builtins-6570a75fe85f0e1a.rlib(compiler_builtins-6570a75fe85f0e1a.compiler_builtins.2i519eqi-cgu.15.rcgu.o)
>>> referenced by std.4xivr03c-cgu.14
>>>
std-9bd70afd58e204b7.std.4xivr03c-cgu.14.rcgu.o:(_$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h1c78ed6e734a2bfc
(.llvm.10122419023709863394)) in archive
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libstd-9bd70afd58e204b7.rlib
ld: error: relocation R_386_PC32 cannot be used against symbol
__rust_probestack; recompile with -fPIC
>>> defined in
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libcompiler_builtins-6570a75fe85f0e1a.rlib(compiler_builtins-6570a75fe85f0e1a.compiler_builtins.2i519eqi-cgu.15.rcgu.o)
>>> referenced by std.4xivr03c-cgu.14
>>>
std-9bd70afd58e204b7.std.4xivr03c-cgu.14.rcgu.o:(std::io::util::copy::h9115f048f2203467)
in archive
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libstd-9bd70afd58e204b7.rlib
clang-cpp: error: linker command failed with exit code 1 (use -v to
see invocation)
error: aborting due to previous error
http://beefy17.nyi.freebsd.org/data/head-i386-default/p523508_s356869/logs/rust-nightly-1.42.0.20200118.log |
18 Jan 2020 09:56:06
1.40.0 
|
tobik  |
lang/rust: Simplify makesum and MASTER_SITES |
18 Jan 2020 09:49:47
1.40.0 
|
tobik  |
lang/rust-nightly: Update to 1.42.0.20200118 |
13 Jan 2020 18:36:04
1.40.0 
|
tobik  |
lang/rust: Add COMPAT_FREEBSD11 canary
This attempts to provide a nicer error message for the subset of
users who build their own kernels without COMPAT_FREEBSD11 and then
attempt to build lang/rust. The Rust ecosystem currently uses
pre-ino64 syscalls, so building lang/rust without COMPAT_FREEBSD11
is not going to work.
The error message for this is non-obvious and there is a new bug
for this at least every 1-2 months. Hopefully this will improve
the situation a little.
Cargo and Gecko ports are similarly affected, so add the pre-build
check to them too.
Reviewed by: jbeich, mikael.urankar@gmail.com
Tested by: madpilot (negative case)
Approved by: gecko (jbeich)
Differential Revision: https://reviews.freebsd.org/D23100 |
11 Jan 2020 08:35:06
1.40.0 
|
tobik  |
lang/rust: increase build verbosity and produce better build logs |
11 Jan 2020 08:24:17
1.40.0 
|
tobik  |
lang/rust: fix powerpc64 elfv2 bootstrap
Apparently there were some issues with the previous one.
PR: 243253
Submitted by: mikael.urankar@gmail.com
Reported by: jhibbits, pkubaj
Tested by: pkubaj |
07 Jan 2020 07:01:46
1.40.0 
|
tobik  |
lang/rust: Simplify do-configure and garbage collect files/config.toml |
19 Dec 2019 16:14:49
1.40.0 
|
tobik  |
lang/rust: Update to 1.40.0
- Force rebuild all consumers to catch regressions early
Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.
Changes: https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html
Tested by: mikael.urankar@gmail.com, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D22843 |
01 Dec 2019 18:36:53
1.39.0 
|
tobik  |
lang/rust: Respect ONLY_FOR_ARCHS in makesum
lang/rust-nightly does not have powerpc64 in it and unconditionally
running makesum for the powerpc64 ELFv2 bootstraps breaks there.
PR: 242342
Reported by: jbeich |
30 Nov 2019 02:02:30
1.39.0 
|
tobik  |
lang/rust: Remove PPC_ABI kludge after r518658 |
29 Nov 2019 22:12:36
1.39.0 
|
tobik  |
lang/rust, Mk/Uses/cargo.mk: Drop gmake build dependency for backtrace-sys
The backtrace-sys crate no longer needs gmake since 0.1.20.
sysutils/flowgger still uses backtrace-sys-0.1.14. Since it is the
only USES=cargo port left that needs it, move the gmake dependency
directly to it instead.
lang/rust currently has backtrace-sys-0.1.30. It also vendors
jemalloc-sys (which also needs gmake to build) but it is hidden
behind rustc's jemalloc feature which we do not currently activate.
It should be safe to remove gmake in lang/rust too.
PR: 242267
Reported by: mikael.urankar@gmail.com |
19 Nov 2019 09:28:13
1.39.0 
|
tobik  |
lang/rust: Add missing bits for powerpc64 ELFv2 support via PPC_ABI
Submitted by: Mikael Urankar <mikael.urankar@gmail.com>
Differential Revision: https://reviews.freebsd.org/D20792 |
17 Nov 2019 08:30:39
1.39.0 
|
jbeich  |
lang/rust{,-nightly}: switch to .tar.xz bootstraps
Decreases total size by ~325 MiB in lang/rust.
Approved by: tobik (rust)
Differential Revision: https://reviews.freebsd.org/D22422 |
07 Nov 2019 18:07:20
1.39.0 
|
tobik  |
lang/rust: Update to 1.39.0
- Force rebuild all consumers to catch regressions early
- Partially apply D20792 in preparation for PPC_ABI support
- Add LibreSSL 3.0.x support [1]
Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.
Changes: https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html
PR: 241411 [1]
Tested by: mikael.urankar@gmail.com, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D22240 |