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

Stack not aligned on "main" #291

Closed
espindola opened this issue Mar 26, 2011 · 1 comment
Closed

Stack not aligned on "main" #291

espindola opened this issue Mar 26, 2011 · 1 comment

Comments

@espindola
Copy link

While debugging the crash with optimizations enabled, I noticed that on OS X esp was not 16 byte aligned at the start of _rust_fn3_main.

As a hack to find the remaining problems I added a
rust_sp -= 12;
to rust_task::start, but a more complete accounting of the used stack is needed.

@espindola
Copy link
Author

looks like this was fixed by

graydon@3e7b991

oli-obk pushed a commit to oli-obk/rust that referenced this issue Sep 19, 2017
make xargo/build.sh more cross-platform
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
kazcw pushed a commit to kazcw/rust that referenced this issue Oct 23, 2018
This is lifted from an example elsewhere I found and shows off runtime
dispatching along with a lot of intrinsics being used in a bunch.
Aaron1011 pushed a commit to Aaron1011/rust that referenced this issue Oct 26, 2020
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

1 participant