Skip to content

Nightly: K82F doesn't compile greentea tests for baremetal  #13186

Closed
@MarceloSalazar

Description

@MarceloSalazar

Description of defect

K82F targets fails to compile greentea tests for baremetal in Mbed OS 6

        /usr/local/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: BUILD/tests/K82F/GCC_ARM/features/storage/kvstore/conf/kv_config.o: in function `SPIFBlockDevice::~SPIFBlockDevice()':
        /builds/ws/mbed-os-ci_build-GCC_ARM-nightly@6/mbed-os/./components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h:128: undefined reference to `SPIFBlockDevice::deinit()'
        /usr/local/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /builds/ws/mbed-os-ci_build-GCC_ARM-nightly@6/mbed-os/./components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h:129: undefined reference to `vtable for SPIFBlockDevice'
        /usr/local/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: BUILD/tests/K82F/GCC_ARM/features/storage/system_storage/SystemStorage.o: in function `mbed::BlockDevice::get_default_instance()':
        /builds/ws/mbed-os-ci_build-GCC_ARM-nightly@6/mbed-os/./features/storage/system_storage/SystemStorage.cpp:68: undefined reference to `SPIFBlockDevice::SPIFBlockDevice(PinName, PinName, PinName, PinName, int)'
        collect2: error: ld returned 1 exit status

Target(s) affected by this defect ?

  • K82F

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

Arm Compiler 6 and GCC 9

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

mbed-os-6.0.0

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

Mbed CLI 1.10.4

How is this defect reproduced ?

git clone https://github.com/ARMmbed/mbed-os
mbed deploy
mbed test -t GCC_ARM -m K82F --compile --app-config mbed-os/TESTS/configs/baremetal.json -c

@jamesbeyond @ARMmbed/team-nxp

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