-
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
rustc fails w/ io_error on F18, i686 #10864
Comments
I'm not sure that the unhandled condition and the assertion error are quite related, but the assertion error is somehow probably related to deflation of metadata hitting an error. When you say that you're using the stage0 snapshots, what do you mean by that? Are the steps to produce this simply to check out the repo and run I think that the |
I'm using the stage0 bootstrap snapshots from the links above. They're stripped of debug info, which makes life a little difficult. I've also tried cross-compiling, but I have a different glibc on my F18 and F19 machines, requiring a bit of path hackery.
Not past what I've been able to produce - stripped info, etc.
The machine I'm trying to run rustc on has a whopping 256MB of RAM, so compiling rust in situ is a bit of a stretch. |
Triage bump. @itdaniher status? |
My creative solution was to abandon trying to run rustc on that platform. If nobody's reproduced in the interim, bug is probably on my end. Closing issue. |
[`unnecessary_lazy_eval`]: don't lint on types with deref impl Fixes rust-lang#10437. This PR changes clippy's util module `eager_or_lazy` to also consider deref expressions whose type has a non-builtin deref impl and not suggest replacing it as that might have observable side effects. A prominent example might be the `lazy_static` macro, which creates a newtype with a `Deref` impl that you need to go through to get access to the inner value. Going from lazy to eager can make a difference there. changelog: [`unnecessary_lazy_eval`]: don't lint on types with non-builtin deref impl
…s,xFrednet consider autoderef through user-defined `Deref` in `eager_or_lazy` Fixes rust-lang#10462 This PR handles autoderef in the `eager_or_lazy` util module and stops suggesting to change lazy to eager if autoderef in an expression goes through user defined `Deref` impls, e.g. ```rs struct S; impl Deref for S { type Target = (); fn deref(&self) -> &Self::Target { &() } } let _ = Some(()).as_ref().unwrap_or_else(|| &S); // autoderef `&S` -> `&()` ``` changelog: [`unnecessary_lazy_evaluations`]: don't suggest changing lazy evaluation to eager if autoderef goes through user-defined `Deref` r? `@xFrednet` (because of the earlier review in rust-lang#10864, might help for context here)
I'm using a stage2 build cross-compiled on a x86_64 F19 machine. I've also tried using the stage0 snapshots at
All fail with the following error:
I jumped ran in gdb using:
and narrowed the error down to:
It's worth noting that the glibc path hack is not necessary for the snapshots, but they do require manually passing the library search flag via rustc -L.
The original error resembles that described at #10754 and potentially addressed in part by #10863.
The text was updated successfully, but these errors were encountered: