Skip to content

Nightly broken on older libstdc++ #57426

Closed

Description

@jrobsonchase

As of nightly-2019-01-07, rustc fails on platforms with older libstdc++, i.e. CentOS 6.

error: couldn't load codegen backend "/home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so": "/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14\' not found (required by /home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/../lib/libLLVM-8svn.so)"
$ ldd /home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
/home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/../lib/libLLVM-8svn.so)
/home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/../lib/libLLVM-8svn.so)
/home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.17' not found (required by /home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/../lib/libLLVM-8svn.so)
/home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/../lib/libLLVM-8svn.so)
/home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/../lib/libLLVM-8svn.so)
/home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by /home/rust/.rustup/toolchains/nightly-2019-01-07-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/../lib/libLLVM-8svn.so)
...

nightly-2019-01-06 and earlier do not exhibit this behavior.

Activity

  1. added a commit that references this issue on Jan 7, 2019
    444bc74
  2. alexcrichton commented on Jan 7, 2019

    @alexcrichton
    Member

    Oops I think this was my fault! I've attempted to fix this in #57429

  3. added a commit that references this issue on Jan 7, 2019
    94b991d
  4. added 2 commits that reference this issue on Jan 8, 2019
    d585553
    4f49c8f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions