-
-
Notifications
You must be signed in to change notification settings - Fork 632
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
Error while compiling: error: r7 cannot be used in asm here #2387
Comments
https://tls.mbed.org/kb/development/arm-thumb-error-r7-cannot-be-used-in-asm-here If site ever goes down:
|
I tried that before but I added the flag in the wrong place. |
@bramvdbogaerde so what exactly did you change? Something in the PolarSSL cmakelist? |
I added the following line in "SetFlags.cmake" in the macro "set_flags": |
I'll need someone more Linux-educated. @worktycho ? |
The only reason it is turned off by default is that it can reduce the debug experience. I'd suggest wrapping in a flag to only be added on ARM in debug mode. |
Sounds reasonable. |
Fix compilation on ARMv7. Fixes #2387.
Full log:
Platform: armv7l
OS: Ubuntu 14.10
The text was updated successfully, but these errors were encountered: