-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
32bit debug builds panic (misaligned pointer dereference:) #1001
Comments
Just to be sure I'm not missing something: you build a 64 bits executable and run it on a 32 bits target? |
sorry, I put the wrong command into this issue - I am building a 32bit executable ( |
I'm sorry but I can't work on a fix here since I don't have the tools to check that. If you want it to be fixed, you'll need to fix it yourself. A patch is very welcome of course. |
Unfortunately I don't even know where the error message is from - is this a rustc "feature"? |
The error is emitted by the compiler because apparently, a pointer address is apparently is invalid, meaning it cannot be dereferenced. That's what I understood from what you pasted. |
Well something complains about the alignment of the address, but why would it demand that the pointer is 8 byte aligned? Especially on x86, which should be rather forgiving when it comes to alignment. |
I think we are hitting rust-lang/rust#112480 |
Should be fixed by rust-lang/rust#112684. Closing then since it's not a |
Fingers crossed for rustc 1.71 then, I guess |
Describe the bug
To Reproduce
cargo run --target i686-pc-windows-msvc
Callstack
The text was updated successfully, but these errors were encountered: