-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Description
Mbed Cloud Client example has stopped linking with Mbed OS 5.9.2, both with ARM CC v5.06 update 6 and ARM CC v6.10.
mbed compile -m K64F -t ARM --profile=profiles/debug_size.json
Issue request type
[ ] Question
[ ] Enhancement
[x] Bug
You can verify this with publicy available mbed-cloud-client-example.
Any target will do, all of the Client team supported targets fail.
Example log below.
11:45:59 Product: ARM Compiler 5.06
11:45:59 Component: ARM Compiler 5.06 update 3 (build 300)
11:45:59 + COMPILER=ARM
...
11:47:48 [mbed] Adding library "mbed-os" from "ssh://[email protected]/ARMmbed/mbed-os.git" at rev #62f8b922b420
...
11:49:08 Link: app_application
11:49:15 "/tmp/RJ1d4g", line 124 (column 3): Warning: L6312W: Empty Execution region description for region RW_IRAM1
11:49:15 Error: L6200E: Symbol __user_perthread_libspace multiply defined (by BUILD/K64F/ARM/mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_lib.o and BUILD/K64F/ARM/mbed-os/rtos/TARGET_CORTEX/mbed_boot.o).
11:49:15 Not enough information to list the image map.
11:49:15 Finished: 1 information, 1 warning and 1 error messages.
11:49:15 [ERROR] "/tmp/RJ1d4g", line 124 (column 3): Warning: L6312W: Empty Execution region description for region RW_IRAM1
11:49:15 Error: L6200E: Symbol __user_perthread_libspace multiply defined (by BUILD/K64F/ARM/mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_lib.o and BUILD/K64F/ARM/mbed-os/rtos/TARGET_CORTEX/mbed_boot.o).
11:49:15 Not enough information to list the image map.
11:49:15 Finished: 1 information, 1 warning and 1 error messages.
11:49:15
11:49:15 [mbed] ERROR: "/usr/bin/python" returned error code 1.
11:49:15 [mbed] ERROR: Command "/usr/bin/python -u /builds/ws/cloud-client-example-multistack/38b909a9/app/mbed-os/tools/make.py -t ARM -m K64F --profile profiles/debug_size.json --source . --build ./BUILD/K64F/ARM -DRESET_STORAGE -DRESET_FIRMWARE" in "/builds/ws/cloud-client-example-multistack/38b909a9/app"
11:49:15 ---
11:49:15 Build step 'Execute shell' marked build as failure
and same for ARMC 6.
12:21:47 + armclang --version
12:21:55 Product: ARM Compiler 6.10 Professional
12:21:55 Component: ARM Compiler 6.10
12:21:55 + COMPILER=ARMC6
...
12:25:08 |- mbed-os (#62f8b922b420, tags: latest, mbed-os-5.9.2)
...
12:28:45 Warning: L6439W: Multiply defined Global Symbol SingletonPtr<rtos::Mutex>::get() defined in invalid_group(FlashIAP.o) rejected in favor of Symbol defined in .text._ZN12SingletonPtrIN4rtos5MutexEE3getEv(nsapi_dns.o).
12:28:45 Warning: L6439W: Multiply defined Global Symbol mbed::Callback<void(int)>::call(int) const defined in invalid_group(SimpleSpirit1.o) rejected in favor of Symbol defined in .text._ZNK4mbed8CallbackIFviEE4callEi(SerialBase.o).
12:28:45 Warning: L6439W: Multiply defined Global Symbol SimpleSpirit1::disable_spirit_irq() defined in invalid_group(SimpleSpirit1.o) rejected in favor of Symbol defined in .text._ZN13SimpleSpirit118disable_spirit_irqEv(radio_spi.o).
12:28:45 Warning: L6439W: Multiply defined Global Symbol mbed::DirHandle::readdir()::ent defined in invalid_group(Dir.o) rejected in favor of Symbol defined in .bss._ZZN4mbed9DirHandle7readdirEvE3ent(FileSystem.o).
12:28:45 Warning: L6439W: Multiply defined Global Symbol SimpleSpirit1::enable_spirit_irq() defined in invalid_group(SimpleSpirit1.o) rejected in favor of Symbol defined in .text._ZN13SimpleSpirit117enable_spirit_irqEv(radio_spi.o).
12:28:45 Warning: L6439W: Multiply defined Global Symbol SingletonPtr<mbed::Timeout>::get() defined in invalid_group(utest_shim.o) rejected in favor of Symbol defined in .text._ZN12SingletonPtrIN4mbed7TimeoutEE3getEv(arm_hal_timer.o).
12:28:45 Warning: L6439W: Multiply defined Global Symbol mbed::Callback<void()>::call() const defined in invalid_group(ATParser.o) rejected in favor of Symbol defined in .text._ZNK4mbed8CallbackIFvvEE4callEv(SerialBase.o).
12:28:45 Error: L6200E: Symbol __user_perthread_libspace multiply defined (by rtx_lib.o and mbed_boot.o).
12:28:45 Not enough information to list the image map.
12:28:45 Finished: 1 information, 19 warning and 1 error messages.
12:28:45 [ERROR] Warning: L3912W: Option 'legacyalign' is deprecated.
12:28:45 Warning: L3912W: Option 'no_strict_wchar_size' is deprecated.
12:28:45 Warning: L3912W: Option 'no_strict_enum_size' is deprecated.
12:28:45 "/tmp/pjdwet", line 35 (column 3): Warning: L6312W: Empty Execution region description for region RW_IRAM1
Might be 1st error is the real root cause?
11:49:15 Error: L6200E: Symbol __user_perthread_libspace multiply defined (by BUILD/K64F/ARM/mbed-os/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_lib.o and BUILD/K64F/ARM/mbed-os/rtos/TARGET_CORTEX/mbed_boot.o).
NOTE! Requires using the debug_size -profile.