This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Version mismatch libpthread/libthread_db


> I just want to have a look at the sources
> you are using, and see if I can help you.
>   

Thank you!

> The only hint I can give is that you must ensure the target has all
> the new glibc libraries

Checked that multiple times...

> and that gdbserver is invoked using the new
> target libraries e.g. /path/to/new/ld.so.1
>   

Here I have a knowledge gap; how can I ensure/check this? Are there
corresponding configuration switches I should make sure having set?

> You must also ensure that the host cross-gdb has a copy of all the
> libraries and is using them during debugging, use info shared to
> verify that.
>
> If you also get an error like:
> ~~~
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code.
> ~~~
>
> Then you are suffering from this problem e.g. host cross-gdb sees
> different libraries from target.
>   

Thanks a lot for this hint; I'll try that on next occassion (may be a
couple of days from now on, as another, more urgent project has
interrupted my cross-toolchain musings...).

Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]