-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link error: Symbol __user_perthread_libspace multiply defined #7422
Comments
ARM Internal Ref: MBOTRIAGE-1075 |
I got same issue for L476RG.... |
I confirmed the error with NUCLEO_F746ZG and only ARM toolchain with 5.9.2 label. [DEBUG] Errors: Error: L6200E: Symbol __user_perthread_libspace multiply defined (by BUILD/tests/NUCLEO_F746ZG/ARM/rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_lib.o and BUILD/tests/NUCLEO_F746ZG/ARM/rtos/TARGET_CORTEX/mbed_boot.o). |
Hi again |
Thanks @jeromecoutant I'll look into it. |
@jeromecoutant RTE is defined for 5.9.2 . is that causing a problem? cc @ARMmbed/mbed-os-core |
I suspect this is the one that is causing a problem #6973. I'll check why rtx lib does not see the no multithreaded macro and why this was not seen in our CI previously |
@theotherjimmy I referenced 7447 but that one is about own profile. This issue is in the online compiler. Can you check that profiles were updated there? RTE symbol defined? (until 5.9.3 contains proper fix for this) |
See #7449 |
We need to backport that patch into 5.9.2 to fix the problem in the online compiler. |
I'm blocked since one week due to this error. |
@mharmouche The PR (#7474) has just been merged and is now on master. Would you mind retesting? |
@toyowata Would you mind confirming that the issue has been fixed? |
Issue not fixed! |
@cmonr I can confirm the newest commit works. Although I couldn't find a way to update the official library to the newest commit (would only let me select release tags). So I resorted to forking it, and pushing my own release tag to make sure it was using the newest. Compiled and ran for me. |
@mecwerks Correct. This is by design with mbed-cli. Whenever I need to test changes that haven't hit a release, I go into the mbed-os directory and do a manual git checkout. |
@mharmouche This is the first time that I've read that you're having an issue. Did you open one elsewhere? |
The master branch contains the fix. The next release 5.9.3 will include it. Meanwhile, to fix this issue - all we need is to have
Tested, works 👍 |
@0xc0170 Thank you very much for your testing.
|
Closing since issue appears resolved. |
I'm getting this error now and adding the RTE macro didn't solve it. |
@diegomhamilton Please open a new issue referencing this issue. We prefer to see new issues come in instead of reviving old ones. |
Description
I got link error below when I build mbed-os-example-blinky project for any target.
[Steps to reproduce]
[Other notes]
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug
The text was updated successfully, but these errors were encountered: