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

[WiiU] Toolchain: Actually fix C++ constructors/destructors (oops!) #5851

Merged
merged 1 commit into from Dec 3, 2017

Conversation

ashquarky
Copy link
Contributor

@ashquarky ashquarky commented Dec 3, 2017

I didn't quite get this right the first time. I've thoroughly tested these new patches against a core that actually needs constructors to function (ControllerPatcher didn't, apparently) so I know it works. Fixes this problem.

Also; I've noticed that calling __fini from the RPX build causes elf2rpl to error out. It doesn't do this if I change __fini to not use __DTOR_END__; so that's almost certainly the cause. Since it links just fine; I'll submit a bug report to the creators in the hope we can get destructors working on RPX. (EDIT: issue is devkitPro/wut#60)

Thanks again,
Ash

Looks like I temporarily forgot how external symbols work. Fixes
https://gbatemp.net/posts/7720955; hopefully we finally have C++ under
control.
@inactive123 inactive123 merged commit 8082dfe into libretro:master Dec 3, 2017
@inactive123
Copy link
Contributor

Thanks for your contributions @QuarkTheAwesome. It's much appreciated.

@ashquarky ashquarky deleted the wiiu-toolchain-patch1 branch December 3, 2017 08:11
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.

None yet

2 participants