-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Description
Compilation of an mbed-os-example-tls example fails with the following error:
DEBUG] Output: ./mbed-os/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/api/sleep.c: 7 warnings, 0 errors
Traceback (most recent call last):
File "/home/andama01/Repos/mbed-os-example-tls/benchmark/mbed-os/tools/make.py", line 293, in <module>
ignore=options.ignore
File "/home/andama01/Repos/mbed-os-example-tls/benchmark/mbed-os/tools/build_api.py", line 563, in build_project
res, _ = toolchain.link_program(resources, build_path, name)
File "/home/andama01/Repos/mbed-os-example-tls/benchmark/mbed-os/tools/toolchains/__init__.py", line 624, in link_program
if path.endswith(self.LINKER_EXT)][-1]
IndexError: list index out of range
[mbed] ERROR: "/usr/bin/python" returned error.
Code: 1
Path: "/home/andama01/Repos/mbed-os-example-tls/benchmark"
Command: "/usr/bin/python -u /home/andama01/Repos/mbed-os-example-tls/benchmark/mbed-os/tools/make.py -t uARM -m K64F --source . --build ./BUILD/K64F/UARM -c -v"
Tip: You could retry the last command with "-v" flag for verbose output
I do not know whether the sequence of steps I used to compile the program (see below) is legal, but I would expect mbed-cli to either succeed building or print a suitable error.
Target: K64F
Toolchain: uARM
Tool: mbed-cli v1.7.5
Mbed OS SHA: 273a052 Merge pull request #7691 from 0xc0170/fix_events_style
Steps to reproduce:
- Clone the mbed-os-example-tls repo
- Type the following commands:
cd benchmark
mbed deploy
cd mbed-os
git checkout 273a052
cd -
mbed compile -t uARM -m K64F
[ ] Question
[ ] Enhancement
[X] Bug