Changes between Version 6 and Version 7 of rust
- Timestamp:
- 06/29/2020 04:42:35 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rust
v6 v7 5 5 The source needs to be downloaded from [https://static.rust-lang.org/dist/] as rustc-<VERSION>-src.tar.gz : this site is NOT searchable. 6 6 7 For rustc-1.32 we eventually used the shipped llvm because of various problems which were attributed to needing a newer version of (system) LLVM than the current release. Rustc-1.35.0 appears to build, and work, with system LLVM-8.0. If you are using an older version of LLVM, either update to 8.0 *OR* follow the instructions in the 8.4 book for rustc-1.32.0 replacing 1.32.0 with 1.35.0. 8 9 Otherwise, you may find that rustc burns CPU (i.e. hangs) when building firefox-68 (seen on an i3 SandyBridge with BLFS-8.3 (clang 6.0.1). 10 11 == rustc-1.41.1 (only relevant if using firefox newer than the 68-ESR series) == 7 == rustc-1.41.1 and 1.42.0 == 12 8 13 9 There were problems with rustc-1.41.0, one of which involved errors in borrow checking - it should not be used. There was also a problem which can apparently lead to a segmentation fault. These are fixed in 1.41.1, but the fix for one of these (issue 69225) required them to backport an LLVM change to their shipped version. … … 18 14 }}} 19 15 20 This is bad, the workaround is to use the shipped llvm, like we have had to do in the past. 16 That is bad. 17 18 Similarly, rustc-1.42.0 needs to be built with its shipped llvm unless the system version is llvm-10. 19 20 == Building with the shipped llvm == 21 22 This should always be reliable, but the build is a lot slower than with system llvm. 21 23 22 24 The changes in config.toml to use shipped llvm are: … … 25 27 2. Remove the [target-...] sections with their pointers to llvm-config. 26 28 27 ''Please be aware that trying to build e.g. firefox-68.6.0esr with rustc-1.41.1 causes a blank screen and unresponsive machine on the one machine where I have installed 1.41.1''28 29 29 [wiki:Programming Up][[br]] 30 30 [wiki:BlfsNotes Top]