Skip to content

rustc: Always include the morestack library #15126

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
wants to merge 1 commit into from

Conversation

alexcrichton
Copy link
Member

It was previously assumed that the object file generated by LLVM would always
require the __morestack function, but that assumption appears to be incorrect,
as outlined in #15108. This commit forcibly tells the linker to include the
entire archive, regardless of whether it's currently necessary or not.

Closes #15108

It was previously assumed that the object file generated by LLVM would always
require the __morestack function, but that assumption appears to be incorrect,
as outlined in rust-lang#15108. This commit forcibly tells the linker to include the
entire archive, regardless of whether it's currently necessary or not.

Closes rust-lang#15108
@alexcrichton alexcrichton deleted the issue-15108 branch June 25, 2014 04:17
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 17, 2023
Upgrade to indexmap v2

No code changes required.
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

Successfully merging this pull request may close these issues.

'undefined reference to __morestack' when compiling with -O
2 participants