Skip to content

Build error occurs by exporting mbed classic sample to GCC (ARM Embedded) toolchain on mbed online compiler #4759

@TomoYamanaka

Description

@TomoYamanaka

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions