Hi,

I would like to get help from you, because I stumbled upon a  backward 
compatibility issue at linking my code.
The problem is that not all the generated shared objects  are linked to the 
executable despite the fact that the -verbose option says success.
The two distributions are :  "Ubuntu 14.04.1 LTS" and  "Ubuntu 10.04 LTS"

The expected result for LDD is:
               linux-vdso.so.1 =>  (0x00007fff9c1ff000)
               MyExample.so => /home/elszbaj/workspace/hellooo/bin/MyExample.so 
(0x00007f89d6186000)
               PCOType.so => /home/elszbaj/workspace/hellooo/bin/PCOType.so 
(0x00007f89d5f81000)
               libttcn3-parallel-dynamic.so => 
/home/elszbaj/devel/titan/Install/lib/libttcn3-parallel-dynamic.so 
(0x00007f89d5835000)
               libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 
(0x00007f89d5497000)
               libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f89d5145000)
               libpthread.so.0 => /lib/libpthread.so.0 (0x00007f89d4f28000)
               librt.so.1 => /lib/librt.so.1 (0x00007f89d4d20000)
               libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f89d4a0b000)
               libm.so.6 => /lib/libm.so.6 (0x00007f89d4788000)
               libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f89d4571000)
               libc.so.6 => /lib/libc.so.6 (0x00007f89d41ee000)
               libdl.so.2 => /lib/libdl.so.2 (0x00007f89d3fea000)
               libz.so.1 => /lib/libz.so.1 (0x00007f89d3dd3000)
               /lib64/ld-linux-x86-64.so.2 (0x00007f89d6391000)

And this is provided by "Ubuntu 10.04 LTS"

----------
The faulty 14.04  LDD output looks like this:
               linux-vdso.so.1 =>  (0x00007fffa61fe000)
               libttcn3-parallel-dynamic.so => 
/home/elszbaj/devel/titan/Install/lib/libttcn3-parallel-dynamic.so 
(0x00007fa214fa2000)
               libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa214bc3000)
               libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 
(0x00007fa2147e9000)
               libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 
(0x00007fa214483000)
               libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007fa214264000)
               libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007fa213f60000)
               libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa213c5a000)
               libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007fa213a43000)
               /lib64/ld-linux-x86-64.so.2 (0x00007fa2156d0000)
               libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 
(0x00007fa21383f000)
               libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa213626000)
               liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 
(0x00007fa213403000)

The lines in red are missing from the faulty output.

I have attached the log files generated by -verbose (generated by Notepad++).
I have tried to use the linker script of the 10.04 as an external one to 14.04, 
but it has not helped either.

I am looking forward to getting your answer

Best regards

Laszlo Baji
C++ SW developer at Ericsson




Attachment: Ubuntu10_04.log
Description: Ubuntu10_04.log

Attachment: Ubuntu14_04.log
Description: Ubuntu14_04.log

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to