Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download a more recent LLVM version if src/version is modified #83350

Merged
merged 1 commit into from
Mar 22, 2021

Commits on Mar 21, 2021

  1. Download a more recent LLVM version if src/version is modified

    When bumping the bootstrap version, the name of the generated LLVM
    shared object file is changed, even though it's the same contents as
    before. If bootstrap tries to use an older version, it will get linking
    errors:
    
    ```
    Building rustdoc for stage1 (x86_64-unknown-linux-gnu)
       Compiling rustdoc-tool v0.0.0 (/home/joshua/rustc/src/tools/rustdoc)
    error: linking with `cc` failed: exit code: 1
      |
      = note: "cc" "-Wl,--as-needed" ... lots of args ...
      = note: /usr/bin/ld: cannot find -lLLVM-12-rust-1.53.0-nightly
              clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
    error: could not compile `rustdoc-tool`
    ```
    jyn514 committed Mar 21, 2021
    Configuration menu
    Copy the full SHA
    4002171 View commit details
    Browse the repository at this point in the history