Skip to content

Context switching doesn't pass valgrind on OS X when built with Clang #494

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

Closed
eholk opened this issue Jun 15, 2011 · 2 comments
Closed

Context switching doesn't pass valgrind on OS X when built with Clang #494

eholk opened this issue Jun 15, 2011 · 2 comments
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

Comments

@eholk
Copy link
Contributor

eholk commented Jun 15, 2011

No description provided.

@ghost ghost assigned eholk Jun 15, 2011
@eholk
Copy link
Contributor Author

eholk commented Jun 21, 2011

The problem appears to be due to the tail-call elimination that was being done in Clang but not GCC. I'll fix this for now by disabling optimization on OS X, which we were doing for GCC anyway.

@eholk eholk closed this as completed in edf73f0 Jun 21, 2011
@eholk
Copy link
Contributor Author

eholk commented Jun 21, 2011

Incidentally, the same problem happens when using gcc at -O2.

@eholk eholk removed their assignment Jun 16, 2014
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Added some DragonFly-only ttycom.h constants.

I overlooked some DragonFly-only constants in the last PR.
kazcw pushed a commit to kazcw/rust that referenced this issue Oct 23, 2018
pdietl pushed a commit to pdietl/rust that referenced this issue Apr 23, 2020
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
* Introduce loops, unwinding, and bounds tutorial

* address feedback

* typo
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this issue Jul 10, 2024
Modify build_system's prepare stage to allow for custom sysroot source path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
Projects
None yet
Development

No branches or pull requests

1 participant