-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
libstd, liballoc_jemalloc fail to build with xargo due to use of deprecated gcc::Config #43973
Comments
I noticed this too. I guess xargo is ignoring Rust's Of course, the crate should be updated anyway, but that might prevent future issues (although it isn't a common issue). |
The |
Oh; in that case, perhaps the Again this isn't a common issue, so it's perhaps not that important; but including |
@ids1024 You may like this: japaric/xargo#166 |
Use gcc::Build rather than deprecated gcc::Config. Fixes rust-lang#43973
use gcc::Build rather than deprecated gcc::Config I did `cargo update -p gcc` to upgrade only this package. Is there further process that should be follwoed when updating a build dependency from crates.io? r? @alexcrichton Fixes #43973
use gcc::Build rather than deprecated gcc::Config I did `cargo update -p gcc` to upgrade only this package. Is there further process that should be follwoed when updating a build dependency from crates.io? r? @alexcrichton Fixes #43973
use gcc::Build rather than deprecated gcc::Config I did `cargo update -p gcc` to upgrade only this package. Is there further process that should be follwoed when updating a build dependency from crates.io? r? @alexcrichton Fixes #43973
Trying to build the latest libstd outside of the rustc build itself (i.e., using xargo and the rust-src component) results in warnings and build failures:
I think what happens is that the lock file in rustc itself makes rustc still use an older version of the gcc crate, but since that crate deprecated
gcc::Config
in a minor release, and since some crates in rustc havedeny(warnings)
, the gcc minor version upgrade breaks the build here. libstd'sCargo.toml
saysgcc = "0.3.50"
, so cargo will happily use 0.3.52 instead.I tried fixing this by using
gcc::Build
rather thangcc::Config
in rustc itself, but then it complains that there is noBuild
ingcc
. Seems like I have to find some way to upgrade the version of the gcc crate that rustc uses?Cc @alexcrichton
The text was updated successfully, but these errors were encountered: