Skip to content
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

Ublox odin w2 linker warnings with ARMC6 #10719

Closed
teetak01 opened this issue May 31, 2019 · 5 comments
Closed

Ublox odin w2 linker warnings with ARMC6 #10719

teetak01 opened this issue May 31, 2019 · 5 comments

Comments

@teetak01
Copy link
Contributor

teetak01 commented May 31, 2019

Description

Application: https://github.com/armmbed/mbed-cloud-client-example
Compiler: ARMC6
Mbed OS: 5.13.0-RC1
Profile: debug & develop (release does not compile #10718 )

05:20:41 Link: app
05:20:41 [Warning] @0,0: L3912W: Option 'legacyalign' is deprecated.
05:20:41 [Warning] @0,0: L6869W: ./mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(cb_main.o) requested the Rogue Wave Standard C++ Library which has been removed from the product. This might cause link errors because libc++ is used instead.
05:20:41 [Warning] @0,0: L6869W: ./mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(hci_vendor_cmd.o) requested the Rogue Wave Standard C++ Library which has been removed from the product. This might cause link errors because libc++ is used instead.
05:20:41 [Warning] @0,0: L6869W: ./mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(cb_ticker_wrapper.o) requested the Rogue Wave Standard C++ Library which has been removed from the product. This might cause link errors because libc++ is used instead.
05:20:41 [Warning] @0,0: L6439W: Multiply defined Global Symbol ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor>::GenericSecurityManager__sub_object(ble::pal::SecurityManager<ble::pal::vendor::cordio::CordioSecurityManager<ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor>>, ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor>>&, ble::pal::ConnectionEventMonitor<ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor>>&, ble::vendor::cordio::SigningEventMonitor<ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor>>&) defined in .text._ZN3ble7generic22GenericSecurityManagerINS_3pal6vendor6cordio21CordioSecurityManagerENS_6vendor6cordio19SigningEventMonitorEEC2ERNS2_15SecurityManagerINS5_IS9_EES9_EERNS2_22ConnectionEventMonitorIS9_EERNS8_IS9_EE(BUILD/UBLOX_EVK_ODIN_W2/ARMC6/mbed-os/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioImplementations.o) rejected in favor of Symbol defined in .text._ZN3ble7generic22GenericSecurityManagerINS_3pal6vendor6cordio21CordioSecurityManagerENS_6vendor6cordio19SigningEventMonitorEEC2ERNS2_15SecurityManagerINS5_IS9_EES9_EERNS2_22ConnectionEventMonitorIS9_EERNS8_IS9_EE(BUILD/UBLOX_EVK_ODIN_W2/ARMC6/mbed-os/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.o).
05:20:41 [Warning] @0,0: L6439W: Multiply defined Global Symbol ble::interface::SecurityManager<ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor>>::EventHandler::~EventHandler__sub_object() defined in .text._ZN3ble9interface15SecurityManagerINS_7generic22GenericSecurityManagerINS_3pal6vendor6cordio21CordioSecurityManagerENS_6vendor6cordio19SigningEventMonitorEEEE12EventHandlerD2Ev(BUILD/UBLOX_EVK_ODIN_W2/ARMC6/mbed-os/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioImplementations.o) rejected in favor of Symbol defined in .text._ZN3ble9interface15SecurityManagerINS_7generic22GenericSecurityManagerINS_3pal6vendor6cordio21CordioSecurityManagerENS_6vendor6cordio19SigningEventMonitorEEEE12EventHandlerD2Ev(BUILD/UBLOX_EVK_ODIN_W2/ARMC6/mbed-os/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.o).
05:20:41 [Warning] @0,0: L6439W: Multiply defined Global Symbol ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor>::~GenericSecurityManager__sub_object() defined in .text._ZN3ble7generic22GenericSecurityManagerINS_3pal6vendor6cordio21CordioSecurityManagerENS_6vendor6cordio19SigningEventMonitorEED2Ev(BUILD/UBLOX_EVK_ODIN_W2/ARMC6/mbed-os/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioImplementations.o) rejected in favor of Symbol defined in .text._ZN3ble7generic22GenericSecurityManagerINS_3pal6vendor6cordio21CordioSecurityManagerENS_6vendor6cordio19SigningEventMonitorEED2Ev(BUILD/UBLOX_EVK_ODIN_W2/ARMC6/mbed-os/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.o).
05:20:41 [Warning] @0,0: L6439W: Multiply defined Global Symbol ble::interface::GattClient<ble::generic::GenericGattClient<ble::pal::vendor::cordio::CordioGattClient, ble::generic::GenericSecurityManager<ble::pal::vendor::cordio::CordioSecurityManager, ble::vendor::cordio::SigningEventMonitor>>>::~GattClient__sub_object() defined in .text._ZN3ble9interface10GattClientINS_7generic17GenericGattClientINS_3pal6vendor6cordio16CordioGattClientENS2_22GenericSecurityManagerINS6_21CordioSecurityManagerENS_6vendor6cordio19SigningEventMonitorEEEEEED2Ev(BUILD/UBLOX_EVK_ODIN_W2/ARMC6/mbed-os/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioImplementations.o) rejected in favor of Symbol defined in .text._ZN3ble9interface10GattClientINS_7generic17GenericGattClientINS_3pal6vendor6cordio16CordioGattClientENS2_22GenericSecurityManagerINS6_21CordioSecurityManagerENS_6vendor6cordio19SigningEventMonitorEEEEEED2Ev(BUILD/UBLOX_EVK_ODIN_W2/ARMC6/mbed-os/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.o).
05:20:41 [Warning] @0,0: L6439W: Multiply defined Global Symbol rtos::Thread::Thread__sub_object(osPriority_t, unsigned, unsigned char*, const char*) defined in i._ZN4rtos6ThreadC1E12osPriority_tjPhPKc(./mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(cb_ticker_wrapper.o)) rejected in favor of Symbol defined in .text._ZN4rtos6ThreadC2E12osPriority_tjPhPKc(BUILD/UBLOX_EVK_ODIN_W2/ARMC6/mbed-os/components/802.15.4_RF/atmel-rf-driver/source/NanostackRfPhyAtmel.o).

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug
@0xc0170
Copy link
Contributor

0xc0170 commented May 31, 2019

cc @ARMmbed/team-ublox @ARMmbed/mbed-os-pan

@pan-
Copy link
Member

pan- commented May 31, 2019

Looks like libublox-odin-w2-driver.ar hasn't been compiled with ARMC6.

@ciarmcom
Copy link
Member

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-1245

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 3, 2019

Possibly fix for #10718 will address this as well

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 25, 2019

#11370 should have fixed this problem. I'll close this as resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants