Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » GDB Warnings (Wrong Library or Version Mismatch?)
GDB Warnings (Wrong Library or Version Mismatch?) [message #36381] Fri, 26 June 2009 22:16
DB Mising name is currently offline DB Mising name
Messages: 11
Registered: July 2009
Junior Member
I'm debuging a Remote Application using a cross compiled toolchain.
Whenever I start the debuging I get a bunch of warning in the
arm-angstrom-linux-gnueabi-gdb console window:

--Log--
[New Thread 17294]
Stopped due to shared library event
warning: .dynamic section for "/lib/librt.so.1" is not at the expected
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libstdc++.so.6" is not at the
expected address (wrong library or version mismatch?)
warning: .dynamic section for "/lib/libm.so.6" is not at the expected
address (wrong library or version mismatch?)
warning: .dynamic section for "/lib/libgcc_s.so.1" is not at the expected
address (wrong library or version mismatch?)
warning: .dynamic section for "/lib/libc.so.6" is not at the expected
address (wrong library or version mismatch?)
warning: .dynamic section for "/lib/libpthread.so.0" is not at the
expected address (wrong library or version mismatch?)
Stopped due to shared library event


I'm assuming it's using my hosts "/lib/XXX" folder when it should be using
the cross toolchain lib folder
"/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/lib".

I've tried setting the above path in the "Shared Libraries" tab in the
"Remote Application" debug window. I've also tried copying the boards
"/lib" folder to my hosts computer and setting that folder in "Shared
Libraries". Neither worked.

I read online that some might be using a "set sysroot XXX" command to fix
this but I'm unsure where/how I call this with the debuging? Would anyone
be able to give me a quick pointer. Or are these warning above normal?

Thank You
Previous Topic:No TM monthly meeting on 1-Jul
Next Topic:GDB Warnings (Wrong Library or Version Mismatch?)
Goto Forum:
  


Current Time: Fri Oct 24 11:40:42 GMT 2014

Powered by FUDForum. Page generated in 0.22973 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software