Description
- Type: Bug
- Priority: Major
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.
../mbed/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/system_MBRZA1H.o: In function `InitMemorySubsystem':
system_MBRZA1H.c:(.text.InitMemorySubsystem+0x24): undefined reference to `__v7_all_cache'
collect2.exe: error: ld returned 1 exit status
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.