-
Notifications
You must be signed in to change notification settings - Fork 61
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
Building with gcc-arm-none-eabi-10-2020-q4-major fails #9
Comments
Yes, somewhere between gcc-arm-none-eabi-9-2020-q2-update and gcc-arm-none-eabi-10-2020-q4-major the compiler got more aggressive at detecting and replacing memset-like code with calls to its own optimized versions. I'll push up a change with the extra Makefile flag plus a small fix for a new warning after I have a chance to test it. Until then, doing as you suggest (and ignoring the warning) will work. Thanks for reporting this issue. |
compiled with Platformio (default 2017 GCC): |
Here's the error message:
When I added "-fno-builtin" to CC_ARM_FLAGS it worked fine.
The text was updated successfully, but these errors were encountered: