Changes between Version 6 and Version 7 of rust


Ignore:
Timestamp:
06/29/2020 04:42:35 PM (4 years ago)
Author:
ken@…
Comment:

Update, since 1.42.0 is needed for firefox-78.

Legend:

Unmodified
Added
Removed
Modified
  • rust

    v6 v7  
    55The source needs to be downloaded from [https://static.rust-lang.org/dist/] as rustc-<VERSION>-src.tar.gz : this site is NOT searchable.
    66
    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 ==
    128
    139There 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.
     
    1814}}}
    1915
    20 This is bad, the workaround is to use the shipped llvm, like we have had to do in the past.
     16That is bad.
     17
     18Similarly, 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
     22This should always be reliable, but the build is a lot slower than with system llvm.
    2123
    2224The changes in config.toml to use shipped llvm are:
     
    25272. Remove the [target-...] sections with their pointers to llvm-config.
    2628
    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 
    2929[wiki:Programming Up][[br]]
    3030[wiki:BlfsNotes Top]