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

--gc-sections causes undefined symbol errors. #22

Open
tbelaire opened this issue Mar 31, 2016 · 1 comment
Open

--gc-sections causes undefined symbol errors. #22

tbelaire opened this issue Mar 31, 2016 · 1 comment

Comments

@tbelaire
Copy link
Contributor

I've been forced to remove the --gc-sections line, as it removes functions, including _Unwind_Resume, causing errors at link time.
This is only apparent if you've started using something from the stdlib that can panic, as otherwise there are no references to _Unwind_Resume, but for my rot13 branch, I have been unable to build with --gc-sections.

@tbelaire
Copy link
Contributor Author

Ah, this could be because I'm passing fn pointers into the kernel, and not calling things directly so it looks like dead code perhaps?

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