Changes between Version 4 and Version 5 of rust


Ignore:
Timestamp:
03/04/2020 10:49:41 PM (4 years ago)
Author:
ken@…
Comment:

Rustc 1.41.1 (can be used for latest firefox) needs to be built with its shipped llvm, not 9.0.1.

Legend:

Unmodified
Added
Removed
Modified
  • rust

    v4 v5  
    99Otherwise, 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).
    1010
     11== rustc-1.41.1 (only relevant if using firefox newer than the 68-ESR series) ==
     12
     13There 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.
     14
     15If you build rustc-1.41.1 with system llvm-9.0.1 the new test will fail:
     16{{{
     17    [ui] ui/issues/issue-69225-SCEVAddExpr-wrap-flag.rs
     18}}}
     19
     20This is bad, the workaround is to use the shipped llvm, like we have had to do in the past.
     21
     22The changes in config.toml to use shipped llvm are:
     23
     241. Comment out link-shared = true
     252. Remove the [target-...] sections with their pointers to llvm-config.
     26
    1127[wiki:Programming Up][[br]]
    1228[wiki:BlfsNotes Top]