[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.tm] GDB Warnings (Wrong Library or Version Mismatch?)

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