-
Notifications
You must be signed in to change notification settings - Fork 7
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
TTMath broken on Windows: GCC ASM stack corruption, VCC refuses inline ASM, string conversion #14
Comments
A simple fix would be to deactivate ASM on Windows. In any case we target mobile and restricted devices (ARM and MIPS) and no ASM is available for those. when defined(windows):
{.passC: "-DTTMATH_NOASM".} |
mratsim
changed the title
TTMath broken on Windows: GCC ASM stack corruption, VCC refuses ASM
TTMath broken on Windows: GCC ASM stack corruption, VCC refuses inline ASM, string conversion
Apr 3, 2018
Adding to the list of complaints: string conversion doesn't work on Windows: https://ci.appveyor.com/project/jarradh/nim-ttmath/build/22/job/yjwudram3m15we4f#L1378
|
Fixed by @coffeepots 38b1ca4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From @coffeepots
VCC doesn't support inline asm: https://www.ttmath.org/forum/how_to_compile_with_visual_studio_2010_64-bit
GCC 6.3 on windows has a stack corruption issue:
Before #11 it was this:
After it is now this:
2418-2419 corresponds to the Rcr2_one call in the following part
The text was updated successfully, but these errors were encountered: