Ryan Mansfield(deleted)
|
Re: 6.6: Dynamic link question
|
Ryan Mansfield(deleted)
03/13/2014 8:19 AM
post109397
|
Re: 6.6: Dynamic link question
No, the dynamic linker shouldn't be removing _49. It means QT was built against a different version than the icu that
ships with QNX 6.6. Specifically it means that icu was configured with api versioning.
Regards,
Ryan Mansfield
Sent from my BlackBerry 10 smartphone on the Rogers network.
Original Message
From: Dennis Kellly
Sent: Thursday, March 13, 2014 8:14 AM
To: general-toolchain
Reply To: general-toolchain@community.qnx.com
Subject: 6.6: Dynamic link question
I am having runtime problems with a set of (pre-release) Qt5 libraries provided by QNX. Specifically, the involves
runtime resolving symbols in the 6.6 SDP "icu" libraries. (No problems building the binary.)
Library usr/lib/libicuuc.so.49 contains a function "u_strToLower"
C:\QNX660\target\qnx6\armle-v7>ntoarmv7-objdump -x usr\lib\libicuuc.so.49 | grep u_strToLower
0009d9e0 g F .text 00000094 u_strToLower
When I run any Qt5 binary which I compile using 6.6 toolchain I get an unresolved message:
/inputck
unknown symbol: u_strToLower_49 referenced from libQt5Core.so.5
unknown symbol: u_strToUpper_49 referenced from libQt5Core.so.5
ldd:FATAL: Could not resolve all symbols
DL_DEBUG=1 runtime output includes these lines:
debug: searchpath:1695:/usr/lib/libicuuc.so.49: success
libs: /usr/lib/libicuuc.so.49: found; real path:/usr/lib/libicuuc.so.49
libs: load_elf: Shared library base: 0x7a410000
libs: load_elf: libicuuc.so.49 relro segment is now lazy mapping; 7a4f1000-7a4fa000
libs: load_elf: loaded lib at addr 7a410000(text) 7a4f1770(data)
libs: object libicuuc.so.49 loaded; real soname: libicuuc.so.49 loaded from: /usr/lib/libicuuc.so.49
debug: Added libicuuc.so.49 to link map
What is the deal with the unresolved name "u_strToLower_49" ? Sounds like the "_49" should have been removed by the
runtime linker/loader.
Thanks for any input.
_______________________________________________
General
http://community.qnx.com/sf/go/post109396
To cancel your subscription to this discussion, please e-mail general-toolchain-unsubscribe@community.qnx.com
|
|
|