Skip to content

mbed-os-example-mesh-minimal build fails with KW41Z and GCC_ARM #13062

Closed
@artokin

Description

@artokin

Description of defect

mbed-os-example-mesh-minimal fails to build against Mbed OS master when using command:

mbed compile -t GCC_ARM -m KW41Z --app-config ./configs/mesh_6lowpan.json

The build produces error:

Link: mbed-os-example-mesh-minimal
BUILD/KW41Z/GCC_ARM/mbed-os/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/fsl_common.o: In function `InstallIRQHandler':
/home/arto/github/mbed-os-example-mesh-minimal/./mbed-os/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/fsl_common.c:63: undefined reference to `__Vectors'
collect2: error: ld returned 1 exit status
[ERROR] BUILD/KW41Z/GCC_ARM/mbed-os/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/fsl_common.o: In function `InstallIRQHandler':
/home/arto/github/mbed-os-example-mesh-minimal/./mbed-os/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/fsl_common.c:63: undefined reference to `__Vectors'
collect2: error: ld returned 1 exit status

The application builds successfully with ARM toolchain.

Target(s) affected by this defect ?

KW41Z

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

GCC_ARM

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

165be79

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

How is this defect reproduced ?

  • git clone git@github.com:ARMmbed/mbed-os-example-mesh-minimal.git
  • cd mbed-os-example-mesh-minimal
  • mbed deploy
  • cd mbed-os
  • git checkout master
  • cd ..
  • mbed compile -t GCC_ARM -m KW41Z --app-config ./configs/mesh_6lowpan.json

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