Skip to content

Link problem with Cortex-M33: ld.lld: error: duplicate symbol: __aeabi_memcpyΒ #597

@Laur59

Description

@Laur59

Hello
Building a project for a Discovery U5A9 board with the toolchain based on LLVM 20 is now issuing errors at link time. The project builds fine with LLVM 19 based toolchain.
This is the message when linking with -v option
link_with_LLVM-ET-Arm-20.txt

What is looking strange to me is to see:

>>> defined at memcpy-armv7m.S:107

For comparison this is the results with LLVM 19
link_with_LLVM-ET-Arm-19.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions