-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Windows segfaults in libstdc++ when MinGW version is too new #5712
Comments
I am having the same problem using the latest mingw (gcc 4.7.2). Here is the segmentation fault.
|
Nominating this for 0.7. |
Also, I'm not certain off the top of my head if that's the correct version of MinGW that Rust needs. However, even if it's not, the installer needs to detect this and abort rather than complete the install. |
You have to downgrade your "libstdc++-6.dll".
|
accepted for production-ready milestone |
Visiting for triage from 2013-07-22 email. One can readily reproduce this (and toggle between working/non-working) by running (It is also not too hard to have two distinct installation of MinGW, and then toggle between then by modifying your
which opens a command window with the I do not yet know if we should/must fail the installation outright if the user has not yet installed the appropriate |
Why is there a requirement for the old libstdc++? Is it an ABI thing that can be fixed in rustc/rustrt or is there a deeper issue? Why do later versions work on Linux? Could we have an option to statically link libstdc++? (GCC provides this with |
Only after deleting the libstdc++ (mingw-get remove libstdc++) and installing libstdc++ for gcc 4.5 (mingw-get install "libstdc++<4.6") rustc was finally able to start. |
Remove `bar` from blacklisted names changelog: Remove `bar` from blacklisted names fixes rust-lang#5225
Rollup of 9 pull requests Successful merges: - rust-lang#5178 (clippy-driver: pass all args to rustc if --rustc is present) - rust-lang#5705 (Downgrade unnested_or_patterns to pedantic) - rust-lang#5709 (Fix ICE in consts::binop) - rust-lang#5710 (typo) - rust-lang#5712 (Remove `bar` from blacklisted names) - rust-lang#5713 (Use lints in Clippy that are enabled in rustc bootstrap) - rust-lang#5716 (Fix typo in wildcard_imports) - rust-lang#5724 (redundant_pattern_matching: avoid non-`const fn` calls in const contexts) - rust-lang#5726 (Fix typo) Failed merges: r? @ghost changelog: rollup
After using the 0.6 installer (with add to PATH checked), and MinGW (with GCC 4.7.2) on Windows 8, attempting to launch
rustc
orrustc.exe
results with the message boxed error:Running under ollydbg, it seems to segfault when doing some stuff with libstdc++. Rust 0.5 worked fine.
The text was updated successfully, but these errors were encountered: