-
Notifications
You must be signed in to change notification settings - Fork 307
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
Fix for win32 build with gcc #130
Conversation
I'm not sure why GCC defines a MSVC-specific macro. https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=vs-2019#microsoft-specific-predefined-macros A simpler fix would be:
because the whole purpose of the asm function is to fix a bug in the MSVC In any case, please run |
When building on Windows, all binaries are linked against the MSVC C runtime library, so if the bug is in the library as your comment indicates, then this is still needed even with gcc. And I'd guess that particular macro was defined by the windows header files, not the compiler. Dunno though, didn't check. Yeah, these are the only builtins
|
64bit randomx-tests ran fine. I need to rebuild the 32bit test... 32bit test failed.
|
|
No looks like you're right. The tests with my assembly patch failed. Just #if'ing it out works though. Then the tests proceed until test 84, compiler hash tests. I presume these are meant to fail since there is no 32bit JIT compiler. |
Then it's OK. There was a bug in the tests. It should skip the compiler hash tests if JIT is not supported. Fixed in 7c405a7 |
Compiling with gcc on win32 is broken. This breaks gitian/depends builds of Monero.