Changeset 8307474 for general/prog/rust.xml
- Timestamp:
- 12/04/2021 03:28:15 PM (2 years ago)
- Branches:
- lazarus
- Children:
- e6974d1
- Parents:
- b22e4ceb (diff), edd2feb7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/rust.xml
rb22e4ceb r8307474 7 7 <!ENTITY rust-download-http "https://static.rust-lang.org/dist/rustc-&rust-version;-src.tar.gz"> 8 8 <!ENTITY rust-download-ftp " "> 9 <!ENTITY rust-md5sum " bd6fbe9ba5fe457d2514e92a6ccd7b24">10 <!ENTITY rust-size "1 61MB">9 <!ENTITY rust-md5sum "6d1728cf0a86b0c5f33d3870379997ed"> 10 <!ENTITY rust-size "172 MB"> 11 11 <!-- Gentle Reminder: buildsize is how much the user requires for the real 12 12 install, i.e. the source with its DESTDIR *plus* the DESTDIR. You … … 15 15 after the tests. --> 16 16 17 <!ENTITY rust-buildsize " 9.3 GB (407 MB installed) including 291 MB of ~/.cargo files for the user building this. Add 4.0 GB including extra 179MB of ~/.cargo files if running the tests">18 <!ENTITY rust-time " 31 SBU (add 13 SBU for tests, both on a 4-core machine)">17 <!ENTITY rust-buildsize "8.8 GB (370 MB installed) including 309 MB of ~/.cargo files for the user building this. Add 6.2 GB including extra 273 MB of ~/.cargo files if running the tests"> 18 <!ENTITY rust-time "27 SBU (including download time; add 13 SBU for tests, both on a 4-core machine)"> 19 19 ]> 20 20 … … 83 83 class="directory">/opt</filename> directory. In particular, if you 84 84 have reason to rebuild with a modified configuration (e.g. using the 85 shipped LLVM after building with shared LLVM, or for the 86 reverse situation) it is possible for the install to leave a broken 85 shipped LLVM after building with shared LLVM, perhaps to compile crates 86 for architectres which the BLFS LLVM build does not support) 87 it is possible for the install to leave a broken 87 88 <command>cargo</command> program. In such a situation, either remove 88 89 the existing installation first, or use a different prefix such as … … 207 208 (built with -DLLVM_LINK_LLVM_DYLIB=ON so that rust can link to 208 209 system LLVM instead of building its shipped version) 210 <!-- the versions of LLVM in LFS-10.0, 10.1 and 11.0 are good enough 211 to use for this version of rustc, so do not mention builds 212 using shipped LLVM here, those are a lot bigger. 209 213 If using an older version, see the config.toml file below re 210 using the shipped llvm, because of rust issue 69225. 214 using the shipped llvm, because of rust issue 69225.--> 211 215 </para> 212 216 … … 304 308 </para> 305 309 306 <screen><userinput>export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" && 310 <screen><userinput>sed -i -e '/^curl /s/0.4.38/0.4.40/' \ 311 -e '/^curl-sys /s/0.4.48/0.4.50/' \ 312 src/tools/cargo/Cargo.toml && 313 314 export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" && 307 315 python3 ./x.py build --exclude src/tools/miri</userinput></screen> 308 316 … … 325 333 326 334 <para> 327 At a minimum, seven tests will fail: ui/asm/inline-syntax.rs#arm, 328 assembly/target-feature-multiple.rs#SINGLEFLAG, 329 assembly/target-feature-multiple.rs#TWOFLAGS, 330 run-make-fulldeps/long-linker-command-lines, run-make-fulldeps/split-debuginfo, 331 run-make-fulldeps/split-dwarf, run-make-fulldeps/sysroot-crates-are-unstable. 332 With any recent version of <command>gdb</command>, four more failures 333 (debuginfo/extern-c-fn.rs, debuginfo/generator-objects.rs, 334 debuginfo/issue-57822.rs, debuginfo/pretty-huge-vec.rs) can be expected. 335 At a minimum, fifteen tests will fail: all the tests (twelve) in 336 the <quote>assembly</quote> suite, apparently because warnings are 337 tuened on, 338 run-make-fulldeps/long-linker-command-lines, run-make-fulldeps/print-cfg, 339 run-make-fulldeps/sysroot-crates-are-unstable. 340 If <command>gdb</command> is installed, another failure 341 (debuginfo/function-names.rs) can be expected. 335 342 </para> 336 343 … … 440 447 against the shipped llvm, or do not have clang, but the resulting build will 441 448 be larger and take longer. 449 </para> 450 451 <para> 452 <command>sed -i -e '/^curl /s/0.4.38/0.4.40/' ... </command>: two crates 453 normally downloaded for this release do not correctly initialise 454 <application>curl</application> if using 455 <application>openssl-3.0.0</application>. Upstream has fixed that for a 456 future release, this sed causes the fixed versions to be used. 442 457 </para> 443 458 … … 560 575 <seglistitem> 561 576 <seg> 562 cargo-clippy, cargo-fmt, cargo-miri, cargo, clippy-driver, miri, 563 rls, rust-analyzer, rust-gdb, rust-gdbgui, rust-lldb, rustc, 577 cargo-clippy, cargo-fmt, cargo-miri (optional), cargo, clippy-driver, 578 miri (optional), 579 rls, rust-demangler, rust-gdb, rust-gdbgui, rust-lldb, rustc, 564 580 rustdoc, rustfmt. 565 581 </seg> 566 582 <seg> 567 Many lib*<16-byte-hash>.so libraries. 583 librustc-driver-<16-byte-hash>.so, 584 libstd-<16-byte-hash>.so, and 585 libtest-<16-byte-hash>.so 568 586 </seg> 569 587 <seg> 570 588 ~/.cargo, 571 /opt/rustc/lib/rustlib, 572 /opt/rustc/share/doc/rustc-&rust-version;, and 573 /opt/rustc/share/zsh/site-functions 589 /opt/rustc, symbolic link to 590 /opt/rustc-&rust-version; 574 591 </seg> 575 592 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.