4 years, 10 months ago.

After mbed-os update - online compile fails


I just updated mbed-os, after which the online compile fails for NUCLEO_F746ZG:

include the mbed library with this snippet

Error: Symbol __user_perthread_libspace multiply defined (by /build/mbed-os.lib/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_lib.NUCLEO_F746ZG.o and /build/mbed-os.lib/rtos/TARGET_CORTEX/mbed_boot.NUCLEO_F746ZG.o).

It could be the broken version is 5.9.2. I use NUCLEO_F746ZG and can't test on different platforms at the moment.

It appears the new version of mbed-os is broken. I reverted to mbed-os 5.9.1, after which I can compile again.

Kind regards, Jack.

2 Answers

4 years, 10 months ago.

Hello Jack,

There is a github issue that has been raised:


If you are using the online compiler:

Under the Compile button, navigate to Compile Macros and add _RTE_ in the text box. Then try recompiling.

Hope this helps!

-Karen, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!

Accepted Answer
4 years, 10 months ago.

Hi Jack,

Thanks for raising this, we'll investigate as soon as possible.


Thanks Joe, it works with 5.9.3.

posted by Jack Berkhout 23 Jul 2018