Skip to content

CMake build fails with error: inline assembly requires more registers than available #220

@LDong-Arm

Description

@LDong-Arm

Description of defect

The build command

mbed-tools compile -t ARM -m DISCO_L072CZ_LRWAN1

fails with

../../../../mbed-os/connectivity/mbedtls/source/bignum.c:1563:9: error: inline assembly requires more registers than available                                                                                    
        MULADDC_INIT                                                                                                                                                                                              
        ^

Note: This failure happens when compiling Mbed TLS for any STM32L0 targets, with the Arm Compiler and mbed-tools.

Target(s) affected by this defect ?

DISCO_L072CZ_LRWAN1

Toolchain(s) (name and version) displaying this defect ?

Arm Compiler 6.14

What version of Mbed-os are you using (tag or sha) ?

mbed-os-6.9.0

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

mbed-tools: 7.8.0

How is this defect reproduced ?

Run the command in the description above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions