zhou qiang
2013-11-05 14:38:36 UTC
Hi guys ,
I encountered a very strange issue while cross compiling library ICU and
application with linaro arm toolchian generated from Buildroot .
Application works fine without linking ICU , but failed to run and exit
immediately with nothing output in console . I tried to debug with
LD_DEBUG=files ./application
LD_DEBUG=files ./application
347: file=libz.so.1 [0]; needed by ./appliation [0]
347: file=libz.so.1 [0]; generating link map
347: dynamic: 0xb5da7d78 base: 0xb5d93000 size: 0x00014f98
347: entry: 0xb5d94838 phdr: 0xb5d93034 phnum: 6
347:
347:
347: file=libdl.so.2 [0]; needed by ./application [0]
347: file=libdl.so.2 [0]; generating link map
347: dynamic: 0xb5d90ef8 base: 0xb5d87000 size: 0x0000a0b0
347: entry: 0xb5d8793c phdr: 0xb5d87034 phnum: 8
347:
347:
347: file=libicudata.so.48 [0]; needed by ./application [0]
It seems that application found libicudata.so smoothly , but failed to
generate link map .
ICU library used to work fine on another platform compiling with codesocery
toolchain .
For new project , I downloaded a buildroot-201306 and added linaro-201205
toolchain .
I am wondering is this issue related with linaro toolchain or some bug of
library ICU .
If anyone has faced same situation , please give me some suggestion .
Any advice would be great appreciated as well .
Kindly Regards ,
I encountered a very strange issue while cross compiling library ICU and
application with linaro arm toolchian generated from Buildroot .
Application works fine without linking ICU , but failed to run and exit
immediately with nothing output in console . I tried to debug with
LD_DEBUG=files ./application
LD_DEBUG=files ./application
347: file=libz.so.1 [0]; needed by ./appliation [0]
347: file=libz.so.1 [0]; generating link map
347: dynamic: 0xb5da7d78 base: 0xb5d93000 size: 0x00014f98
347: entry: 0xb5d94838 phdr: 0xb5d93034 phnum: 6
347:
347:
347: file=libdl.so.2 [0]; needed by ./application [0]
347: file=libdl.so.2 [0]; generating link map
347: dynamic: 0xb5d90ef8 base: 0xb5d87000 size: 0x0000a0b0
347: entry: 0xb5d8793c phdr: 0xb5d87034 phnum: 8
347:
347:
347: file=libicudata.so.48 [0]; needed by ./application [0]
It seems that application found libicudata.so smoothly , but failed to
generate link map .
ICU library used to work fine on another platform compiling with codesocery
toolchain .
For new project , I downloaded a buildroot-201306 and added linaro-201205
toolchain .
I am wondering is this issue related with linaro toolchain or some bug of
library ICU .
If anyone has faced same situation , please give me some suggestion .
Any advice would be great appreciated as well .
Kindly Regards ,