-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Link failure (in alloc, readelf) in proc-macro crate, stable regression 1.44.0 -> 1.44.1 #73970
Comments
Removing |
What caused/fixed this? |
I tried your repo on Fedora 32 using upstream 1.44.0 and 1.44.1, and both compiled successfully. |
Maybe related to #73493? |
This looks like an incremental bug perhaps? I don't know that we've found all the cases yet -- I seem to recall a PR by @pnkfelix that suggested that it may have identified the root cause of these? |
We're going to have a release in two weeks, so I'm not sure a point release is worth it anyway. |
I don't think this is incremental, since it happens with |
In a docker container this works just fine, so clearly there's something seriously off with my environment:
Not sure what could possibly cause this, sorry about the noise I thought I was pretty thorough in trying different versions and reinstalling, but clearly there's something else weird. |
This is fixed in 1.45.0-beta.3 and 1.46.0-nightly (f781bab 2020-07-01), but since there's no workaround that I can see, I don't know if this warrants a point release. If not, feel free to close of course.
I reduced one of my dependencies (
psl_codegen
) which broke in 1.44.1 to the following (available at https://github.com/cristicbz/rust-regression-441 as well):Cargo.toml:
src/lib.rs:
With rust 1.44.1 I'm seeing:
Link failure
With rust 1.44.0 this compiles just fine:
Build success
I'm on ubuntu 20.04, with the following gcc and ld versions:
The text was updated successfully, but these errors were encountered: