Skip to content

Compiler build depends on libstdc++-static #103606

Description

@kubycsolutions

Location

https://github.com/rust-lang/rust#building-on-a-unix-like-system

Summary

The README lists a number of packages which have to be present for ./x.py build to succeed.

In my Win10/WSL/fedoraremix environment, I found I had to also install libstdc++-static before compilation could start. It now seems to be running without errors (though with some warnings in the .cpp files on -Warray-bounds, -Wnonnull, and -Wcast-function-type).

This may be a quirk of how this fedora was adapted to run under WSL. But adding that dependency to the instructions seems worth considering; it shouldn't hurt anything and might help some.

Activity

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

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-metaArea: Issues & PRs about the rust-lang/rust repository itselfT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions