Skip to content
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

missing libgcc_s_dw2-1.dll message after install in win7 (rust-4) #3655

Closed
wirepair opened this issue Oct 4, 2012 · 5 comments
Closed

missing libgcc_s_dw2-1.dll message after install in win7 (rust-4) #3655

wirepair opened this issue Oct 4, 2012 · 5 comments

Comments

@wirepair
Copy link

wirepair commented Oct 4, 2012

Saw this: https://mail.mozilla.org/pipermail/rust-dev/2012-October/002397.html
downloaded exe, ran install in windows 7 (running 64 bit) opened my default command prompt, ran 'rustc' got "The program can't start because libgcc_s_dw2-1.dll is missing from your computer.

@Blei
Copy link
Contributor

Blei commented Oct 4, 2012

Quote from https://mail.mozilla.org/pipermail/rust-dev/2012-October/002400.html:

On 10/03/2012 06:16 PM, Adam wrote:
> I'm on Windows 8 64-bit RTM as well, however when I run rustc I get a
> prompted that "libgcc_s_dw2-1.dll is missing from your computer".

This sounds like a symptom of not running from the MinGW shell (an 
unfortunate limitation in our Windows build). There are some 
instructions for getting MinGW setup on the wiki.

* https://github.com/mozilla/rust/issues/1603
* https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust

@adamjgray
Copy link

So it won't work with MinGW64 either will it?

@graydon
Copy link
Contributor

graydon commented Oct 4, 2012

No, we only support 32-bit windows targets at the moment. This is not a long-term limitation, just a matter of ports we've done vs. not-yet-done; 64bit works on linux and osx presently.

@graydon
Copy link
Contributor

graydon commented Oct 4, 2012

Also this is pretty much just a dupe of #2871 (we've had lots of people hit it). It's not going to be solved this release, sadly. Closing as duplicate.

@abhididdigi
Copy link

All you have to do is copy that particular .dll from the bin folder of MinGW. I'm on windows 64 bit and it works just fine.

bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
Without this case, an ErrorKind::LicenseCheck results in a panic:

    thread 'main' panicked at 'internal error: entered unreachable code', src/tools/rustfmt/src/formatting.rs:320:18

N.B.: errors of this type are only raised when the configuration file
contains `license_tempate_path = "TEMPLATE_FILE"`.
RalfJung pushed a commit to RalfJung/rust that referenced this issue Jun 9, 2024
portable-simd: add test for non-power-of-2 bitmask

`@calebzulawski` is that the intended behavior? Specifically for arrays, the bitmask `[1, 0, 0, 1, 0, 0, 1, 0, 1, 0]` becomes
- `[0b01001001, 0b01]` on little endian
- `[0b10010010, 0b10]` on big endian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants