non port: lang/rust/files/patch-src_bootstrap_native.rs |
Number of commits found: 17 |
Friday, 9 Jun 2023
|
11:38 Mikael Urankar (mikael)
lang/rust: Update to 1.70.0
Announce: https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.70.0
PR: 271797
Tested by: mikael,pkubaj
6b97895 |
Sunday, 1 May 2022
|
16:39 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
e57dfbf |
Sunday, 5 Dec 2021
|
12:35 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
237b36f |
Monday, 29 Mar 2021
|
18:07 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
 |
Tuesday, 13 Oct 2020
|
08:36 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
 |
Sunday, 30 Aug 2020
|
18:36 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
 |
Wednesday, 5 Aug 2020
|
14:46 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
 |
Monday, 3 Aug 2020
|
15:18 tobik
lang/rust: Update to 1.45.2
Changes: https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html
 |
Thursday, 30 Jul 2020
|
18:26 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
 |
Friday, 17 Jul 2020
|
06:44 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
 |
Thursday, 12 Mar 2020
|
19:39 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
 |
Sunday, 1 Mar 2020
|
11:09 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++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:23 (message):
llvm-config failed with status No such file or directory
-- Configuring incomplete, errors occurred!
There seems to be some kind of race when using llvm-config-wrapper,
but at the point where LLD is built, both llvm-config and
llvm-config-wrapper should definitely be available. Both are built
successfully much earlier in the build. Attempt to improve reliability
by not using the wrapper. It is a hack in the first place that is
only really needed on Windows.
This is a shot in the dark. I am unable to reproduce this myself.
[0]
http://beefy18.nyi.freebsd.org/data/head-amd64-default/p527397_s358451/logs/errors/rust-1.41.1.log
[1]
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p527486_s358478/logs/errors/rust-1.41.1.log
[2]
http://beefy18.nyi.freebsd.org/data/head-amd64-default/p527397_s358451/logs/rust-nightly-1.43.0.20200228.log
[3]
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p527313_s358414/logs/rust-1.41.1.log
 |
Thursday, 7 Nov 2019
|
18:07 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
 |
Wednesday, 29 May 2019
|
08:12 tobik
lang/rust*: Add link to upstream issue for the LLVM STAGEDIR bug
 |
Friday, 24 May 2019
|
03:25 tobik
lang/rust: Update to 1.35.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/05/23/Rust-1.35.0.html
Reviewed by: jbeich
Tested by: pkubaj (powerpc64), mikael.urankar@gmail.com (aarch64)
With hat: rust
Differential Revision: https://reviews.freebsd.org/D20332
 |
Thursday, 11 Apr 2019
|
19:39 tobik
lang/rust: Update to 1.34.0
- Update devel/racer to latest version that can build with 1.34.0
- Drop no longer needed patch from textproc/ripgrep
- 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/04/11/Rust-1.34.0.html
Reviewed by: jbeich
With hat: rust
Differential Revision: https://reviews.freebsd.org/D19850
 |
Monday, 18 Feb 2019
|
15:30 tobik
lang/rust: Add aarch64, armv{6,7}, and powerpc64 bootstraps
PR: 216143, 228892
Submitted by: Mikael Urankar <mikael.urankar@gmail.com>
Differential Revision: https://reviews.freebsd.org/D18367
 |
Number of commits found: 17 |