-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Build error occurs by exporting mbed classic sample to GCC (ARM Embedded) toolchain on mbed online compiler #4759
Comments
I assume its RZ_A1H target. who and when was cache.S deleted? |
I don't have the answer to that question @0xc0170 |
CMSIS 5 update? seems to affect all releases >= 5.5.0 |
Thanks Jimmy. @TomoYamanaka For gcc, this function is declared as extern, where was (should be) the definition of this function? What we are missing here as this is local issue, what is your GCC ARM version? |
@0xc0170 |
Thanks @TomoYamanaka . I'll send PR shortly, adding this file back |
Fixes #4759 This was removed during cmsis5 update. Here is original file: https://github.com/ARMmbed/mbed-os/blob/mbed-os-5.4/cmsis/TOOLCHAIN_IAR/TARGET_CORTEX_A/cache.S and https://github.com/ARMmbed/mbed-os/blob/mbed-os-5.4/cmsis/TOOLCHAIN_GCC/TARGET_CORTEX_A/cache.S
Description
Bug
As exporting mbed classic sample(e.g. mbed-blinky) to GCC (ARM Embedded) toolchain on mbed online compiler, the below build error will occurs.
This error occurs by using mbed classic rev.145 or later.
I consider that cause of this error is the lack of
__v7_all_cache
in GCC only.Before rev.144, it's function has been implemented.
But in rev.145, it seems that the substance of it's function does not exist because
cache.S
has been deleted, as a result, the above error occurs.The text was updated successfully, but these errors were encountered: