Skip to content

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